加一句

torch.backends.cudnn.enabled = False

 

不行再查看cuda、python、pytorch、cudnn的版本兼容问题

posted on 2020-02-18 11:33  Manuel  阅读(1507)  评论(0编辑  收藏  举报