1 Star 0 Fork 0

Hui Li(李辉)/densefuse-pytorch

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
args_fusion.py 1.04 KB
一键复制 编辑 原始数据 按行查看 历史
Hui Li(李辉) 提交于 5年前 . args
class args():
# training args
epochs = 4 #"number of training epochs, default is 2"
batch_size = 4 #"batch size for training, default is 4"
dataset = "MSCOCO 2014 path"
HEIGHT = 256
WIDTH = 256
save_model_dir = "models" #"path to folder where trained model will be saved."
save_loss_dir = "models/loss" # "path to folder where trained model will be saved."
image_size = 256 #"size of training images, default is 256 X 256"
cuda = 1 #"set it to 1 for running on GPU, 0 for CPU"
seed = 42 #"random seed for training"
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 = 5 #"number of images after which the training loss is logged, default is 500"
resume = None
resume_auto_en = None
resume_auto_de = None
resume_auto_fn = None
# for test Final_cat_epoch_9_Wed_Jan__9_04_16_28_2019_1.0_1.0.model
model_path_gray = "./models/densefuse_gray.model"
model_path_rgb = "./models/densefuse_rgb.model"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/hli1221/densefuse-pytorch.git
git@gitee.com:hli1221/densefuse-pytorch.git
hli1221
densefuse-pytorch
densefuse-pytorch
master

搜索帮助