Error with COCO report
Closed this issue · 0 comments
mzur commented
@dlangenk Do you have time to take a look at this?
The report script 'to_coco' failed with exit code 1:
/var/www/vendor/biigle/reports/src/config/../resources/scripts/to_coco.py:21: UserWarning: The shape Point is not supported !
warnings.warn('The shape %s is not supported !' % (shape))
Traceback (most recent call last):
File "/var/www/vendor/biigle/reports/src/config/../resources/scripts/to_coco.py", line 123, in <module>
annotations.append(annotation(row))
File "/var/www/vendor/biigle/reports/src/config/../resources/scripts/to_coco.py", line 75, in annotation
angle = math.atan((m1y-m2y)/(m1x-m2x))
ZeroDivisionError: float division by zero