Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@urwithajit9
Copy link

in features.py chist(im) function is defined
but in simpleclassification.py
from features import texture, color_histogram
is used, so method not found/ not defined error will be raised.

Solution: Changing either of these. i have change the function definition.

in features.py chist(im) function is defined
 but in simpleclassification.py 
from features import texture, color_histogram
is used, so method not found/ not defined error will be raised.

Solution: Changing either of these. i have change the function definition.
@luispedro
Copy link
Owner

Thank you for spotting this, much appreciated.

This was a mismatch, indeed. The file chapter.py relies on the function being called chist and this is the name used in the text, so I think I prefer to change the call of the function in simpleclassification.py. I will commit a fix shortly.

@luispedro luispedro closed this in db795e0 Mar 8, 2016
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

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.