Code release for "A New Benchmark: On the Utility of Synthetic Data with Blender for Bare Supervised Learning and Downstream Domain Adaptation", accepted by CVPR2023.
Project Page
- python 3.8.8
- pytorch 1.8.0
- torchvision 0.9.0
- Existing datasets. The references of the used existing datasets (e.g., VisDA-2017, ImageNet, and MetaShift) are included in the paper.
- Our new datasets. SynSL is here, our synthesized 12.8M images of 10 classes (for supervised learning, termed SynSL); SynSL-120K is here, including our synthesized 120K images of 10 classes (train), train+SubImageNet, and three types of test data (i.e., test_IID, test_IID_wo_BG, and test_OOD); S2RDA is here, including two challenging transfer tasks of S2RDA-49 and S2RDA-MS-39. Please refer to the paper for more details.
- Install necessary python packages.
- Replace data paths in run.sh with those in one's own system.
- Run command
sh run.sh
.
The results are saved in the folder ./checkpoints/
.
The pre-trained checkpoints for downstream synthetic-to-real classification adaptation are available here, and they are obtained at the last pre-training iteration.
@InProceedings{tang2023new,
author = {Tang, Hui and Jia, Kui},
title = {A New Benchmark: On the Utility of Synthetic Data with Blender for Bare Supervised Learning and Downstream Domain Adaptation},
booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
month = {June},
year = {2023},
}