forked from hli1221/imagefusion-nestfuse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
args_fusion.py
28 lines (21 loc) · 901 Bytes
/
args_fusion.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
class args():
# training args
epochs = 2 #"number of training epochs, default is 2"
batch_size = 4 #"batch size for training, default is 4"
# the COCO dataset path in your computer
# URL: http://images.cocodataset.org/zips/train2014.zip
dataset = "/data/Disk_B/MSCOCO2014/train2014/"
HEIGHT = 256
WIDTH = 256
save_model_dir_autoencoder = "models/nestfuse_autoencoder"
save_loss_dir = './models/loss_autoencoder/'
cuda = 1
ssim_weight = [1,10,100,1000,10000]
ssim_path = ['1e0', '1e1', '1e2', '1e3', '1e4']
lr = 1e-4 #"learning rate, default is 0.001"
lr_light = 1e-4 # "learning rate, default is 0.001"
log_interval = 10 #"number of images after which the training loss is logged, default is 500"
resume = None
# for test, model_default is the model used in paper
model_default = './models/nestfuse_1e2.model'
model_deepsuper = './models/nestfuse_1e2_deep_super.model'