IndexError: list index out of range
SuroshAhmadZobair opened this issue · comments
Hi
Thanks for your quick and great job!
I want to test on 3 images but get the following error when calling segment_anything_annotator.py
any insights?
Traceback (most recent call last): File "segment_anything_annotator.py", line 26, in <module> editor = Editor( File "/mnt/data/polymore/salt/salt/editor.py", line 57, in __init__ ) = self.dataset_explorer.get_image_data(self.image_id) File "/mnt/data/polymore/salt/salt/dataset_explorer.py", line 146, in get_image_data image_name = self.coco_json["images"][image_id]["file_name"] IndexError: list index out of range
Thanks in advance
I also encountered the same problem.
Can you paste the contents of your images folder?
@Terrylala
Can you please share the contents of your images dir?
Mine would be a violation of NDA.
Thanks for you support!
I am also facing the same issue!!!