Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Number of common classes in Synthia dataset #39

Open
wangkaihong opened this issue Jul 25, 2020 · 2 comments
Open

Number of common classes in Synthia dataset #39

wangkaihong opened this issue Jul 25, 2020 · 2 comments

Comments

@wangkaihong
Copy link

wangkaihong commented Jul 25, 2020

Hi Yunsheng,

I noticed that in your paper you mentioned:

For SYNTHIA [28], we use the SYNTHIA-RAND-CITYSCAPES
set which contains 9, 400 images with the resolution 1280×
760 and 16 common categories with Cityscapes [5].

which means only 16 classes should be involved in the training and the evaluation in the experiment, but I found in the configuration of the dataset of Synthia that:

self.id_to_trainid = {3: 0, 4: 1, 2: 2, 21: 3, 5: 4, 7: 5, 15: 6, 9: 7, 6: 8, 16: 9, 1: 10, 10: 11, 17: 12, 8: 13, 18: 14, 19: 15, 20: 16, 12: 17, 11: 18}

so there are 19 classes in total, just like GTA V and cityscapes. Is that an inconsistency between the code and the paper or did I miss anything?

Thanks,
Kaihong

@liyunsheng13
Copy link
Owner

No, there is not any inconsistency between the code and paper. During evaluation, I only evaluate 16 of the common classes.

@wangkaihong
Copy link
Author

No, there is not any inconsistency between the code and paper. During evaluation, I only evaluate 16 of the common classes.

That sounds fair. But what about the training process? Did you train the model with 19 classes?

I noticed that your dataset code might be borrowed from https://github.com/wasidennis/AdaptSegNet, which provides only the GTA V -> cityscapes experiment script. Is that the reason you are using this configuration?

Thanks again,
Kaihong

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

No branches or pull requests

2 participants