downloader#

get_weights_path_from_url(url, md5sum=None)[source]#

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

Returns:

a local path to save downloaded weights.

Return type:

str

Examples