1
0
Fork 0
mirror of synced 2024-06-13 00:14:31 +12:00

Fix error in video conversion

This commit is contained in:
nagadomi 2015-12-05 02:13:32 +09:00
parent acdc29c25c
commit c4df6f11f4

View file

@ -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))