0
点赞
收藏
分享

微信扫一扫

TypeError: color must be int or single-element tuple

互联网码农 2022-04-25 阅读 72
pytorch

return im._new(core.fill(mode, size, color))

出现文章开头这个错误,前面全是Image 里面函数的错误。我是pytorch版本太低了,重新安装新版本后运行成功
 

举报

相关推荐

0 条评论