EscVM/OIDv4_ToolKit

visualizer IndexError: list index out of range

CatHas4Paws opened this issue · 0 comments

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