Kaynağa Gözat

Fix denoising benchmark

nagadomi 9 yıl önce
ebeveyn
işleme
dde2cdf294
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      tools/benchmark.lua

+ 1 - 1
tools/benchmark.lua

@@ -76,7 +76,7 @@ local function transform_jpeg(x, opt)
       jpeg:fromBlob(blob, len)
       x = jpeg:toTensor("byte", "RGB", "DHW")
    end
-   return x
+   return iproc.byte2float(x)
 end
 local function baseline_scale(x, filter)
    return iproc.scale(x,