-
Notifications
You must be signed in to change notification settings - Fork 2
/
batch+train.py
33 lines (28 loc) · 7.4 KB
/
batch+train.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
import os
cmds = [
"python train.py -m ours -ms F16B2 -d D:\\实验\\影像融合\\IKONOS\\train_dataset -td D:\\实验\\影像融合\\IKONOS\\test_dataset -sd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\results\\IKONOS\\result -cd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\checkpoints\\IKONOS\\checkpoints_dir",
"python train.py -m ours -ms F16B4 -d D:\\实验\\影像融合\\IKONOS\\train_dataset -td D:\\实验\\影像融合\\IKONOS\\test_dataset -sd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\results\\IKONOS\\result -cd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\checkpoints\\IKONOS\\checkpoints_dir",
"python train.py -m ours -ms F16B6 -d D:\\实验\\影像融合\\IKONOS\\train_dataset -td D:\\实验\\影像融合\\IKONOS\\test_dataset -sd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\results\\IKONOS\\result -cd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\checkpoints\\IKONOS\\checkpoints_dir",
"python train.py -m ours -ms F16B8 -d D:\\实验\\影像融合\\IKONOS\\train_dataset -td D:\\实验\\影像融合\\IKONOS\\test_dataset -sd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\results\\IKONOS\\result -cd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\checkpoints\\IKONOS\\checkpoints_dir",
"python train.py -m ours -ms F32B2 -d D:\\实验\\影像融合\\IKONOS\\train_dataset -td D:\\实验\\影像融合\\IKONOS\\test_dataset -sd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\results\\IKONOS\\result -cd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\checkpoints\\IKONOS\\checkpoints_dir",
"python train.py -m ours -ms F32B4 -d D:\\实验\\影像融合\\IKONOS\\train_dataset -td D:\\实验\\影像融合\\IKONOS\\test_dataset -sd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\results\\IKONOS\\result -cd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\checkpoints\\IKONOS\\checkpoints_dir",
"python train.py -m ours -ms F32B6 -d D:\\实验\\影像融合\\IKONOS\\train_dataset -td D:\\实验\\影像融合\\IKONOS\\test_dataset -sd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\results\\IKONOS\\result -cd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\checkpoints\\IKONOS\\checkpoints_dir",
"python train.py -m ours -ms F32B8 -d D:\\实验\\影像融合\\IKONOS\\train_dataset -td D:\\实验\\影像融合\\IKONOS\\test_dataset -sd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\results\\IKONOS\\result -cd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\checkpoints\\IKONOS\\checkpoints_dir",
"python train.py -m ours -ms F48B2 -d D:\\实验\\影像融合\\IKONOS\\train_dataset -td D:\\实验\\影像融合\\IKONOS\\test_dataset -sd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\results\\IKONOS\\result -cd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\checkpoints\\IKONOS\\checkpoints_dir",
"python train.py -m ours -ms F48B4 -d D:\\实验\\影像融合\\IKONOS\\train_dataset -td D:\\实验\\影像融合\\IKONOS\\test_dataset -sd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\results\\IKONOS\\result -cd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\checkpoints\\IKONOS\\checkpoints_dir",
"python train.py -m ours -ms F48B6 -d D:\\实验\\影像融合\\IKONOS\\train_dataset -td D:\\实验\\影像融合\\IKONOS\\test_dataset -sd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\results\\IKONOS\\result -cd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\checkpoints\\IKONOS\\checkpoints_dir",
"python train.py -m ours -ms F48B8 -d D:\\实验\\影像融合\\IKONOS\\train_dataset -td D:\\实验\\影像融合\\IKONOS\\test_dataset -sd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\results\\IKONOS\\result -cd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\checkpoints\\IKONOS\\checkpoints_dir",
"python train.py -m ours -ms F64B2 -d D:\\实验\\影像融合\\IKONOS\\train_dataset -td D:\\实验\\影像融合\\IKONOS\\test_dataset -sd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\results\\IKONOS\\result -cd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\checkpoints\\IKONOS\\checkpoints_dir",
"python train.py -m ours -ms F64B4 -d D:\\实验\\影像融合\\IKONOS\\train_dataset -td D:\\实验\\影像融合\\IKONOS\\test_dataset -sd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\results\\IKONOS\\result -cd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\checkpoints\\IKONOS\\checkpoints_dir",
"python train.py -m ours -ms F64B6 -d D:\\实验\\影像融合\\IKONOS\\train_dataset -td D:\\实验\\影像融合\\IKONOS\\test_dataset -sd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\results\\IKONOS\\result -cd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\checkpoints\\IKONOS\\checkpoints_dir",
"python train.py -m ours -ms F64B8 -d D:\\实验\\影像融合\\IKONOS\\train_dataset -td D:\\实验\\影像融合\\IKONOS\\test_dataset -sd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\results\\IKONOS\\result -cd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\checkpoints\\IKONOS\\checkpoints_dir",
]
for cmd in cmds:
os.system(cmd)
# python train.py -m ours -ms F64B2SR_PLB_PHB_AEL -d D:\\实验\\影像融合\\QuickBird\\dataset\\train_dataset -td D:\\实验\\影像融合\\QuickBird\\dataset\\test_dataset -sd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\results\\QuickBird\\result -cd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\checkpoints\\QuickBird\\checkpoints_dir
# python train.py -m ours -ms F64B2SR_PLB_PHB_AEH -d D:\\实验\\影像融合\\QuickBird\\dataset\\train_dataset -td D:\\实验\\影像融合\\QuickBird\\dataset\\test_dataset -sd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\results\\QuickBird\\result -cd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\checkpoints\\QuickBird\\checkpoints_dir
# python train.py -m ours -ms F64B2SR_PLB_PHB_AEL -d D:\\实验\\影像融合\\WashingtonDC_View-Ready_8_Band_Bundle_40cm\\055675869040\\dataset\\train_dataset -td D:\\实验\\影像融合\\WashingtonDC_View-Ready_8_Band_Bundle_40cm\\055675869040\\dataset\\test_dataset -sd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\results\\WV2\\result -cd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\checkpoints\\WV2\\checkpoints_dir -pc 1 -mc 8
# python train.py -m ours -ms F64B2SR_PLB_PHB_AEH -d D:\\实验\\影像融合\\WashingtonDC_View-Ready_8_Band_Bundle_40cm\\055675869040\\dataset\\train_dataset -td D:\\实验\\影像融合\\WashingtonDC_View-Ready_8_Band_Bundle_40cm\\055675869040\\dataset\\test_dataset -sd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\results\\WV2\\result -cd D:\\实验\\影像融合\\Deep-Learning-PanSharpening\\checkpoints\\WV2\\checkpoints_dir -pc 1 -mc 8
# for sentinel2 60m -> 10m
# python train.py -m ours -d H:\\shouxian_sentinel\\T50SMA\\s2_pansharpen_data\\dataset\\train_dataset -td H:\\shouxian_sentinel\\T50SMA\\s2_pansharpen_data\\dataset\\test_dataset -sd H:\\shouxian_sentinel\\T50SMA\\s2_pansharpen_data\\dataset\\result -cd H:\\shouxian_sentinel\\T50SMA\\s2_pansharpen_data\\dataset\\checkpoints_dir -pc 4 -mc 3 -sa 6 -bs 12
# python _test.py -m ours -d H:\\shouxian_sentinel\\T50SMA\\s2_pansharpen_data\\dataset\\train_dataset -td H:\\shouxian_sentinel\\T50SMA\\s2_pansharpen_data\\dataset\\test_dataset -sd H:\\shouxian_sentinel\\T50SMA\\s2_pansharpen_data\\dataset\\result -cd H:\\shouxian_sentinel\\T50SMA\\s2_pansharpen_data\\dataset\\checkpoints_dir -pc 4 -mc 3 -sa 6