mahyarnajibi / SSH

SSH: Single Stage Headless Face Detector
Other
835 stars 280 forks source link

python demo.py error!!! #44

Open songyy137222 opened 5 years ago

songyy137222 commented 5 years ago

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 commented 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!

khadijakhaldi commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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

cizhenshi commented 5 years ago

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

DenisSouth commented 5 years ago

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 commented 5 years ago

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