easyidp.data.downloader.download_dataset¶
- easyidp.data.downloader.download_dataset(dataset, mirror='auto', force=False, progress=True)¶
Download and extract a dataset.
- Parameters:
dataset (Dataset) – Dataset instance with mirrors and archive metadata.
mirror (str, optional) – Mirror name or
"auto"to pick the first available mirror.force (bool, optional) – Re-download even when the dataset is already ready.
progress (bool, optional) – Show a progress bar during download.
- Returns:
JSON-friendly result with keys
name,root,archive,downloaded,extracted,ready.- Return type:
dict