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

Caffe to Keras: No module named 'caffe' #573

Closed
MinhHuuNguyen opened this issue Jan 27, 2019 · 1 comment
Closed

Caffe to Keras: No module named 'caffe' #573

MinhHuuNguyen opened this issue Jan 27, 2019 · 1 comment

Comments

@MinhHuuNguyen
Copy link

Platform: ubuntu 16.04

Python version: Python 3.6.8

Source framework with version: Caffe

Destination framework with version: Keras

Pre-trained model path (webpath or webdisk path):

Running scripts:
Traceback (most recent call last):
File "/home/daby/venv1/bin/mmconvert", line 10, in
sys.exit(_main())
File "/home/daby/venv1/lib/python3.6/site-packages/mmdnn/conversion/_script/convert.py", line 102, in _main
ret = convertToIR._convert(ir_args)
File "/home/daby/venv1/lib/python3.6/site-packages/mmdnn/conversion/_script/convertToIR.py", line 16, in _convert
transformer = CaffeTransformer(args.network, args.weights, "tensorflow", inputshape[0], phase = args.caffePhase)
File "/home/daby/venv1/lib/python3.6/site-packages/mmdnn/conversion/caffe/transformer.py", line 309, in init
model = get_caffe_resolver().NetParameter()
File "/home/daby/venv1/lib/python3.6/site-packages/mmdnn/conversion/caffe/resolver.py", line 32, in get_caffe_resolver
SHARED_CAFFE_RESOLVER = CaffeResolver()
File "/home/daby/venv1/lib/python3.6/site-packages/mmdnn/conversion/caffe/resolver.py", line 8, in init
self.import_caffe()
File "/home/daby/venv1/lib/python3.6/site-packages/mmdnn/conversion/caffe/resolver.py", line 14, in import_caffe
import caffe
ModuleNotFoundError: No module named 'caffe'

@missingdaysqxy
Copy link

please see #566

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