Closed wang5566 closed 6 years ago
i got the same problem
@wang5566 MobileNet will cost a large amount of gpu memory when it is running at cudnn mode on caffe. You can use caffe mode or cpu mode instead. Check this link for more detail. https://github.com/shicai/MobileNet-Caffe/issues/3
@YukiNagato But I set cpu mode by caffe.set_mode_cpu() and got the same result. Should re-compile caffe with cpu mode ?
@wang5566 Yes, but you only have to disable cudnn when re-compiling caffe.
When run the project I got the prototxt but got the
Check failed: status == CUDNN_STATUS_SUCCESS (4 vs. 0) CUDNN_STATUS_INTERNAL_ERROR
in the line caffe.Net() initialization. I create a script to write only one line for initialization and successed. Why?