Here is what I got. Anyone encountered the same problem?
Traceback (most recent call last):
File "/Users/quqi/SDM/main.py", line 424, in <module>
R,B,I = train(parameters)
File "/Users/quqi/SDM/main.py", line 88, in train
hog_list.append(hog(grey,mark,parameters))
File "/Users/quqi/SDM/main.py", line 390, in hog
orientation_histogram[j,:,:,i] = uniform_filter(temp_mag, size=pc)[x-r+pc/2:x+r:pc, y-r+pc/2:y+r:pc].T
TypeError: slice indices must be integers or None or have an __index__ method
Here is what I got. Anyone encountered the same problem?