
pytorch
文章平均质量分 64
qianchess
理工男
展开
-
torch.cuda.is_available()返回false的解决办法
在使用pytorch的时候,有时会遇到torch.cuda.is_available()返回false的问题,一般出现这个的原因是因为驱动没有安装好的缘故。解决的方案是:1、安装nvidia相应的驱动版本和对应的cuda和cudnn。sudo add-apt-repository ppa:graphics-drivers/ppasudo apt updatesudo apt inst...原创 2018-12-25 22:11:43 · 100440 阅读 · 2 评论 -
Ubuntu16 安装cocoapi中的x86_64-linux-gnu-gcc: error: pycocotools/_mask.c: No such file or directory 问题
在官方的github的issue中大家讨论了这个问题:https://github.com/cocodataset/cocoapi/issues/172最全面的方案如下 whether you have installed cython in the correct version. Namely you should install cython for python2/3 if ...原创 2019-01-16 15:19:57 · 5248 阅读 · 5 评论