Comments (5)
error "import caffe" in file spatial_dropout.py
I tried it the absolute path, but it did not work out:
import sys
caffe_root = '/home/user/lib/caffe/ENet/caffe-enet/' # Change this to the absolute directory to ENet Caffe
sys.path.insert(0, caffe_root + 'python')
import caffe
from enet.
@sawakk I would recommend you check the Ubuntu Caffe installation steps: http://caffe.berkeleyvision.org/install_apt.html
and then the compilation steps:
http://caffe.berkeleyvision.org/installation.html#compilation
I use the cmake build steps. Can you go through those again and make sure you have caffe set up and running properly?
After that, check and ensure you're able to build pycaffe. Given the stack trace you reported, I wouldn't be surprised if pycaffe is part of your problem (that said - I do not fully know what the underlying issue is).
Hope this helps.
from enet.
I have the same issue while training
I0728 12:07:31.305574 32224 layer_factory.hpp:77] Creating layer drop1_0_3
*** Aborted at 1501232851 (unix time) try "date -d @1501232851" if you are using GNU date ***
PC: @ 0x7f9a8456db73 std::_Hashtable<>::clear()
*** SIGSEGV (@0x9) received by PID 32224 (TID 0x7f9aead65ac0) from PID 9; stack trace: ***
@ 0x7f9ae83b84b0 (unknown)
@ 0x7f9a8456db73 std::_Hashtable<>::clear()
@ 0x7f9a8455eca6 google::protobuf::DescriptorPool::FindFileByName()
@ 0x7f9a8453bdc8 google::protobuf::python::cdescriptor_pool::AddSerializedFile()
@ 0x7f9ae8ff07d0 PyEval_EvalFrameEx
@ 0x7f9ae911901c PyEval_EvalCodeEx
@ 0x7f9ae906f3dd (unknown)
@ 0x7f9ae90421e3 PyObject_Call
@ 0x7f9ae9062ae5 (unknown)
@ 0x7f9ae8ff9123 (unknown)
@ 0x7f9ae90421e3 PyObject_Call
@ 0x7f9ae8fed13c PyEval_EvalFrameEx
@ 0x7f9ae911901c PyEval_EvalCodeEx
@ 0x7f9ae8fe7b89 PyEval_EvalCode
@ 0x7f9ae907c1b4 PyImport_ExecCodeModuleEx
@ 0x7f9ae907cb8f (unknown)
@ 0x7f9ae907e300 (unknown)
@ 0x7f9ae907e5c8 (unknown)
@ 0x7f9ae907f6db PyImport_ImportModuleLevel
@ 0x7f9ae8ff6698 (unknown)
@ 0x7f9ae90421e3 PyObject_Call
@ 0x7f9ae9118447 PyEval_CallObjectWithKeywords
@ 0x7f9ae8feb5c6 PyEval_EvalFrameEx
@ 0x7f9ae911901c PyEval_EvalCodeEx
@ 0x7f9ae8fe7b89 PyEval_EvalCode
@ 0x7f9ae907c1b4 PyImport_ExecCodeModuleEx
@ 0x7f9ae907cb8f (unknown)
@ 0x7f9ae907e300 (unknown)
@ 0x7f9ae907e5c8 (unknown)
@ 0x7f9ae907f6db PyImport_ImportModuleLevel
@ 0x7f9ae8ff6698 (unknown)
@ 0x7f9ae90421e3 PyObject_Call
but I can correctly import caffe
any help? Thanks.
from enet.
The Error is caused by data. you can check your cityscapes data, no have groundtruth: xxx_xxx_xxx_gtFine_labelTrainIds.png
you must: git clone https://github.com/mcordts/cityscapesScripts.git
and then run the /preparation/createTrainIdLabelImags.py to generate xxx_xxx_xxx_gtFine_labelTrainIds.png
As shown in the Tutorial
from enet.
i solved this problem through removing the default protoc and i use or install the version installed by anaconda~
hope it can help you
from enet.
Related Issues (20)
- benchmark result on val HOT 2
- input image HOT 1
- Really bad performance on TX2 HOT 3
- Check failed: status == CUDNN_STATUS_SUCCESS (4 vs. 0) CUDNN_STATUS_INTERNAL_ERROR HOT 5
- OpenCV Error
- Dataset ratio to be used in Fine-Tuning own Dataset
- Test Speed
- BN-absorber-enet
- Do you train the model on CamVid Dataset? HOT 1
- No Module named caffe HOT 1
- Why do I get wrong predictions when I train the coding and decoding network directly?That is I havn't train encoder network in advance。
- Bad test
- why i can download your cityscapes_weights
- why i can download your cityscapes_weights
- object segmentation
- use ENet to train Pascal_voc, and the result wasn't convergency. HOT 4
- transfer learning HOT 1
- Your example ENet prediction looks wrong
- TypeError HOT 1
- Question about the params and FLOPs of ENet
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from enet.