make all -j8
make test
make runtest
[----------] Global test environment tear-down
[==========] 2025 tests from 267 test cases ran. (301390 ms total)[ PASSED ] 2025 tests.
I also uncommand the line `WITH_PYTHON_LAYER := 1`. And setting in the bashrc file as
export PYTHONPATH=/home/john/caffe/python
I test the import caffe and it worked
>>>import caffe
>>>Now, I go to the `/home/fcn.berkeleyvision.org/voc-fcn32s`, and run the training code with command
../../caffe/build/tools/caffe train -solver=solver.prototxtHowever, it got a error that is
I1214 19:14:45.049516 10747 layer_factory.hpp:77] Creating layer data
ImportError: No module named voc_layersThe error looks setting path. I tried to fix it by edit the file solver.py as follows:But it cannot fix. How could I fix it? Thank all
I am getting the exact same error as well - did you find a solution to the issue?
import voc_layer
Assuming that the path is correct. Using the environment variable PYTHONPATH would also work. It looks like the fcn.berkeleyvision.org directory doesn't have an "__init__.py" file though, which makes it so that it isn't a valid python module (for Python version <3.3). Trying creating an empty __init__.py file inside the fcn.berkeleyvision.org.import os, syssys.path.append('/home/john/fcn.berkeleyvision.org')
--
You received this message because you are subscribed to the Google Groups "Caffe Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to caffe-users+unsubscribe@googlegroups.com.
To post to this group, send email to caffe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/cb9e545b-be62-4420-a2a3-5c6c1ad0598c%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to caffe-users...@googlegroups.com.
To post to this group, send email to caffe...@googlegroups.com.
Thanks a lot for your reply Jonathan! I'm getting the same (no voc_layer module) error. However, I'm running everything in terminal ("build/tools/caffe train -solver examples/FCN/voc-fcn8s/solver.prototxt"). Do you have any idea about what could be done in this case? I would appreciate any input!
--
You received this message because you are subscribed to the Google Groups "Caffe Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to caffe-users+unsubscribe@googlegroups.com.
To post to this group, send email to caffe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/f8ad123c-4caa-4d12-af50-ebe2c16e7c49%40googlegroups.com.