# Cannot download model from NGC

**URL:** <https://forums.developer.nvidia.com/t/cannot-download-model-from-ngc/265710>\
**Category:** TAO Toolkit\
**Created:** [September 7, 2023, 1:55pm UTC](https://forums.developer.nvidia.com/t/cannot-download-model-from-ngc/265710 "2023-09-07T13:55:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![user101417](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/user101417/32/139998_2.png) [@user101417](https://forums.developer.nvidia.com/u/user101417)\
**Post date:** [September 7, 2023, 1:55pm UTC](https://forums.developer.nvidia.com/t/cannot-download-model-from-ngc/265710/1 "2023-09-07T13:55:29Z")

</div>

Please provide the following information when requesting support.

• Hardware GeForce RTX2080Ti (train) / Jetson NX (infer)  
• Network Type (Mask\_rcnn)  
• TAO toolkit\_version: 5.0.0  
• Training spec file (default as provided with MaskRCNN notebook)  
• How to reproduce the issue ? (This is for errors. Please share the command line and the detailed log here.)

Hello,

I am trying to run the MaskRCNN notebook, and the command to download the pretrained model from NGC runs very slow, and even stops most of the time. Internet connection is stable, and NGC diagnostics show everything is correctly set up.  
`!ngc registry model download-version nvidia/tao/pretrained_instance_segmentation:resnet50 --dest $LOCAL_EXPERIMENT_DIR/pretrained_resnet50` throws a timeout after 5’:

```auto
   Download status: FAILED
   Downloaded local path model: /mnt/NVME_DATA/Training_Sessions/TAO_experiments/tao5_default_2/mask_rcnn/pretrained_resnet50/pretrained_instance_segmentation_vresnet50
   Total files downloaded: 0
   Total transferred: 0 B
   Started at: 2023-09-07 15:55:35
   Completed at: 2023-09-07 16:00:37
   Duration taken: 5m 1s

```

I have also tried the wget version, with the same result:  
`wget --content-disposition 'https://api.ngc.nvidia.com/v2/models/org/nvidia/team/tao/pretrained_instance_segmentation/resnet50/files?redirect=true&path=resnet50.hdf5' -O resnet50.hdf5`

Please, advise how to proceed.

Kind regards,

---

<div class="post-metadata">

**Author:** ![Morganh](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/morganh/32/9748_2.png) [@Morganh](https://forums.developer.nvidia.com/u/Morganh)\
**Post date:** [September 8, 2023, 2:21am UTC](https://forums.developer.nvidia.com/t/cannot-download-model-from-ngc/265710/3 "2023-09-08T02:21:55Z")

</div>

I can run below two commands successfully.

```auto
ngc registry model download-version nvidia/tao/pretrained_instance_segmentation:resnet50

```

or

```auto
wget --content-disposition 'https://api.ngc.nvidia.com/v2/models/org/nvidia/team/tao/pretrained_instance_segmentation/resnet50/files?redirect=true&path=resnet50.hdf5'

```

Could you please retry or try another machine? Thanks.

---

<div class="post-metadata">

**Author:** ![user101417](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/user101417/32/139998_2.png) [@user101417](https://forums.developer.nvidia.com/u/user101417)\
**Post date:** [September 8, 2023, 2:18pm UTC](https://forums.developer.nvidia.com/t/cannot-download-model-from-ngc/265710/4 "2023-09-08T14:18:42Z")

</div>

Thanks for the quick reply.  
I tested it on another local machine and a cloud instance, and it worked fine there.

No idea why it’s so slow on this machine, but I’ll figure it out.

Thanks!

---

<div class="post-metadata">

**Author:** ![yingliu](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/yingliu/32/136703_2.png) [@yingliu](https://forums.developer.nvidia.com/u/yingliu)\
**Post date:** [September 19, 2023, 1:42am UTC](https://forums.developer.nvidia.com/t/cannot-download-model-from-ngc/265710/5 "2023-09-19T01:42:50Z")

</div>


