Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python demo.py error!!! #44

Open
songyy137222 opened this issue Oct 30, 2018 · 7 comments
Open

python demo.py error!!! #44

songyy137222 opened this issue Oct 30, 2018 · 7 comments

Comments

@songyy137222
Copy link

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)

@mahyarnajibi
Copy link
Owner

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!

@khadijakhaldi
Copy link

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 ?

@alchemi5t
Copy link

alchemi5t commented Nov 8, 2018

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.

@cizhenshi
Copy link

I face the same problems on some images, have you solved this problems?

@cizhenshi
Copy link

i solved this problem by add my Makefile.config USE_INDEX_64 := 1
you can see this for more details BVLC/caffe#5067

@DenisSouth
Copy link

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

@zhukkang
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants