- Notifications
You must be signed in to change notification settings - Fork15
TillBeemelmanns/cityscapes-to-coco-conversion
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This script allows to convert theCityscapes Dataset to Mircosoft'sCoCo Format. The code heavily relies on Facebook'sDetection Repo andCityscapes Scripts.
The converted annotations can be easily used forMask-RCNN or other deep learning projects.
Download the Cityscapes Dataset and organize the files in the following structure. Create an emptyannotations
directory.
data/└── cityscapes ├── annotations ├── gtFine │ ├── test │ ├── train │ └── val └── leftImg8bit ├── test ├── train └── valmain.pyinspect_coco.pyREADME.mdrequirements.txt
pip install -r requirements.txt
To run the conversion execute the following
python main.py --dataset cityscapes --datadir data/cityscapes --outdir data/cityscapes/annotations
In order to run the visualization of the CoCo dataset you may run
python inspect_coco.py --coco_dir data/cityscapes
About
Cityscapes to CoCo Format Conversion Tool for Mask-RCNN and Detectron
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.