Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error while creating bag #1

Open
soans1994 opened this issue Sep 21, 2017 · 3 comments
Open

error while creating bag #1

soans1994 opened this issue Sep 21, 2017 · 3 comments

Comments

@soans1994
Copy link

curr_img = cv2.imread(img_list[0], 0)

IndexError: list index out of range

@guichristmann
Copy link
Contributor

Did you structure your dataset for creating the bag like the Example dataset in the repo?
And are you passing the arguments correctly?

@soans1994
Copy link
Author

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
Copy link
Contributor

Does your dataset contain images?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants