vStack = np.array(l[0])
Opened this issue · 5 comments
Always receiving this error when I run the program. Need help
Probably cant find the images. Do not forget to change format at the helper.py.
for imagefile in glob(path+key+"/*.png"):
helpers.py 143
replace with below line
word = each.split("\")[-1]
When defining the class BOV, should I leave self.images=None? Or should I change it? I am getting the same error vStack = np.array(l[0]) IndexError: list index out of range.
I figured that my images are not being read as indicated by self.descriptor_list has a size 0.
Kindly help me with this error.
Just do this change in line 141 in helpers.py
word = each.split('\\')[-1] instead of word = each.split('\')[-1] for python 3 because the '\\' means regular expression's special character."\\" will remove the meaning of special character.
that is because imlist array is empty