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

convnet error #3

Open
riturajsoni opened this issue Jul 5, 2016 · 4 comments
Open

convnet error #3

riturajsoni opened this issue Jul 5, 2016 · 4 comments

Comments

@riturajsoni
Copy link

Traceback (most recent call last):
File "main.py", line 21, in
maybe_text = user.select_text_among_candidates('/home/rituraj/ImageTextRecognition-master/linearsvc-hog-fulltrain2-90.pickle')
File "/home/rituraj/ImageTextRecognition-master/userimageski.py", line 100, in select_text_among_candidates
model = cPickle.load(fin)
File "/home/rituraj/ImageTextRecognition-master/data.py", line 21, in
from nolearn.convnet import ConvNeNetFeatures
ImportError: No module named convnet

Hi I am getting the above error ply help to resolve it.

@nitish11
Copy link

The package nolearn has been upgraded, and nolearn.convnet is deprecated. Ref

Use the below line to fix the issue.

from nolearn.decaf import ConvNeNetFeatures

To install the latest nolearn package, follow the below lines.

pip install -r https://raw.githubusercontent.com/dnouri/nolearn/master/requirements.txt
pip install git+https://github.com/dnouri/nolearn.git@master#egg=nolearn==0.7.git

@yu-changqian
Copy link

There is a small error:

from nolearn.decaf import ConvNetFeatures

@Makogan
Copy link

Makogan commented May 25, 2017

Where should I add:
from nolearn.decaf import ConvNetFeatures

@adamzjw
Copy link

adamzjw commented Jun 8, 2017

looks like it's caused by mismatch of the nolearn version from the pickle file.
Use version 0.5 will fix this.

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

5 participants