【caffe】 Check failed: error == cudaSuccess (30 vs. 0) unknown error
来源:互联网 发布:ug怎么编程钻孔 编辑:程序博客网 时间:2024/05/29 19:17
解决办法 : 加 sudo
用caffe,不报错,那一定要的时假caffe.
ubuntu16.04 ,写了一个.py文件调用resnet.caffemodel 来对图片进行分类.
但是在运行时出错,错误是
...略layer { name: "prob" type: "Softmax" bottom: "fc2" top: "prob"}I1122 13:37:10.886868 32369 layer_factory.hpp:77] Creating layer inputI1122 13:37:10.886879 32369 net.cpp:84] Creating Layer inputI1122 13:37:10.886884 32369 net.cpp:380] input -> dataF1122 13:37:10.906644 32369 syncedmem.hpp:22] Check failed: error == cudaSuccess (30 vs. 0) unknown error*** Check failure stack trace: ***Aborted (core dumped)
咋一看,cuda,难道和cuda有关?各种找,发现很类似错误提示,但是都无法解决问题,例如又如下类似错误
error == cudaSuccess (2 vs. 0);
error == cudaSuccess (4 vs. 0);
error == cudaSuccess (35 vs. 0)等
还有极其相似的错误:
syncedmem.hpp:18] Check failed: error == cudaSuccess (30 vs. 0) unknown error,这个解决办法在:
http://blog.csdn.net/u010167269/article/details/50703923
最后 解决办法 是 sudo python xxx.py
感谢:http://blog.csdn.net/qq_26569761/article/details/51737154
阅读全文
0 0
- 【caffe】 Check failed: error == cudaSuccess (30 vs. 0) unknown error
- CUDA/caffe ERROR:cudaGetDeviceCount returned 30/35,Check failed: error == cudaSuccess (30/35 vs. 0)
- caffe-windows10 安装问题 Check failed: error == cudaSuccess (8 vs.0) invalid device function
- Caffe | Check failed: error == cudaSuccess (2 vs. 0) out of memory
- Caffe FCN Test | Check failed: error == cudaSuccess (2 vs. 0) out of memory
- Check failed:error == cudaSuccess(30 vs. 0) unkown error
- 运行caffe时报错:Check failed: error == cudaSuccess
- 【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 (77 vs. 0) an illegal memory access was encountered
- 【caffe跑试验遇到错误:Check failed: error == cudaSuccess (2 vs. 0) out of memory】
- caffe运行错误: im2col.cu:61] Check failed: error == cudaSuccess (8 vs. 0) invalid device function
- 配置SSD-caffe测试时出现“Check failed: error == cudaSuccess (10 vs. 0) invalid device ordinal”解决
- Check failed: error == cudaSuccess (8 vs. 0) invalid device function
- Check failed: error == cudaSuccess (8 vs. 0) invalid device function
- 深度分析调整Linux的TCP需要用到参数
- 关于dsp移相全桥dc-dc变换器实现代码
- 接口测试-工作心得记录二
- mxnet CUDNN_STATUS_ALLOC_FAILED 错误 cudnn出错
- 11.22第15节课
- 【caffe】 Check failed: error == cudaSuccess (30 vs. 0) unknown error
- 网络资源积累
- 关于java内存管理的一些理解
- C#处理服务端控件
- Sql中EXISTS与IN的效率问题
- 大数据风控案例(总结他人)
- 11.22第十五课
- redis持久化
- (十七)dubbo