Open songyy137222 opened 5 years ago
Probably you are not using the provided caffe-ssh
, or the provided Makefile.config.example
is not used when you compiled the caffe-ssh
repo.
Hope it helps!
Hello, Please I have this error from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \ ImportError: dynamic module does not define module export function (PyInit__caffe) I already added caffe/python to my path but its not working. Are you working with python v2 ?
I have used the provided caffe-ssh and also the example config file when compiling the caffe-ssh repo. i still have the issue @songyy137222 faced on the demo image only. It works just fine on larger and smaller images. I don't really understand where the problem is.
I face the same problems on some images, have you solved this problems?
i solved this problem by add my Makefile.config USE_INDEX_64 := 1 you can see this for more details https://github.com/BVLC/caffe/issues/5067
Use google colab with my jupyter notebook. I forked the project and made able to run it online for everyone. https://github.com/DenisSouth/SSH
Add below in Makefile file add: ifeq ($(USE_INDEX_64),1) COMMON_FLAGS += -DUSE_INDEX_64 endif Makefile.config add: USE_INDEX_64 := 1
as fixed the issue
F1030 11:30:52.953382 7873 blob.cpp:34] Check failed: shape[i] <= 0x7fffffff / count_ (2400 vs. 2333) blob size exceeds INT_MAX Check failure stack trace: Aborted (core dumped)