pytorch/examples

The casting problem on the result of the model.

開放

#433 建立於 2018年11月1日

 (0 則留言) (0 個反應) (0 位負責人)Python (9,429 個分叉)batch import
good first issue

倉庫指標

星標
 (21,634 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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?

貢獻者指南