-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtrain_domainnet.sh
60 lines (52 loc) · 2.13 KB
/
train_domainnet.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#!/bin/bash
step='UODA'
date='0404'
method='UODA'
model='resnet34'
LR=0.01
num=3
device_id=0
main_file='main.py'
dataset='multi'
source=real
target=clipart
CUDA_VISIBLE_DEVICES=$device_id python $main_file \
--method $method --dataset $dataset \
--source $source --target $target --net $model --lr $LR --num $num \
> './semi_baselines_logs/'$source'_to_'$target'_'$method'_'$num'_'$model'_'$date'_'$step'_'$LR'.file'
source=real
target=painting
CUDA_VISIBLE_DEVICES=$device_id python $main_file \
--method $method --dataset $dataset \
--source $source --target $target --net $model --lr $LR --num $num \
> './semi_baselines_logs/'$source'_to_'$target'_'$method'_'$num'_'$model'_'$date'_'$step'_'$LR'.file'
source=painting
target=clipart
CUDA_VISIBLE_DEVICES=$device_id python $main_file \
--method $method --dataset $dataset \
--source $source --target $target --net $model --lr $LR --num $num \
> './semi_baselines_logs/'$source'_to_'$target'_'$method'_'$num'_'$model'_'$date'_'$step'_'$LR'.file'
source=clipart
target=sketch
CUDA_VISIBLE_DEVICES=$device_id python $main_file \
--method $method --dataset $dataset \
--source $source --target $target --net $model --lr $LR --num $num \
> './semi_baselines_logs/'$source'_to_'$target'_'$method'_'$num'_'$model'_'$date'_'$step'_'$LR'.file'
source=sketch
target=painting
CUDA_VISIBLE_DEVICES=$device_id python $main_file \
--method $method --dataset $dataset \
--source $source --target $target --net $model --lr $LR --num $num \
> './semi_baselines_logs/'$source'_to_'$target'_'$method'_'$num'_'$model'_'$date'_'$step'_'$LR'.file'
source=real
target=sketch
CUDA_VISIBLE_DEVICES=$device_id python $main_file \
--method $method --dataset $dataset \
--source $source --target $target --net $model --lr $LR --num $num \
> './semi_baselines_logs/'$source'_to_'$target'_'$method'_'$num'_'$model'_'$date'_'$step'_'$LR'.file'
ssource=painting
target=real
CUDA_VISIBLE_DEVICES=$device_id python $main_file \
--method $method --dataset $dataset \
--source $source --target $target --net $model --lr $LR --num $num \
> './semi_baselines_logs/'$source'_to_'$target'_'$method'_'$num'_'$model'_'$date'_'$step'_'$LR'.file'