修复
Browse files- cyclegan.py +4 -0
cyclegan.py
CHANGED
|
@@ -14,6 +14,10 @@ class CYCLEGAN(object):
|
|
| 14 |
# model_path指向logs文件夹下的权值文件
|
| 15 |
#-----------------------------------------------#
|
| 16 |
"model_path" : 'model_data/G_model_B2A_last_epoch_weights.pth',
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
#-------------------------------#
|
| 18 |
# 是否使用Cuda
|
| 19 |
# 没有GPU可以设置成False
|
|
|
|
| 14 |
# model_path指向logs文件夹下的权值文件
|
| 15 |
#-----------------------------------------------#
|
| 16 |
"model_path" : 'model_data/G_model_B2A_last_epoch_weights.pth',
|
| 17 |
+
#-----------------------------------------------#
|
| 18 |
+
# 输入图像大小的设置
|
| 19 |
+
#-----------------------------------------------#
|
| 20 |
+
"input_shape" : [112, 112],
|
| 21 |
#-------------------------------#
|
| 22 |
# 是否使用Cuda
|
| 23 |
# 没有GPU可以设置成False
|