caffe跑试验遇到错误:Check failed: error == cudaSuccess (2 vs. 0) out of memory
来源:互联网 发布:细菌发电数据 编辑:程序博客网 时间:2024/06/05 10:04
caffe跑试验遇到错误:Check failed: error == cudaSuccess (2 vs. 0) out of memory
运行程序,通过下列命令:
6G的1060跑VGG16的SSD跑不动啊!
watch -n 1 nvidia-smi
可以看到显存很快超载
我也碰到了这个问题,我直接设置的batch等于1,因为我学习DIGITS时候发现,就算使用batch等于1,然后训练FCNAlexnet的话,一般gpu的使用率也在peak上,DIGITS本来感觉是个神器,不过等到做自己的数据集的时候(13400张路况图片的时候就无法生成dataset了)。
我看stackflow里面的回答
1.减小mini_batch
2.减小图片大小
3.升级GPU(stackflow里面一般都是8G-12G的,别的CS的实验室好像直接就用的GTX 1080,可以考虑)
作者:冯姆姆
链接:https://www.zhihu.com/question/41700499/answer/182979714
来源:知乎
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
https://www.zhihu.com/question/33505655
阅读全文
0 0
- 【caffe跑试验遇到错误:Check failed: error == cudaSuccess (2 vs. 0) out of memory】
- caffe跑试验遇到错误:Check failed: error == cudaSuccess (2 vs. 0) out of memory
- caffe跑试验遇到错误:Check failed: error == cudaSuccess (2 vs. 0) out of memory
- 【caffe跑试验遇到错误:Check failed: error == cudaSuccess (2 vs. 0) out of memory】
- caffe在训练时遇到:Check failed: error == cudaSuccess (2 vs. 0) out of memory
- Caffe | Check failed: error == cudaSuccess (2 vs. 0) out of memory
- Caffe FCN Test | Check failed: error == cudaSuccess (2 vs. 0) out of memory
- caffe训练过程中显示Check failed:error == cudaSuccess(2 vs. 0) out of memory
- Check failed: error == cudaSuccess (2 vs. 0) out of memory Abort(core dumped)
- Check failed: error == cudaSuccess (2 vs. 0) out of memory
- caffe failed: error == cudaSuccess (2 vs. 0) out of memory
- caffe 报错 Check failed: error == cudaSuccess (77 vs. 0) an illegal memory access was encountered
- caffe:cudaSuccess (2 vs. 0) out of memory
- caffe运行错误: im2col.cu:61] Check failed: error == cudaSuccess (8 vs. 0) invalid device function
- 【caffe】 Check failed: error == cudaSuccess (30 vs. 0) unknown error
- caffe-windows10 安装问题 Check failed: error == cudaSuccess (8 vs.0) invalid device function
- CUDA/caffe ERROR:cudaGetDeviceCount returned 30/35,Check failed: error == cudaSuccess (30/35 vs. 0)
- 配置SSD-caffe测试时出现“Check failed: error == cudaSuccess (10 vs. 0) invalid device ordinal”解决
- HDU --- 3861 The King’s Problem 【强联通缩点 + 最小路径覆盖】
- 对Linux中inode的感悟
- Android (拍照功能)
- 使用apidoc 生成Restful web Api文档
- [转]彻底解决WPS弹出热点广告、WPS购物图标的办法
- caffe跑试验遇到错误:Check failed: error == cudaSuccess (2 vs. 0) out of memory
- hdu2222 ac自动机模板
- 中断上下文不能做的事情
- 前端试题大综合练习(二)
- css实现footer底部自粘
- 20170721LINK
- openstack手动搭建
- 多组数据的处理
- HDU 2017