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

visualizer IndexError: list index out of range #99

Open
CatHas4Paws opened this issue May 5, 2021 · 0 comments
Open

visualizer IndexError: list index out of range #99

CatHas4Paws opened this issue May 5, 2021 · 0 comments

Comments

@CatHas4Paws
Copy link

Hello, i am using this toolkit in win10 with python 3.7.9.

I have downloaded the class Cat and now want to use the virtualizer to view the images.

But i get the following error:

Traceback (most recent call last):
  File "main.py", line 37, in <module>
    bounding_boxes_images(args, DEFAULT_OID_DIR)
  File "C:\Users\MS-23\Documents\GitHub\OIDv4_ToolKit\modules\bounding_boxes.py", line 192, in bounding_boxes_images
    show(class_name, download_dir, label_dir,len(os.listdir(download_dir))-1, index)
  File "C:\Users\MS-23\Documents\GitHub\OIDv4_ToolKit\modules\show.py", line 39, in show
    img_file = os.listdir(download_dir)[index]
IndexError: list index out of range
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

1 participant