pytorch/examples
The casting problem on the result of the model.
Aberta
#433 aberto em 1 de nov. de 2018
good first issue
Métricas do repositório
- Stars
- (21.634 estrelas)
- Métricas de merge de PR
- (Métricas PR pendentes)
Description
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?