forked from magenta/ddsp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
commands
70 lines (65 loc) · 2.43 KB
/
commands
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
# Test command
ddsp_run \
--mode=train \
--alsologtostderr \
--save_dir="$RESULTS_DIR/$(date)" \
--gin_file=models/solo_instrument.gin \
--gin_file=datasets/tfrecord.gin \
--gin_param="TFRecordProvider.file_pattern='$URMP_MONO'" \
--gin_param="batch_size=2" \
--gin_param="train_util.train.num_steps=120" \
--gin_param="train_util.train.steps_per_save=5" \
--gin_param="train_util.train.steps_per_summary=1" \
--gin_param="trainers.Trainer.checkpoints_to_keep=10"
# Pure GAN
ddsp_run \
--mode=train \
--alsologtostderr \
--save_dir="$RESULTS_DIR/$(date)" \
--gin_file=models/ddsp_gan.gin \
--gin_file=datasets/tfrecord.gin \
--gin_param="TFRecordProvider.file_pattern='$URMP_MONO'" \
--gin_param="batch_size=2" \
--gin_param="train_util.train.num_steps=20" \
--gin_param="train_util.train.steps_per_save=20" \
--gin_param="train_util.train.steps_per_summary=1" \
--gin_param="trainers.Trainer.checkpoints_to_keep=10"
# Mixed architecture
ddsp_run \
--mode=train \
--alsologtostderr \
--save_dir="$RESULTS_DIR/ddsp_gan_ae" \
--gin_file=models/ddsp_gan_ae.gin \
--gin_file=datasets/tfrecord.gin \
--gin_param="TFRecordProvider.file_pattern='$URMP_MONO'" \
--gin_param="batch_size=16" \
--gin_param="train_util.train.num_steps=12000" \
--gin_param="train_util.train.steps_per_save=300" \
--gin_param="train_util.train.steps_per_summary=100" \
--gin_param="trainers.Trainer.checkpoints_to_keep=10"
# Standard DDSP
ddsp_run \
--mode=train \
--alsologtostderr \
--save_dir="$RESULTS_DIR/ddsp_ae_baseline" \
--gin_file=models/ae.gin \
--gin_file=datasets/tfrecord.gin \
--gin_param="TFRecordProvider.file_pattern='$URMP_MONO'" \
--gin_param="batch_size=16" \
--gin_param="train_util.train.num_steps=12000" \
--gin_param="train_util.train.steps_per_save=300" \
--gin_param="train_util.train.steps_per_summary=100" \
--gin_param="trainers.Trainer.checkpoints_to_keep=10"
# Mixed architecture with constant z
ddsp_run \
--mode=train \
--alsologtostderr \
--save_dir="$RESULTS_DIR/ddsp_constant_z" \
--gin_file=models/ddsp_gan_constant_z.gin \
--gin_file=datasets/tfrecord.gin \
--gin_param="TFRecordProvider.file_pattern='$URMP_MONO'" \
--gin_param="batch_size=16" \
--gin_param="train_util.train.num_steps=12000" \
--gin_param="train_util.train.steps_per_save=300" \
--gin_param="train_util.train.steps_per_summary=100" \
--gin_param="trainers.Trainer.checkpoints_to_keep=2"