ndcuong91 / DeepLearning

4 stars 1 forks source link

No module named xml_parser in test_mobilenet_ssd_300.py #2

Open kaishijeng opened 5 years ago

kaishijeng commented 5 years ago

@titikid

When I run python2 test_mobilenet_ssd_300.py, I got Traceback (most recent call last): File "./test_mobilenet_ssd_300.py", line 14, in import xml_parser ImportError: No module named xml_parser

Any idea how to install this module? I tried pip install xml_parser, but not pip is able to find it

Thanks,

kaishijeng commented 5 years ago

Where can I downdload deploy_ssd_mobilenet_300_fromcaffe_no_prior_detection? Thanks,

ndcuong91 commented 5 years ago

@kaishijeng you can simply remove line "import xml_parser" to avoid this error. I had full version of mobilenet_ssd_300 model in my repo. Why do you need "deploy_ssd_mobilenet_300_fromcaffe_no_prior_detection" model? it's just a version for test

kaishijeng commented 5 years ago

I don't need deploy_ssd_mobilenet_300_fromcaffe_no_prior_detection. However, my program got stuck after model loaded as below:

[08:50:56] src/nnvm/legacy_json_util.cc:190: Loading symbol saved by previous version v0.12.0. Attempting to upgrade... [08:50:56] src/nnvm/legacy_json_util.cc:198: Symbol successfully upgraded! model loaded.

Somehow, nnvm_sym, nnvm_params = nnvm.frontend.from_mxnet(mx_sym, args, auxs) takes forever.

Thanks,

kaishijeng commented 5 years ago

I change my code: ssd_model='PycharmProjects/ssd/ssd_models/mobilenet/ssd_mxnet/deploy/deploy_ssd_mobilenet_300_fromcaffe_no_detection' to
ssd_model = 'mobilenet_ssd_300'

kaishijeng commented 5 years ago

@titikid

Can you comment on my questions ?

Thanks,