Get_model() failed


#1


Unable to retrieve pretrained models from model zoo or download them from database online. It seems to do with https connection issue, but I’m not sure how to solve this problem. Looking for help.


#2

This may have to do with your internet set up, can you try downloading:
https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/gluon/models/ssd_512_resnet50_v1_voc-9c8b225a.zip
in a web browser and see if that works?

I was able to successfully load the model using the same command using MXNet 1.2:

>>> from gluoncv import model_zoo
>>> model_zoo.get_model('ssd_512_resnet50_v1_voc', pretrained=True)
Model file is not found. Downloading.
Downloading /.../.mxnet/models/ssd_512_resnet50_v1_voc-9c8b225a.zip from https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/gluon/models/ssd_512_resnet50_v1_voc-9c8b225a.zip...
100%|

Also note, best to paste text rather than images. And just to sanity check, what version of MXNet are you using?

Thanks,
Vishaal


#3

Now I am able to download the zip file from that link, manually, and still bothered by the internet issue. In fact for automatic downloading I only made it once but failed all the other tries, possibly due to the pretty unstable connection.

My way to get around this was unzip the .params file into the specified folder, and the script managed to run correctly. Hopefully I can troubleshoot the connection problem someday. My MXNet and gluoncv are 1.3.0 and 0.3.0 respectively.

Thank you,
Zack