facebookresearch / detectron2

Detectron2 is a platform for object detection, segmentation and other visual recognition tasks.
https://detectron2.readthedocs.io/en/latest/
Apache License 2.0
29.32k stars 7.32k forks source link

Error when trying to visualize the registered coco dataset. #5186

Open joee2711 opened 6 months ago

joee2711 commented 6 months ago

from detectron2.data.datasets import register_coco_instances register_coco_instances("TrainData5", {}, r"/content/drive/MyDrive/HatchFast/_annotations.json", r"/content/drive/MyDrive/HatchFast/train")

When trying to register the above coco data , I get an error during the visualization

image

github-actions[bot] commented 6 months ago

You've chosen to report an unexpected problem or bug. Unless you already know the root cause of it, please include details about it by filling the issue template. The following information is missing: "Instructions To Reproduce the Issue and Full Logs"; "Your Environment";