You can set the location for builtin datasets by export DETECTRON2_DATASETS=/path/to/datasets. If left unset, the default is ./datasets relative to your current working directory. The model zoo contains configs
Builtin Datasets # 使用方式 export DETECTRON2_DATASETS=/path/to/datasets Use Custom Datasets def my_dataset_function(): ... return list[dict] in the following format from detectron2.data import DatasetCatalog DatasetCatalog.register("my_dataset", my_dataset_function) # later, to access the da...
Along with the latest PyTorch 1.3 release came with the next generation ground-up rewrite of its previous object detection framework, now called Detectron2. This tutorial will help you get started with this framework by training an instance segmentation model with your custom COCO datasets. If you...