-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtrain_domainnet.sh
61 lines (53 loc) · 2.42 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
60
#!/bin/bash
step='ASDA'
date='1002'
method='ASDA'
model='resnet34'
LR=0.01
num=3
device_id=1
main_file='main_asda.py'
dataset='multi'
mmd_type='rbf'
source=real
target=clipart
CUDA_VISIBLE_DEVICES=$device_id python $main_file --mmd_type $mmd_type \
--method $method --dataset $dataset --name $step \
--source $source --target $target --net $model --lr $LR --num $num \
> '../semi_baselines_logs/'$source'_to_'$target'_'$method'_'$num'_'$step'_'$LR'.file'
# source=real
# target=painting
# CUDA_VISIBLE_DEVICES=$device_id python $main_file --mmd_type $mmd_type \
# --method $method --dataset $dataset --name $step \
# --source $source --target $target --net $model --lr $LR --num $num \
# > '../semi_baselines_logs/'$source'_to_'$target'_'$method'_'$num'_'$step'_'$LR'.file'
# source=painting
# target=clipart
# CUDA_VISIBLE_DEVICES=$device_id python $main_file --mmd_type $mmd_type \
# --method $method --dataset $dataset --name $step \
# --source $source --target $target --net $model --lr $LR --num $num \
# > '../semi_baselines_logs/'$source'_to_'$target'_'$method'_'$num'_'$step'_'$LR'.file'
# source=clipart
# target=sketch
# CUDA_VISIBLE_DEVICES=$device_id python $main_file --mmd_type $mmd_type \
# --method $method --dataset $dataset --name $step \
# --source $source --target $target --net $model --lr $LR --num $num --script $main_file \
# > '../semi_baselines_logs/'$source'_to_'$target'_'$method'_'$num'_'$step'_'$LR'.file'
# source=sketch
# target=painting
# CUDA_VISIBLE_DEVICES=$device_id python $main_file --mmd_type $mmd_type \
# --method $method --dataset $dataset --name $step \
# --source $source --target $target --net $model --lr $LR --num $num --script $main_file \
# > '../semi_baselines_logs/'$source'_to_'$target'_'$method'_'$num'_'$step'_'$LR'.file'
# source=real
# target=sketch
# CUDA_VISIBLE_DEVICES=$device_id python $main_file --mmd_type $mmd_type \
# --method $method --dataset $dataset --name $step \
# --source $source --target $target --net $model --lr $LR --num $num --script $main_file \
# > '../semi_baselines_logs/'$source'_to_'$target'_'$method'_'$num'_'$step'_'$LR'.file'
# source=painting
# target=real
# CUDA_VISIBLE_DEVICES=$device_id python $main_file --mmd_type $mmd_type \
# --method $method --dataset $dataset --name $step \
# --source $source --target $target --net $model --lr $LR --num $num --script $main_file \
# > '../semi_baselines_logs/'$source'_to_'$target'_'$method'_'$num'_'$step'_'$LR'.file'