Closed
Description
Hi, I'm trying to download a pre-trained model from monai bundle, but keep getting bundle not found
error, tried all different models and made sure the name was correct. Do you know what;s causing the rror? Thanks!
from monai.bundle import ConfigParser, download
model_dir = r"/content/drive/My Drive/model/monai_bundles"
model_name = "wholeBody_ct_segmentation"
download(name=model_name, bundle_dir=model_dir)
I got this error.
2023-12-02 17:04:22,299 - INFO - --- input summary of monai.bundle.scripts.download ---
2023-12-02 17:04:22,302 - INFO - > name: 'wholeBody_ct_segmentation'
2023-12-02 17:04:22,305 - INFO - > bundle_dir: '/content/drive/My Drive/model/'
2023-12-02 17:04:22,307 - INFO - > source: 'monaihosting'
2023-12-02 17:04:22,310 - INFO - > remove_prefix: 'monai_'
2023-12-02 17:04:22,312 - INFO - > progress: True
2023-12-02 17:04:22,313 - INFO - ---
---------------------------------------------------------------------------
HTTPError Traceback (most recent call last)
[<ipython-input-51-ea3c96c4a248>](https://localhost:8080/#) in <cell line: 2>()
1 model_name = "wholeBody_ct_segmentation"
----> 2 download(name=model_name, bundle_dir=model_dir)
3 frames
[/usr/local/lib/python3.10/dist-packages/requests/models.py](https://localhost:8080/#) in raise_for_status(self)
1019
1020 if http_error_msg:
-> 1021 raise HTTPError(http_error_msg, response=self)
1022
1023 def close(self):
HTTPError: 404 Client Error: Not Found for url: https://api.ngc.nvidia.com/v2/models/nvidia/monaihosting/wholeBody_ct_segmentation
Originally posted by @qwang0225 in #536