toolbox icon indicating copy to clipboard operation
toolbox copied to clipboard

HRSC转COCO

Open ctgu123 opened this issue 2 years ago • 2 comments

缺乏命名: 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

ctgu123 avatar Mar 30 '22 06:03 ctgu123

Have you solved this problem, please?

Luxiangxiang21 avatar May 28 '22 08:05 Luxiangxiang21

import shapely.geometry as shgeo

shenhaibb avatar Jan 18 '23 06:01 shenhaibb