for_web
for_web
This error comes from "function Runner:submit(samples)" in file runnner.lua Specifically, it comes from the line code of this function: adcensus.writePNG16(pred_img, img.height, img.width, s) where 's' is the path for saving....
I have the same problem. Do you have a solution for this?
It works. Thank you :+1:
Variable s should be outside of a FOR loop. If it is inside, it always resets to value 1 for each repeat. if type == 'float32' then --x = torch.FloatTensor(torch.FloatStorage(fname))...
I solved the problem. In main.lua file, change vols = torch.CudaTensor(2, disp_max, x_batch:size(3), x_batch:size(4)):fill(0 / 0) vol = torch.CudaTensor(1, disp_max, output:size(3), output:size(4)):fill(0 / 0) to vols = torch.CudaTensor(2, disp_max, x_batch:size(3),...