Registering custom dataset that is in the COCO format #2737
-
When registering custom dataset that is already in the COCO format, is it not necessary to register the metadata separately -using getMetadats()? I m following the COLAB tutorial and it suggests the following. . .. Then, when I try to visualize my annotated data, it seems that I need the metadata as well. Any suggestions of how to get the metadata when registering using register_coco_instances(). if your dataset is in COCO format, this cell can be replaced by the following three lines: Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
try MetadataCatalog.get("my_dataset_val") |
Beta Was this translation helpful? Give feedback.
try MetadataCatalog.get("my_dataset_val")