File size: 730 Bytes
a0fd507
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
#!/bin/sh
nvidia-smi

python -m domainbed.scripts.sweep delete_incomplete\
       --data_dir=./dataset \
       --output_dir=./sweep/$1 \
       --command_launcher $5\
       --algorithms ERM\
       --datasets $2\
       --n_hparams 1\
       --n_trials_from $3 \
       --n_trials $4 \
     --single_test_envs \
     --hparams "{\"backbone\": \"$1\"}" \
     --skip_confirmation

python -m domainbed.scripts.sweep launch\
       --data_dir=./dataset \
       --output_dir=./sweep/$1 \
       --command_launcher $5\
       --algorithms ERM\
       --datasets $2\
       --n_hparams 1\
       --n_trials_from $3 \
       --n_trials $4 \
     --single_test_envs \
     --hparams "{\"backbone\": \"$1\"}" \
     --skip_confirmation