draw error

255 views
Skip to first unread message

chao_...@hotmail.com

unread,
Feb 1, 2015, 9:28:55 PM2/1/15
to caffe...@googlegroups.com
To see siamese networks ,i try "python ./python/draw_net.py     ./examples/siamese/mnist_siamese.prototxt     ./examples/siamese/mnist_siamese.png", but the terminal reports errors as follows:

Traceback (most recent call last):
  File "./python/draw_net.py", line 8, in <module>
    import caffe, caffe.draw
  File "/root/caffe-master/caffe-master/python/caffe/__init__.py", line 1, in <module>
    from .pycaffe import Net, SGDSolver
  File "/root/caffe-master/caffe-master/python/caffe/pycaffe.py", line 10, in <module>
    from ._caffe import Net, SGDSolver
ImportError: No module named _caffe

who can tell me why?

Hiroaki Machida

unread,
Feb 3, 2015, 1:20:57 PM2/3/15
to caffe...@googlegroups.com
I'm not sure, but 
cd /root/caffe-master/caffe-master/python
and running the command would work.

2015年2月2日月曜日 11時28分55秒 UTC+9 chao_...@hotmail.com:
Reply all
Reply to author
Forward
0 new messages