mxnet-ssd icon indicating copy to clipboard operation
mxnet-ssd copied to clipboard

Errors while using pre-trained ssd_inception_v3 model in demo.py

Open arisha07 opened this issue 7 years ago • 5 comments

Hello @zhreshold, I have been trying to run the demo.py using the pre-trained ssd_inception_v3 by using the following command. Also I extracted the pre-trained files from ssd_inceptionv3_512_voc0712trainval.zip to the model folder. command-- python demo.py --cpu --network inceptionv3 --images ./data/demo/dog.jpg errors-- mxnet.base.MXNetError: Failed loading Op _minus0 of type elemwise_sub: [16:58:33] src/core/op.cc:55: Check failed: op != nullptr Operator elemwise_sub is not registered

Am I missing something here ?

arisha07 avatar Dec 14 '17 00:12 arisha07

I got the relative issue. I'd like to train with my own dataset with inceptionv3. Did you download the model here? image

Is this model for trainning or for inferrence?

yanhn avatar Dec 16 '17 03:12 yanhn

I also downloaded the model, and my scripts looks like this, and it worked. python demo.py --gpu 0 --network inceptionv3 --data-shape 512 --epoch 215 maybe you miss --data-shape 512 and --epoch 215

And I got the answer to my question. The model is for inferrence, so I need to find a model for tranning.

yanhn avatar Dec 16 '17 03:12 yanhn

@arisha07 You might be using a very old mxnet version

zhreshold avatar Dec 16 '17 07:12 zhreshold

@zhreshold I will try with the new version again...Thanks for the response.

arisha07 avatar Dec 22 '17 19:12 arisha07

@zhreshold I re-installed mxnet and now I have 1.0.0 version. I am still facing issues- mxnet.base.MXNetError: [10:44:04] src/io/local_filesys.cc:166: Check failed: allow_null LocalFileSystem: fail to open "/home/arisha/mxnet-ssd/model/ssd_mobilenet_512-0000.params"

I am not sure what I am missing here.

arisha07 avatar Jan 03 '18 17:01 arisha07