nagadomi 9 年 前
コミット
15f3f2d901
1 ファイル変更1 行追加1 行削除
  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))
       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