examples icon indicating copy to clipboard operation
examples copied to clipboard

The casting problem on the result of the model.

Open spnova12 opened this issue 7 years ago • 0 comments

In super_resolve.py, line 35, I think 'np.uint8(out_img_y[0])' should be 'np.uint8(out_img_y[0] + 0.5)'. This is because the value after the decimal point is discarded when casting. Would not rounding be better than discarding?

spnova12 avatar Nov 01 '18 11:11 spnova12