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

How to prepare dataset folder #2

Closed
HieuPhan33 opened this issue Aug 1, 2022 · 1 comment
Closed

How to prepare dataset folder #2

HieuPhan33 opened this issue Aug 1, 2022 · 1 comment

Comments

@HieuPhan33
Copy link

HieuPhan33 commented Aug 1, 2022

Hi @elnino9ykl,
thank you for sharing the code. I find it very valuable.

I try to run the script main.py under train to train the model.
However, I don't know how to prepare the dataset folder for datadir argument.
When I read the code and the paper, I guess that you use a subset of 27 classes out of 66 classes in Vista dataset.
However, the code only supports Cityscapes dataset as written in cityscapes class in piwise/dataset.py.

Could you please show me the proper way to prepare the dataset folder for datadir argument?
If possible, could you please share the script to convert Mapillary Vista to your desire format (folder structure, select 27 classes only, ...)?

Thank you.

@elnino9ykl
Copy link
Owner

Hi,
thank you very much for your interest in our work. We use the 27 classes as shown in Table I of the paper. I preprocessed the Vistas dataset to fit the Cityscapes format. You can also implement this easily. Another way is to use other segmentation training frameworks like mmsegmentation or torchseg, and integrate our model and our model adaptation method.

Best,

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