bikz05 / bag-of-words

Python Implementation of Bag of Words for Image Recognition using OpenCV and sklearn
217 stars 106 forks source link

'xrange' not not defined #16

Open shrestharikesh opened 6 years ago

shrestharikesh commented 6 years ago

Error appears while training:

_Traceback (most recent call last): File "findFeatures.py", line 56, in for i in xrange(len(imagepaths)): NameError: name 'xrange' is not defined

xplodig commented 6 years ago

Try import from this library worked for me :) from scipy._lib.six import xrange