Project-MONAI / model-zoo

MONAI Model Zoo that hosts models in the MONAI Bundle format.
Apache License 2.0
174 stars 65 forks source link

`NotImplementedError` in `download` #505

Closed KumoLiu closed 10 months ago

KumoLiu commented 10 months ago
+ python /home/runner/work/model-zoo/model-zoo/ci/download_latest_bundle.py --b renalStructures_UNEST_segmentation --models_path /home/runner/work/model-zoo/model-zoo/models --p download
2023-09-17 05:11:10,618 - INFO - --- input summary of monai.bundle.scripts.download ---
2023-09-17 05:11:10,618 - INFO - > name: 'renalStructures_UNEST_segmentation'
2023-09-17 05:11:10,618 - INFO - > version: '0.2.2'
2023-09-17 05:11:10,618 - INFO - > bundle_dir: 'download'
2023-09-17 05:11:10,618 - INFO - > source: 'monaihosting'
2023-09-17 05:11:10,618 - INFO - > remove_prefix: 'monai_'
Traceback (most recent call last):
  File "/home/runner/work/model-zoo/model-zoo/ci/download_latest_bundle.py", line 36, in <module>
    download_latest_bundle(bundle_name, models_path, download_path)
2023-09-17 05:11:10,618 - INFO - > progress: True
  File "/home/runner/work/model-zoo/model-zoo/ci/download_latest_bundle.py", line 24, in download_latest_bundle
    download(name=bundle_name, source="monaihosting", version=version, bundle_dir=download_path)
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/monai/bundle/scripts.py", line 336, in download
    raise NotImplementedError(
NotImplementedError: Currently only download from `url`, source 'github' or 'ngc' are implemented, got source: monaihosting.
2023-09-17 05:11:10,618 - INFO - ---