-
Notifications
You must be signed in to change notification settings - Fork 224
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
compile #5
Comments
Thanks. The API changed and I haven't updated the Python bindings to reflect this. I'll try to do it soon (or you could supply a patch; it's pretty straightforward). |
Ok thanks. I'd need to figure it out first, might be better to wait for the wrapper update. C. Sent from my iPad On 10 Apr 2015, at 17:21, Tom <notifications@github.commailto:notifications@github.com> wrote: Thanks. The API changed and I haven't updated the Python bindings to reflect this. I'll try to do it soon (or you could supply a patch; it's pretty straightforward). — |
I've fixed the Python bindings and added some iPython notebooks illustrating both command line usage and Python bindings. |
thanks I compiled on Mac, a few small changes to the build. the only error i got was : extras.cchttp://extras.cc:811:21: error: use of undeclared identifier 'environ' ive edited around it for now. c. I've fixed the Python bindings and added some iPython notebooks illustrating both command line usage and Python bindings. — |
I used be able to run setup.py fine, in the latest two version i get swig errors (setting the NPY version doesn't fix it).
warning: "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
warning "Using deprecated NumPy API, disable it by " \
^
clstm_wrap.cpp:5906:15: error: no member named 'train' in 'ocropus::INetwork'
(arg1)->train(_arg2,_arg3);
~~~~~~ ^
clstm_wrap.cpp:5975:15: error: no member named 'ctrain' in 'ocropus::INetwork'
(arg1)->ctrain(_arg2,_arg3);
~~~~~~ ^
clstm_wrap.cpp:6053:15: error: no member named 'ctrain_accelerated' in 'ocropus::INetwork'
(arg1)->ctrain_accelerated(_arg2,_arg3,arg4);
~~~~~~ ^
clstm_wrap.cpp:6122:15: error: no member named 'ctrain_accelerated' in 'ocropus::INetwork'
(arg1)->ctrain_accelerated(_arg2,_arg3);
~~~~~~ ^
clstm_wrap.cpp:6253:15: error: no member named 'cpred' in 'ocropus::INetwork'
(arg1)->cpred(_arg2,_arg3);
~~~~~~ ^
clstm_wrap.cpp:6373:15: error: no member named 'setInputs' in 'ocropus::INetwork'
(arg1)->setInputs(_arg2);
~~~~~~ ^
clstm_wrap.cpp:6430:15: error: no member named 'setTargets' in 'ocropus::INetwork'
(arg1)->setTargets(_arg2);
~~~~~~ ^
clstm_wrap.cpp:6487:15: error: no member named 'setClasses' in 'ocropus::INetwork'
(arg1)->setClasses(*arg2);
~~~~~~ ^
The text was updated successfully, but these errors were encountered: