caffe windwos安装测试相关问题

来源:互联网 发布:电影照片是什么软件 编辑:程序博客网 时间:2024/05/23 16:55

1.直接用第三方库 “Caffe For Windows VS2012 完整版,带第三方库,可直接跑Demo,讨论群号385206220”
2.安装vs2012
3.安装cuda6.5 win7 64位版本

下载链接:http://pan.baidu.com/s/1bnnwGZt 密码:4h69


问题1:

在运行convert_cifar_data时,遇到Check failed: status.ok() Failed to open leveldb.这个问题,及解决方法,把output目录下的内容全部删除重新运行就可以了,


D:\Caffe\bin>convert_cifar_data.exe input output
F1009 19:48:47.309582  5300 convert_cifar_data.cpp:56] Check failed: status.ok() Failed to open leveldb.
*** Check failure stack trace: ***
重新执行

D:\Caffe\bin>convert_cifar_data.exe input output

参考:http://caffe.berkeleyvision.org/gathered/examples/feature_extraction.html

问题2:

MainCaller.exe output/cifar-train-leveldb mean.binaryproto 使用debug版本有异常,release版本可以


问:3:-> no CUDA-capable device is detected

假如是通过远程连接的话,不能通过远程桌面使用GPU训练,可以使用Splashtop ,具体参考说明:http://stackoverflow.com/questions/12304082/can-i-run-a-cuda-program-on-a-computer-if-i-remote-into-it-using-windows-rdp



不论使用何种框架进行CNNs训练,共有3种数据集:

  • Training Set:用于训练网络
  • Validation Set:用于训练时测试网络准确率
  • Test Set:用于测试网络训练完成后的最终正确率

Caffe生成的数据分为2种格式:Lmdb和Leveldb

它们都是键/值对(Key/Value Pair)嵌入式数据库管理系统编程库。
虽然lmdb的内存消耗是leveldb的1.1倍,但是lmdb的速度比leveldb快10%至15%,更重要的是lmdb允许多种训练模型同时读取同一组数据集。
因此lmdb取代了leveldb成为Caffe默认的数据集生成格式。

参考:

http://blog.csdn.net/wangchuansnnu/article/details/44341753   Caffe对MNIST数据进行Train、Test

http://blog.csdn.net/messiran10/article/details/49184557   在Caffe上利用自己的数据集进行微调

http://blog.csdn.net/u012878523/article/details/41698209  在caffe上跑自己的数据




0 0
原创粉丝点击