Skip to content

yihong-97/ARAS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ARAS Framework

Prerequisites

The code is implemented with Python(3.6) and Pytorch(1.7).

Datasets

Training

Pretrained Model

Pretrained models on source domian can be downloaded here.

If you want to pretrain the model by yourself, you can refer to here.

UDA

  • GTA5-to-Cityscapes
## ResNet101-based
python train_UDA.py --source_dataset "gta5" --num_classes 19 --backbone "resnet101" --checkpoint_dir "./log/gta2city-res/" --pretrained_ckpt_file "../log/pretrainedmodles/gta5-res.pth"

Testing

Our pretrained model is available here.

  • GTA5-to-Cityscapes (example)
python evaluate.py --source_dataset "gta5" --num_classes 19 --backbone "resnet101" --split "test" --checkpoint_dir "./log/eval/gta2city-res-UDA/" --pretrained_ckpt_file "./log/gta2city-res/gta52cityscapesfinal.pth"

Acknowledgments

This codebase is heavily borrowed from UDAclustering and DAST_segmentation.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages