Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named xml_parser in test_mobilenet_ssd_300.py #2

Open
kaishijeng opened this issue Dec 1, 2018 · 5 comments
Open

No module named xml_parser in test_mobilenet_ssd_300.py #2

kaishijeng opened this issue Dec 1, 2018 · 5 comments

Comments

@kaishijeng
Copy link

@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
Copy link
Author

Where can I downdload deploy_ssd_mobilenet_300_fromcaffe_no_prior_detection?
Thanks,

@ndcuong91
Copy link
Owner

@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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

@titikid

Can you comment on my questions ?

Thanks,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants