weiliu89 / caffe

Caffe: a fast open framework for deep learning.
http://caffe.berkeleyvision.org/
Other
4.77k stars 1.68k forks source link

Issues while running ssd_pascal.py #450

Open pnambiar opened 7 years ago

pnambiar commented 7 years ago

I am able to import caffe. But 'from caffe.model_libs import ' is giving me an error. File "examples/ssd/ssd_pascal.py", line 3, in from caffe.model_libs import ImportError: No module named model_libs

I have set my python path as: export PYTHONPATH=${PYTHONPATH}:/home/XXX/caffe/python

Please use the caffe-users list for usage, installation, or modeling questions, or other requests for help. Do not post such requests to Issues. Doing so interferes with the development of Caffe.

Please read the guidelines for contributing before submitting this issue.

Issue summary

Steps to reproduce

If you are having difficulty building Caffe or training a model, please ask the caffe-users mailing list. If you are reporting a build error that seems to be due to a bug in Caffe, please attach your build configuration (either Makefile.config or CMakeCache.txt) and the output of the make (or cmake) command.

Your system configuration

Operating system: Compiler: CUDA version (if applicable): CUDNN version (if applicable): BLAS: Python or MATLAB version (for pycaffe and matcaffe respectively):

weiliu89 commented 7 years ago

Maybe you could try to switch the order? export PYTHONPATH=/home/XXX/caffe/python:${PYTHONPATH}

pnambiar commented 7 years ago

Did not work

jingedawang commented 7 years ago

@pnambiar Have you solved this problem? It also occured on my machine.

pnambiar commented 7 years ago

@jingedawang https://github.com/BVLC/caffe/wiki/Ubuntu-16.04-or-15.10-Installation-Guide I followed all the procedure given for Ubuntu 16.04 and that solved the problem. Not exactly sure what fixed it !