-
GTA5
-
SYNTHIA
http://synthia-dataset.net/downloads/ (SYNTHIA-RAND-CITYSCAPES (CVPR16))
-
CityScapes
-
IDD
https://idd.insaan.iiit.ac.in/dataset/download/ (IDD - Segmentation (IDD 20k Part I)) https://drive.google.com/file/d/1UUI4_101KCw17hEdqJIA7DlBSk4Q7ndu/view?usp=sharing (Download the file from the link. Extract the file, and replace the gtFine folder in the IDD dataset with this one.)
-
Cross-City
Place four datasets in the ./data folder.
Change each folder's name as 'GTA5', 'SYNTHIA', 'CityScapes', 'IDD', 'NTHU_Datasets', respectively.
Run
./dataset/split_dataset.py
for GTA5 and SYNTHIA, respectively.
https://drive.google.com/file/d/16TRsmELvoLKJuaijRJF9NK_SJq3YagYw/view?usp=sharing
Place the file in the ./pretrained folder.
Run
train.py
The options should be changed before running.
Change the options in options_train.py
Run
trainCrossCity.py
The options should be changed before running.
Change the options in options_trainCrossCity.py
Run
evaluate.py
The options should be changed before running.
The options are contained in the evaluate.py
file.
Run
evaluateCrossCity.py
The options should be changed before running.
The options are contained in the evaluateCrossCity.py
file.
*** This codebase is heavily borrowed from a source code of AdaptSegNet. (https://github.com/wasidennis/AdaptSegNet) ***