1
0
Fork 0
mirror of synced 2024-06-01 10:39:30 +12:00
This commit is contained in:
nagadomi 2015-11-07 07:38:45 +09:00
parent 84c38baab7
commit 15f3f2d901

View file

@ -152,7 +152,7 @@ function pairwise_transform.jpeg_(src, quality, size, offset, n, options)
xc = image.rgb2yuv(xc)[1]:reshape(1, xc:size(2), xc:size(3))
end
if torch.uniform() < options.nr_rate then
-- reductiong noise
-- reducing noise
table.insert(batch, {xc, iproc.crop(yc, offset, offset, size - offset, size - offset)})
else
-- ratain useful details