Skip to content

Commit

Permalink
revise readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenChen-sony committed Mar 17, 2023
1 parent bf2c993 commit e1a9032
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,23 @@ Download **Digit-Five** and **PACS** from https://github.com/jindongwang/transfe
Download the subset of **DomainNet** used in our paper from https://drive.google.com/file/d/1LDnU3el-nHoqTgnvxEZP_PxdbdBapNKP/view?usp=sharing, and place it in `./Dataset`.

# Usage
Run the files in `scripts`.
## Quick Start
After installing all dependency packages, you can use the following command to run the code on PACS
```
python main.py --gpu $gpu_id --order 2 0 1 3 --seed 2022 \
--aug_tau 0.5 --topk_alpha 20 --lr 0.005 --MPCL_alpha 0.5 \
--output result_mainpaper
```
## Reproduce the experiment results in the paper
Please run all bash files in `scripts` with the following command.
```
cd ./scripts
bash PACS.sh dg5.sh subdomain_net.sh
```

# Performance
The visualization of results will be saved in `result_*` after training.
The visualization of results will be saved in `result_*` (you can customize the file name) after training. The following table reports the experiment results of running RaTP on PACS.
![Results](./fig/results_PACS.png)

# Citation
```
Expand Down
Binary file added fig/results_PACS.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e1a9032

Please sign in to comment.