Closed gynr closed 6 years ago
Fixed. Try now! You just need to make sure the images directory you give isn't empty.
Thanks.
thank your for providing this program. but, it is hard to use. I failed to create COCO file. please, upgrade it more.
You need to use create_json_file.py to create the COCO dataset file. It's pretty self-contained. Use python create_json_file.py -h
for help.
python3 segment.py -i images/ -c classes/products.txt Traceback (most recent call last): File "segment.py", line 434, in
gen = COCO_dataset_generator(fig, ax, args)
File "segment.py", line 86, in init
if os.path.exists(self.img_paths[self.index][:-3]+'txt'):
IndexError: list index out of range