-
Notifications
You must be signed in to change notification settings - Fork 11
/
demo.sh
executable file
·43 lines (42 loc) · 1.05 KB
/
demo.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
LOG_DIR="log/"
DATA_DIR="dataset/data/"
RELOAD_MODEL_PATH="./trained_models/3dsnet_models/chairs/meshflow/3dsnet"
python train.py \
--decoder_type="atlasnet" \
--demo \
--data_dir=$DATA_DIR \
--dir_name=$LOG_DIR \
--reload_model_path="$RELOAD_MODEL_PATH" \
--batch_size=4 \
--batch_size_test=4 \
--class_choice "cats" "cows" \
--generator_norm "bn" \
--discriminator_norm "bn" \
--discriminator_activation "relu" \
--dis_bottleneck_size 1024 \
--style_bottleneck_size 512 \
--generator_lrate 0.001 \
--discriminator_lrate 0.004 \
--batch_size=16 \
--generator_update_skips=1 \
--discriminator_update_skips=1 \
--num_layers=2 \
--num_layers_style=1 \
--nb_primitives=25 \
--template_type=SQUARE \
--weight_chamfer=10 \
--weight_cycle_chamfer=0 \
--weight_adversarial=1 \
--weight_content_reconstruction=1 \
--weight_style_reconstruction=1 \
--lr_decay_1=120 \
--lr_decay_2=140 \
--lr_decay_3=145 \
--decode_style \
--share_decoder \
--share_content_encoder \
--share_discriminator_encoder \
--gan_type "lsgan" \
--adaptive \
--noise_magnitude=1.0 \
--num_interpolations=60