lhoyer / DAFormer

[CVPR22] Official Implementation of DAFormer: Improving Network Architectures and Training Strategies for Domain-Adaptive Semantic Segmentation
Other
466 stars 91 forks source link

About 'sample_class_stats.json' #50

Closed liwei1101 closed 1 year ago

liwei1101 commented 1 year ago

Hello! Thank you for your wonderful work.

I'm having problems with missing files when reproducing.

Where can I get the 'sample_class_stats.json' please?

lhoyer commented 1 year ago

Hi @liwei1101, Thank you for your interest in our work. Probably, you didn't run the data processing as described in the README.md:

Finally, please run the following scripts to convert the label IDs to the train IDs and to generate the class index for RCS:

python tools/convert_datasets/gta.py data/gta --nproc 8
python tools/convert_datasets/cityscapes.py data/cityscapes --nproc 8
python tools/convert_datasets/synthia.py data/synthia/ --nproc 8
liwei1101 commented 1 year ago

Hello@lhoyer, Yes, I did not run this conversion code.

Thanks for the prompt reply! (* ̄︶ ̄)