F0416 22:15:28.995488 17888 syncedmem.cpp:71] Check failed: error == cudaSuccess (2 vs. 0) out of m

6人阅读 评论(0) 收藏 举报
分类:

今天我在跑crpn的时候,遇见了如下错误:

I0416 22:15:28.233808 17888 net.cpp:744] Ignoring source layer loss_rpn_tl
I0416 22:15:28.233809 17888 net.cpp:744] Ignoring source layer loss_rpn_tr
I0416 22:15:28.233811 17888 net.cpp:744] Ignoring source layer loss_rpn_br
I0416 22:15:28.233814 17888 net.cpp:744] Ignoring source layer loss_rpn_bl
I0416 22:15:28.233815 17888 net.cpp:744] Ignoring source layer roi-data
I0416 22:15:28.308246 17888 net.cpp:744] Ignoring source layer loss_cls
I0416 22:15:28.308260 17888 net.cpp:744] Ignoring source layer loss_bbox
im_detect: 1/1000 0.309s 0.001s
F0416 22:15:28.995488 17888 syncedmem.cpp:71] Check failed: error == cudaSuccess (2 vs. 0)  out of memory
*** Check failure stack trace: ***
./experiments/scripts/test.sh: line 48: 17888 Aborted                 (core dumped) ./tools/test_net.py --gpu 0 --def models/${NET}/test.pt --net ${MODEL} --imdb ${TEST_IMDB} --cfg models/${NET}/config.yml ${EXTRA_ARGS}

c 查资料发现,原来是编译faster-rcnn的时候,忘记用cudnn了,于是到

cd caffe-fast-rcnn

修改把caffe配置文件Makefile.config的cudnn那项的注释解除:

# cuDNN acceleration switch (uncomment to build with cuDNN).
USE_CUDNN := 1
make clean
make -j8 && make pycaffe

 参考文献

[1].Check failed: error == cudaSuccess (2 vs. 0) out of memory. 

https://github.com/CMU-Perceptual-Computing-Lab/caffe_rtpose/issues/44

[2]. Corner-based Region Proposal Network. https://github.com/xhzdeng/crpn

查看评论

【caffe跑试验遇到错误:Check failed: error == cudaSuccess (2 vs. 0) out of memory】

刚开始跑caffe试验,老是遇见各种错误。今天又遇见: I1214 09:32:19.428040 11425 net.cpp:748] Ignoring source layer loss F12...
  • u013634684
  • u013634684
  • 2015-12-14 09:55:15
  • 26329

caffe跑试验遇到错误:Check failed: error == cudaSuccess (2 vs. 0) out of memory

在调试自己编写的小网络时出现了以下问题 I1221 14:40:57.487751 15003 sgd_solver.cpp:106] Iteration 0, lr = 0.001 F1221 1...
  • u013066730
  • u013066730
  • 2016-12-21 15:00:39
  • 7733

Caffe | Check failed: error == cudaSuccess (2 vs. 0) out of memory

Check failed: error == cudaSuccess (2 vs. 0) out of memory *** Check failure stack trace: *** Abort...
  • u014696921
  • u014696921
  • 2017-02-23 22:32:32
  • 3540

caffe在训练时遇到:Check failed: error == cudaSuccess (2 vs. 0) out of memory

batch_size太大了,一次性读入的图片太多了,所以就超出了显存。因此需要将train.prototxt中的文件train和test的batch_size调小一点。...
  • qq_29596177
  • qq_29596177
  • 2017-02-23 23:32:31
  • 1438

caffe failed: error == cudaSuccess (2 vs. 0) out of memory

caffe failed: error == cudaSuccess (2 vs. 0) out of memory 原因是gpu的内存溢出,可是我用的是k20c,有4G内存,这个才需要2.8g,应...
  • u011037837
  • u011037837
  • 2016-05-06 10:03:19
  • 3521

Caffe FCN Test | Check failed: error == cudaSuccess (2 vs. 0) out of memory

在使用caffe跑FCN测试的时候,提示如下错误: Check failed: error == cudaSuccess (2 vs. 0) out of memory 是内存溢出,而且是cud...
  • lanyuxuan100
  • lanyuxuan100
  • 2017-04-21 10:15:45
  • 1840

caffe:cudaSuccess (2 vs. 0) out of memory

问题描述:我试图在Caffe上训练一个网络。 我有512x640的图像大小。 批量大小是1.我试图实现FCN-8s。 我目前在一个带有4GB GPU内存的Amazon EC2实例(g2.2xlarg...
  • qq_25073253
  • qq_25073253
  • 2016-11-25 11:07:06
  • 4151

【caffe】 Check failed: error == cudaSuccess (30 vs. 0) unknown error

解决办法 : 加 sudo用caffe,不报错,那一定要的时假caffe. ubuntu16.04 ,写了一个.py文件调用resnet.caffemodel 来对图片进行分类. 但是在运行时出错...
  • u011995719
  • u011995719
  • 2017-11-22 13:53:43
  • 2069

运行caffe时报错:Check failed: error == cudaSuccess

"Check failed: error == cudaSuccess (9 vs. 0)    明明nvidia已经安装好,在cmd里面运行nvcc -V也有显示.....cuda 7.5之类的 原...
  • wuzuyu365
  • wuzuyu365
  • 2016-04-15 16:43:54
  • 5165

faster-rcnn训练时出现error == cudaSuccess (30 vs. 0)

./experiments/scripts/faster_rcnn_alt_opt.sh 0 ZF pascal_voc   使用这条命令训练,出现下面这个错误 Check faile...
  • qq_26569761
  • qq_26569761
  • 2016-06-22 21:39:38
  • 6081
    个人资料
    持之以恒
    等级:
    访问量: 11万+
    积分: 3124
    排名: 1万+
    最新评论