COCO-Semantic-Segmentation
COCO-Semantic-Segmentation copied to clipboard
ValueError when trying to make mask out of annotations
I get the following error whenever I try to run coco.annToMask(anns[i]):
ValueError: Buffer has wrong number of dimensions (expected 1, got 2).
All I was doing was following the code exactly. It was working one day, then all of a sudden it wasn't the next. Anyone know how to resolve this?
Thanks, Sam