forked from Luodian/Generalizable-Mixture-of-Experts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun.sh
8 lines (8 loc) · 1.79 KB
/
run.sh
1
2
3
4
5
6
7
8
CUDA_VISIBLE_DEVICES=4 nohup python3 -m domainbed.scripts.train --data_dir=./domainbed/data/ --algorithm VIT --dataset OfficeHome --test_env 0 --output_dir log/OfficeHome/VIT/domain0 >log/OfficeHome/VIT/domain0/nohup.log 2>&1 &
CUDA_VISIBLE_DEVICES=5 nohup python3 -m domainbed.scripts.train --data_dir=./domainbed/data/ --algorithm VIT --dataset OfficeHome --test_env 1 --output_dir log/OfficeHome/VIT/domain1 >log/OfficeHome/VIT/domain1/nohup.log 2>&1 &
CUDA_VISIBLE_DEVICES=6 nohup python3 -m domainbed.scripts.train --data_dir=./domainbed/data/ --algorithm VIT --dataset OfficeHome --test_env 2 --output_dir log/OfficeHome/VIT/domain2 >log/OfficeHome/VIT/domain2/nohup.log 2>&1 &
CUDA_VISIBLE_DEVICES=7 nohup python3 -m domainbed.scripts.train --data_dir=./domainbed/data/ --algorithm VIT --dataset OfficeHome --test_env 3 --output_dir log/OfficeHome/VIT/domain3 >log/OfficeHome/VIT/domain3/nohup.log 2>&1 &
CUDA_VISIBLE_DEVICES=4 nohup python3 -m domainbed.scripts.train --data_dir=./domainbed/data/ --algorithm GMOE --dataset OfficeHome --test_env 0 --output_dir log/OfficeHome/GMOE/domain0 >log/OfficeHome/GMOE/domain0/nohup.log 2>&1 &
CUDA_VISIBLE_DEVICES=5 nohup python3 -m domainbed.scripts.train --data_dir=./domainbed/data/ --algorithm GMOE --dataset OfficeHome --test_env 1 --output_dir log/OfficeHome/GMOE/domain1 >log/OfficeHome/GMOE/domain1/nohup.log 2>&1 &
CUDA_VISIBLE_DEVICES=6 nohup python3 -m domainbed.scripts.train --data_dir=./domainbed/data/ --algorithm GMOE --dataset OfficeHome --test_env 2 --output_dir log/OfficeHome/GMOE/domain2 >log/OfficeHome/GMOE/domain2/nohup.log 2>&1 &
CUDA_VISIBLE_DEVICES=7 nohup python3 -m domainbed.scripts.train --data_dir=./domainbed/data/ --algorithm GMOE --dataset OfficeHome --test_env 3 --output_dir log/OfficeHome/GMOE/domain3 >log/OfficeHome/GMOE/domain3/nohup.log 2>&1 &