Skip to content

Instantly share code, notes, and snippets.

@Tony607
Created October 14, 2019 05:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Tony607/ac4d51fd08ccf0cdb2eb218dc902927e to your computer and use it in GitHub Desktop.
Save Tony607/ac4d51fd08ccf0cdb2eb218dc902927e to your computer and use it in GitHub Desktop.
How to train Detectron2 with Custom COCO Datasets | DLology
from detectron2.data.datasets import register_coco_instances
register_coco_instances("fruits_nuts", {}, "./data/trainval.json", "./data/images")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment