The dataset is assumed to exist in a directory specified by the environment variable
DETECTRON2_DATASETS
.
Under this directory, detectron2 will look for datasets in the structure described below, if needed.
$DETECTRON2_DATASETS/
GSD-S/
TED3/
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.
└── datasets
└── GSD-S
├── images
│ ├── training
│ └── validation
├── annotations
│ ├── training
│ └── validation
datasets/
│
├── TED3-X-Ray-6k/
│ ├── images/
│ │ ├── training/
│ │ │ ├── image1.jpg
│ │ │ └── image2.jpg
│ │ ├── validation/
│ │ │ ├── image3.jpg
│ │ │ └── ...
│ ├── annotations_zero_one/
│ │ ├── training/
│ │ │ ├── image1.png
│ │ │ └── image2.png
│ │ ├── validation/
│ │ │ ├── image3.png
│ │ │ └── ...
│ │ └──
- If you want to change the image size in evaluzation, fixing here:
- If you want to change the structure of folers, pls fixing here:
- If you want to change your custom class name, pls fixing here: