hanskrupakar / COCO-Style-Dataset-Generator-GUI

A simple GUI-based COCO-style JSON Polygon masks' annotation tool to facilitate quick and efficient crowd-sourced generation of annotation masks and bounding boxes. Optionally, one could choose to use a pretrained Mask RCNN model to come up with initial segmentations.
Apache License 2.0
144 stars 31 forks source link

error in visualize_json_file.py #14

Open mychina75 opened 4 years ago

mychina75 commented 4 years ago

Hi, thank you for your work~

in line 23: classes = obj["classes"]

but in coco defination, there is no "classes" attr. { "info": info, "images": [image], "annotations": [annotation], "licenses": [license], } do you mean "categories" here?