Pytorch implementation of Agile Multi-Source-Free Domain Adaptation (AAAI'24).
We provide figures with full legends in figs-with-full-legends/
folder, with additional examples of Figure 5.
Put the DomainNet dataset under dataset/
.
Download pretrained source models here. Decompress and put it under main directory.
- python==3.8
- pytorch==1.13
- timm
- termcolor
- Apex
git clone https://github.com/NVIDIA/apex
cd apex
pip install -v --disable-pip-version-check --no-cache-dir ./
https://github.com/NVIDIA/apex/issues/1227
Run by bash run.sh
. Logs are under my/
.
main.py
contains main training code, and models/model.py
contains model design.
Our code is based on PMTrans. Thanks for their great work!