소스 검색

Fix error in video conversion

nagadomi 9 년 전
부모
커밋
c4df6f11f4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      waifu2x.lua

+ 1 - 1
waifu2x.lua

@@ -134,7 +134,7 @@ local function convert_frames(opt)
 	    new_x = image_f(noise1_model, x, opt.crop_size)
 	    new_x = alpha_util.composite(new_x, alpha)
 	 elseif opt.m == "noise" and opt.noise_level == 2 then
-	    new_x = image_func(noise2_model, x, opt.crop_size)
+	    new_x = image_f(noise2_model, x, opt.crop_size)
 	    new_x = alpha_util.composite(new_x, alpha)
 	 elseif opt.m == "scale" then
 	    x = alpha_util.make_border(x, alpha, reconstruct.offset_size(scale_model))