浏览代码

Update upconv_7/art/scale2.0x model; Fix mesh-artifact

nagadomi 9 年之前
父节点
当前提交
93511a2a9f
共有 3 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      appendix/train_upconv_7_art.sh
  2. 0 0
      models/upconv_7/art/scale2.0x_model.json
  3. 0 0
      models/upconv_7/art/scale2.0x_model.t7

+ 3 - 1
appendix/train_upconv_7_art.sh

@@ -4,7 +4,9 @@
 th convert_data.lua -max_training_image_size 1600
 
 # scale
-th train.lua -save_history 1 -scale 2 -model upconv_7 -method scale -model_dir models/test/upconv_7_rev5 -downsampling_filters "Box,Sinc" -test query/pixel-art-small.png -backend cudnn -thread 4 -oracle_rate 0.05
+# after train, I selected `scale2.0x_model.86-1.t7`, because seemingly this model is best mesh-artifact free model. Maybe visual testing is required.
+# ref: https://github.com/nagadomi/waifu2x/issues/125
+th train.lua -save_history 1 -scale 2 -model upconv_7 -method scale -model_dir models/test/upconv_7_rev5 -downsampling_filters "Box,Sinc" -test query/pixel-art-small.png -backend cudnn -thread 4 -oracle_rate 0.0 -inner_epoch 2 -epoch 100
 
 # noise_scale
 

文件差异内容过多而无法显示
+ 0 - 0
models/upconv_7/art/scale2.0x_model.json


文件差异内容过多而无法显示
+ 0 - 0
models/upconv_7/art/scale2.0x_model.t7


部分文件因为文件数量过多而无法显示