downloader

downloader#

get_weights_path_from_url(url, md5sum=None)[源代码]#

Get weights path from WEIGHT_HOME, if not exists, download it from url. :param url: download url :type url: str :param md5sum: md5 sum of download package :type md5sum: str

返回:

a local path to save downloaded weights.

返回类型:

str

示例