nagadomi 9 gadi atpakaļ
vecāks
revīzija
15f3f2d901
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      lib/pairwise_transform.lua

+ 1 - 1
lib/pairwise_transform.lua

@@ -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))
 	 xc = image.rgb2yuv(xc)[1]:reshape(1, xc:size(2), xc:size(3))
       end
       end
       if torch.uniform() < options.nr_rate then
       if torch.uniform() < options.nr_rate then
-	 -- reductiong noise
+	 -- reducing noise
 	 table.insert(batch, {xc, iproc.crop(yc, offset, offset, size - offset, size - offset)})
 	 table.insert(batch, {xc, iproc.crop(yc, offset, offset, size - offset, size - offset)})
       else
       else
 	 -- ratain useful details
 	 -- ratain useful details