Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

How to train Cityscapes dataset #1103

Open
InstantWindy opened this issue Sep 22, 2019 · 4 comments
Open

How to train Cityscapes dataset #1103

InstantWindy opened this issue Sep 22, 2019 · 4 comments

Comments

@InstantWindy
Copy link

Hi!How to load and train cityscapes dataset? Cityscapes dataset has no bounding box, so how do you train it for detection? thanks.

@ingeechart
Copy link

you can get a bounding box when it changes to coco detection format.
first change cityscape format to coco panoptic format using converting script in cityscapes dataset github, and then change coco panoptic dataset to coco detection format using coco/panopticapi/converter. then you can use cocoapi to load data.

@botcs
Copy link
Contributor

botcs commented Sep 22, 2019

Please check out PR #1090 with the update you can load files directly in their original format.

By convention it uses the tightest bounding box for each instance, based on their binary mask.

@InstantWindy
Copy link
Author

thanks@ingeechart @botcs

@InstantWindy
Copy link
Author

Please check out PR #1090 with the update you can load files directly in their original format.

By convention it uses the tightest bounding box for each instance, based on their binary mask.

Hi. When I run the convert_cityscapes_to_coco.py, it shows error as follows:
ModuleNotFoundError: No module named 'cityscapesscripts.evaluation.instances2dict_with_polygons'
Do you know how to solve it? Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants