-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_celeba64.sh
executable file
·73 lines (67 loc) · 1.95 KB
/
run_celeba64.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
61
62
63
64
65
66
67
68
69
70
71
72
73
#! /bin/bash
## Celeba, these experiments run on 8 A100 GPUs.
python main.py \
-cc configs/default_celeba.txt \
--root './' \
--mode train \
--n_gpus_per_node 8 \
--training_batch_size 16 \
--testing_batch_size 32 \
--sampling_batch_size 64 \
--independent_log_gamma dis \
--f_learning_times 20 \
--image_gamma use \
--eta 0.2 \
--skip_type quad \
--cosine_lr_decay use \
--phi_learning_rate 0.00001 \
--f_learning_rate 0.00005 \
--n_discrete_steps 11 \
--n_train_iters 200000 \
--workdir ./work_dir/celeba_10steps\
--master_address 127.0.0.10 \
--master_port 6987
python main.py \
-cc configs/default_celeba.txt \
--root './' \
--mode train \
--n_gpus_per_node 8 \
--training_batch_size 16 \
--testing_batch_size 32 \
--sampling_batch_size 64 \
--independent_log_gamma dis \
--f_learning_times 20 \
--image_gamma use \
--eta 0.2 \
--skip_type quad \
--cosine_lr_decay use \
--phi_learning_rate 0.00001 \
--f_learning_rate 0.00005 \
--n_discrete_steps 16 \
--n_train_iters 200000 \
--workdir ./work_dir/celeba_15steps\
--master_address 127.0.0.10 \
--master_port 6987
#! Note that we adopt the former 10steps weights (best one for 5steps) as the pretrained weights for 5 steps model.
python main.py \
-cc configs/default_celeba.txt \
--root './' \
--mode train \
--n_gpus_per_node 8 \
--training_batch_size 16 \
--testing_batch_size 32 \
--sampling_batch_size 64 \
--independent_log_gamma dis \
--f_learning_times 20 \
--image_gamma use \
--eta 0.2 \
--skip_type quad \
--cosine_lr_decay use \
--phi_learning_rate 0.000001 \
--f_learning_rate 0.000005 \
--n_discrete_steps 6 \
--pretrained_model ./pretrained_model/checkpoint_40000.pth\
--n_train_iters 200000 \
--workdir ./work_dir/celeba_5steps\
--master_address 127.0.0.10 \
--master_port 6987