fetch_remote#
- mlquantify.datasets.fetch_remote(url, dest, download_if_missing=True, n_retries=3, delay=1.0, progress=None)[source]#
urllib download with local cache + retries (like sklearn). Retries once unverified on TLS errors.
Pass
progress(acallable(downloaded, total, url)) to report byte-level progress for this download; whenNonethe global hook set viaset_progress_hookis used, if any. Seeset_progress_hook.