Closed BennoStaub closed 5 years ago
Thanks for reporting the issue. This is a bug in when contours have fewer than three points. I'll push a fix soon.
Try installing pycococreatortools from master and rerunning your script. The notebook should work now.
Hey, I recreated the steps with my own image as attached. Adapting your shapes_to_coco.py script by changing class names it worked. However, in the last step of visualizing them with your jupyter notebook (there is an error, the annotation_file is not in the annotations dir but in the train dir) I get the following error: ValueError: cannot reshape array of size 5 into shape (2,2). Screenshot is attached too.![screenshot from 2018-04-18 15-11-08](https://user-images.githubusercontent.com/22842744/38934099-24fe4cf2-431b-11e8-975d-93252178fc76.png)
Maybe we can discuss this in detail via mail to speed up fixing it: staubbe@student.ethz.ch