-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMain_Script_Executor.py
75 lines (53 loc) · 4.29 KB
/
Main_Script_Executor.py
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
74
75
"""
No@
"""
import os
Schedule = []
# ========= EXPERIMENTS TRAINING WITH in the same image (MG_10m) ============
# Schedule.append("python main.py --generator unet --discriminator pix2pix --phase train \
# --batch_size 1 --epoch 60 --dataset_name MG_10m \
# --datasets_dir ../../Datasets/ --image_size_tr 128 \
# --patch_overlap 0.0 --date both\
# --checkpoint_dir ./checkpoint --sample_dir ./sample --test_dir ./test")
# Schedule.append("python main.py --generator unet --discriminator pix2pix --phase generate_complete_image \
# --batch_size 1 --epoch 60 --dataset_name MG_10m \
# --datasets_dir ../../Datasets/ --image_size_tr 128 \
# --patch_overlap 0.0 --date both\
# --checkpoint_dir ./checkpoint --sample_dir ./sample --test_dir ./test")
# Schedule.append("python main.py --generator deeplab --discriminator atrous --phase train \
# --batch_size 2 --epoch 60 --dataset_name MG_10m \
# --datasets_dir ../../Datasets/ --image_size_tr 256 --output_stride 16 \
# --patch_overlap 0.35 --date both\
# --checkpoint_dir ./checkpoint --sample_dir ./sample --test_dir ./test")
# Schedule.append("python main.py --generator deeplab --discriminator atrous --phase generate_complete_image \
# --batch_size 2 --epoch 60 --dataset_name MG_10m \
# --datasets_dir ../../Datasets/ --image_size_tr 256 --output_stride 16 \
# --patch_overlap 0.35 --date both\
# --checkpoint_dir ./checkpoint --sample_dir ./sample --test_dir ./test")
# Schedule.append("python main.py --phase GEE_metrics --dataset_name MG_10m --test_dir ./test")
# Schedule.append("python main.py --phase Meraner_metrics --dataset_name MG_10m --test_dir ./test")
# ========= EXPERIMENTS TRAINING WITH in the same image (Para_10m) ============
# Schedule.append("python main.py --generator unet --discriminator pix2pix --phase train \
# --batch_size 1 --epoch 60 --dataset_name Para_10m \
# --datasets_dir ../../Datasets/ --image_size_tr 128 \
# --patch_overlap 0.0 --date both\
# --checkpoint_dir ./checkpoint --sample_dir ./sample --test_dir ./test")
# Schedule.append("python main.py --generator unet --discriminator pix2pix --phase generate_complete_image \
# --batch_size 1 --epoch 60 --dataset_name Para_10m \
# --datasets_dir ../../Datasets/ --image_size_tr 128 \
# --patch_overlap 0.0 --date both\
# --checkpoint_dir ./checkpoint --sample_dir ./sample --test_dir ./test")
Schedule.append("python main.py --generator deeplab --discriminator atrous --phase train \
--batch_size 2 --epoch 60 --dataset_name Para_10m \
--datasets_dir ../../Datasets/ --image_size_tr 256 --output_stride 16 \
--patch_overlap 0.4 --date both\
--checkpoint_dir ./checkpoint --sample_dir ./sample --test_dir ./test")
Schedule.append("python main.py --generator deeplab --discriminator atrous --phase generate_complete_image \
--batch_size 2 --epoch 60 --dataset_name Para_10m \
--datasets_dir ../../Datasets/ --image_size_tr 256 --output_stride 16 \
--patch_overlap 0.4 --date both\
--checkpoint_dir ./checkpoint --sample_dir ./sample --test_dir ./test")
# Schedule.append("python main.py --phase GEE_metrics --dataset_name Para_10m --test_dir ./test")
# Schedule.append("python main.py --phase Meraner_metrics --dataset_name Para_10m --test_dir ./test")
for i in range(len(Schedule)):
os.system(Schedule[i])