Last active
August 29, 2015 14:22
[SOLVED] ImportError: No module named caffe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Problem | |
--------------------------------------------------------------------------- | |
ImportError Traceback (most recent call last) | |
<ipython-input-1-da52fc923c25> in <module>() | |
6 import matplotlib.pyplot as plt | |
7 import sys | |
----> 8 import caffe | |
9 from image_handling import load_dataset | |
10 from image_handling import segment_image | |
ImportError: No module named caffe | |
# Solution: | |
import sys | |
import os | |
caffe_root = '/root/src/caffe/' | |
sys.path.insert(0, caffe_root + 'python') | |
print(sys.path) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment