ObjectDetection model pretrained download fails

Downloading: “https://download.pytorch.org/models/fasterrcnn_resnet50_fpn_coco-258fb6c6.pth” to /home/uclpc1/.cache/torch/hub/checkpoints/fasterrcnn_resnet50_fpn_coco-258fb6c6.pth

Pretrained object detection model downloading loading for very long.
I tried

wget https://download.pytorch.org/models/fasterrcnn_resnet50_fpn_coco-258fb6c6.pth

and it doesn’t download. Kindly fix this bug pytorch.

I cannot reproduce the issue and get properly download the model in less than a minute.
Maybe the server had some issues when you’ve tried it?

I don’t know why but for some reason I do,

wget https://download.pytorch.org/models/fasterrcnn_mobilenet_v3_large_320_fpn-907ea3f9.pth

it doesn’t work, but when I do curl:

curl -O https://download.pytorch.org/models/fasterrcnn_mobilenet_v3_large_320_fpn-907ea3f9.pth

it works.
Maybe mind replacing pytorch pretrained model downloading with curl? Must be a linux thing.

I’m on Ubuntu 20.04 so I don’t think it’s a “Linux thing” :wink: