Preparing the COCO dataset folder structure

Now we will see the code to prepare the COCO dataset folder structure as follows:

# We need the following Folder structure: coco [coco_train2014, coco_val2014, annotations]
mkdir -p $DETECTRON/lib/datasets/data/coco
ln -s /path/to/coco_train2014 $DETECTRON/lib/datasets/data/coco/
ln -s /path/to/coco_val2014 $DETECTRON/lib/datasets/data/coco/
ln -s /path/to/json/annotations $DETECTRON/lib/datasets/data/coco/annotations
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset