You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using my custom dataset and having json file in COCO format. I'm trying to use Polygon-Tutorial2.ipynb for it. But somehow it throws an error. Can you please help me how to run and get rotated bounding boxes from polygon annoations. Thank you in advance.
This is the error I'm getting: Traceback (most recent call last):
File "C:/yolo/tranform.py", line 173, in
main()
File "C:/yolo/tranform.py", line 170, in main
seg2poly(r'C:\Users\exp', plot=True)
File "C:/yolo/tranform.py", line 62, in seg2poly
img_dir = img_dir / prefix
UnboundLocalError: local variable 'prefix' referenced before assignment
The text was updated successfully, but these errors were encountered:
hello @XinzeLee ,
I'm using my custom dataset and having json file in COCO format. I'm trying to use Polygon-Tutorial2.ipynb for it. But somehow it throws an error. Can you please help me how to run and get rotated bounding boxes from polygon annoations. Thank you in advance.
This is the error I'm getting:
Traceback (most recent call last):
File "C:/yolo/tranform.py", line 173, in
main()
File "C:/yolo/tranform.py", line 170, in main
seg2poly(r'C:\Users\exp', plot=True)
File "C:/yolo/tranform.py", line 62, in seg2poly
img_dir = img_dir / prefix
UnboundLocalError: local variable 'prefix' referenced before assignment
The text was updated successfully, but these errors were encountered: