Unsupervised domain adaptation with unified joint distribution alignment
- Python3
- PyTorch ==0.4.1 (with suitable CUDA and CuDNN version)
- torchvision == 0.2.0
- Numpy
- tqdm
You need to modify the path of the image in every ".txt" in "./data".
run :
python train.py --config ../config/dann.yml --dataset Office-31 --src_address ../data/amazon.txt --tgt_address ../data/dslr.txt --src_test_address ../data/amazon.txt
If you use this code for your research, please consider citing:
If you have any problem about our code, feel free to contact yaoyueduzhen@outlook.com.