-
Notifications
You must be signed in to change notification settings - Fork 126
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
HRSC转COCO #11
Comments
Have you solved this problem, please? |
import shapely.geometry as shgeo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
缺乏命名:
E:\Anaconda\python.exe "G:/CV projects/toolbox/converter/toCOCO/HRSC2COCO.py"
HRSC2COCOTrain: 0%| | 0/436 [00:00<?, ?it/s]
Traceback (most recent call last):
File "G:/CV projects/toolbox/converter/toCOCO/HRSC2COCO.py", line 183, in
HRSC2COCOTrain(r'C:\Users\admin\Downloads\HRSC2016_dataset\HRSC2016\HRSC2016',
File "G:/CV projects/toolbox/converter/toCOCO/HRSC2COCO.py", line 66, in HRSC2COCOTrain
objects = parse_voc_poly(os.path.join(labelparent, filename+'.xml'))
File "G:/CV projects/toolbox/converter/toCOCO/HRSC2COCO.py", line 159, in parse_voc_poly
gtpoly = shgeo.Polygon(object_struct['poly'])
NameError: name 'shgeo' is not defined
Process finished with exit code 1
The text was updated successfully, but these errors were encountered: