ozymaxx/sketchfe

Numpy compatibility problem vol. 3

Closed this issue · 0 comments

File "/usr/local/lib/python2.7/dist-packages/sketchfe/FeatureExtractor.py", line 46, in extract
featim1 = self.extractFeatureImage( theta, n_sketch, grid_width, grid_height, 0, False, sigma, hsize )
File "/usr/local/lib/python2.7/dist-packages/sketchfe/FeatureExtractor.py", line 91, in extractFeatureImage
image = self.pointsToImage(sketch, imsize, pixels, center, scale)
File "/usr/local/lib/python2.7/dist-packages/sketchfe/FeatureExtractor.py", line 113, in pointsToImage
image = np.zeros( imsize )
TypeError: 'numpy.float64' object cannot be interpreted as an index