Fix undefined variable in convert_data.lua
This commit is contained in:
parent
7c9933865c
commit
620bd9c328
|
@ -20,7 +20,7 @@ local function load_images(list)
|
||||||
else
|
else
|
||||||
im = iproc.crop_mod4(im)
|
im = iproc.crop_mod4(im)
|
||||||
local scale = 1.0
|
local scale = 1.0
|
||||||
if settings.random_half then
|
if settings.random_half_rate > 0.0 then
|
||||||
scale = 2.0
|
scale = 2.0
|
||||||
end
|
end
|
||||||
if im then
|
if im then
|
||||||
|
|
Loading…
Reference in a new issue