使用vutil.save保存圖片出現(xiàn)result type Float can't be cast to the desired output type Long報(bào)錯(cuò)的解決方法
將(real_image, pred_image) 改為(real_image, pred_image.float())
使用vutil.save保存圖片出現(xiàn)result type Float can't be cast to the desired output type Long報(bào)錯(cuò)的解決方法
將(real_image, pred_image) 改為(real_image, pred_image.float())