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

Error in caffe.Net #28

Open
covarsha opened this issue Apr 9, 2018 · 6 comments
Open

Error in caffe.Net #28

covarsha opened this issue Apr 9, 2018 · 6 comments

Comments

@covarsha
Copy link

covarsha commented Apr 9, 2018

I get the error TypeError: No registered converter was able to extract a C++ pointer to type char from this Python object of type str
Traceback (most recent call last):
File "./tools/rotation_demo.py", line 572, in
net = caffe.Net(prototxt, caffemodel, caffe.TEST)
SystemError: <Boost.Python.function object at 0x24faeb0> returned NULL without setting an error when I try to run the demo file. Make -j4 and make pycaffe happen without any error. I am using Python3.6

@mjq11302010044
Copy link
Owner

Welp, we suggest using python2.7 to compile the code :)

@mjq11302010044
Copy link
Owner

@covarsha As the error may come from the boost library for python3.6

@Najlepszy
Copy link

well,what should I do if I persist in using python 3.6?What should I do in order to utilize the correct boost library for caffe

@Walid-Ahmed
Copy link

@Najlepszy were you able to resolve this error? , I am using python3.6 and getting the same error

@ahagary
Copy link

ahagary commented Sep 16, 2019

@Walid-Ahmed @Najlepszy Hello,have you resolved this error? I have met the same problem

@ipheiman
Copy link

ipheiman commented Oct 3, 2022

@Walid-Ahmed @ahagary @Najlepszy Were you able to solve this error? I am facing the same error too

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

6 participants