From 620bd9c32843355c19df6daf83aeb9a3519c6af5 Mon Sep 17 00:00:00 2001 From: nagadomi Date: Mon, 16 Nov 2015 13:44:49 +0900 Subject: [PATCH] Fix undefined variable in convert_data.lua --- convert_data.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/convert_data.lua b/convert_data.lua index 3974e20..7110415 100644 --- a/convert_data.lua +++ b/convert_data.lua @@ -20,7 +20,7 @@ local function load_images(list) else im = iproc.crop_mod4(im) local scale = 1.0 - if settings.random_half then + if settings.random_half_rate > 0.0 then scale = 2.0 end if im then