error while creating bag
Opened this issue · 3 comments
soans1994 commented
curr_img = cv2.imread(img_list[0], 0)
IndexError: list index out of range
guichristmann commented
Did you structure your dataset for creating the bag like the Example dataset in the repo?
And are you passing the arguments correctly?
soans1994 commented
Yes i did is as per the instruction
python createBag.py Datasets 500 Bags
Traceback (most recent call last):
File "createBag.py", line 63, in
kp_vector, des_vector = calcVectors(image_names)
File "createBag.py", line 16, in calcVectors
curr_img = cv2.imread(img_list[0], 0)
IndexError: list index out of range
guichristmann commented
Does your dataset contain images?