码迷,mamicode.com
首页 > 其他好文 > 详细

深度学习—caffe框架训练文档

时间:2017-01-11 07:39:04      阅读:1258      评论:0      收藏:0      [点我收藏+]

标签:data   删掉   tac   mic   ras   故障   rate   int   binary   

转存:LMDB

E:\机器学习2\caffe资料\caffe_root\caffe-master\Build\x64\Release>convert_imageset.exe E:/机器学习2/caffe资料/caffe_root/caffe-master/examples/myfile/train E:/机器学习2/caffe资料/caffe_root/caffe-master/examples/myfile/train.txt E:/机器学习2/caffe资料/caffe_root/caffe-master/examples/myfile/mt

 

convert_imageset.exe E:/机器学习2/caffe资料/caffe_root/caffe-master/examples/myfile/train E:/机器学习2/caffe资料/caffe_root/caffe-master/examples/myfile/train.txt E:/机器学习2/caffe资料/caffe_root/caffe-master/examples/myfile/train_lmdb 0

 

E:\机器学习2\caffe资料\caffe_root\caffe-master\Build\x64\Release>convert_imageset.exe E:/机器学习2/caffe资料/caffe_root/caffe-master/examples/myfile/test E:/机器学习2/caffe资料/caffe_root/caffe-master/examples/myfile/test.txt E:/机器学习2/caffe资料/caffe_root/caffe-master/examples/myfile/test_lmdb 0

 

去均值:

E:\机器学习2\caffe资料\caffe_root\caffe-master\Build\x64\Release>compute_image_mean.exe E:/机器学习2/caffe资料/caffe_root/caffe-master/examples/myfile/train_lmdb E:/机器学习2/caffe资料/caffe_root/caffe-master/examples/myfile/train_lmdb.binaryproto

E:\机器学习2\caffe资料\caffe_root\caffe-master\Build\x64\Release>compute_image_mean.exe --backend="lmdb" E:/机器学习2/caffe资料/caffe_root/caffe-master/examples/myfile/

train_lmdb E:/机器学习2/caffe资料/caffe_root/caffe-master/examples/myfile/train_lmdb.binaryproto

 

E:\机器学习2\caffe资料\caffe_root\caffe-master\Build\x64\Release>compute_image_mean.exe E:/机器学习2/caffe资料/caffe_root/caffe-master/examples/myfile/test_lmdb E:/机器学习2/caffe资料/caffe_root/caffe-master/examples/myfile/test_lmdb.binaryproto

训练测试:

E:\机器学习2\caffe资料\caffe_root\caffe-master\Build\x64\Release>caffe.exe train --solver  E:/机器学习2/caffe资料/caffe_root/caffe-master/examples/myfile/solver.prototx

t

 

 

问题一:

compute_image_mean.exe 已停止工作:

真是废了老劲了。。什么清理插件,各种运行msconfig/启动都试了

问题:**.exe已停止工作

 

问题事件名称: APPCRASH
应用程序名: compute_image_mean.exe
应用程序版本: 0.0.0.0
应用程序时间戳: 579c50f5
故障模块名称: MSVCR120.dll
故障模块版本: 12.0.21005.1
故障模块时间戳: 524f83ff
异常代码: 40000015
异常偏移: 0000000000074a46
OS 版本: 6.1.7601.2.1.0.256.1
区域设置 ID: 2052
其他信息 1: e22c
其他信息 2: e22cb5e15a91772d8adeef21d49cc56b
其他信息 3: 3676
其他信息 4: 36765c12e5baa84a0e6be0cded8431ef

联机阅读隐私声明:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0804

如果无法获取联机隐私声明,请脱机阅读我们的隐私声明:
C:\Windows\system32\zh-CN\erofflps.txt

 

解决方法:

找到这个程序名(应用程序名: compute_image_mean.exe),然后右击属性-兼容性-以兼容模式运行这个程序-改为自己可兼容的系统-应用-确定. ok

 

 

问题二:

E:\机器学习2\caffe资料\caffe_root\caffe-master\Build\x64\Release>convert_imageset.exe E:/机器学习2/caffe资料/caffe_root/caffe-master/examples/myfile/train E:/机器学习2/

caffe资料/caffe_root/caffe-master/examples/myfile/train.txt E:/机器学习2/caffe资料/caffe_root/caffe-master/examples/myfile/train_lmdb 0

I1106 10:34:11.980150 19240 convert_imageset.cpp:87] Shuffling data

I1106 10:34:11.986222 19240 common.cpp:36] System entropy source not available, using fallback algorithm to generate seed instead.

I1106 10:34:11.987205 19240 convert_imageset.cpp:90] A total of 400 images.

F1106 10:34:11.988185 19240 db_lmdb.cpp:18] Check failed: _mkdir(source.c_str()) == 0 (-1 vs. 0) mkdir E:/机器学习2/caffe资料/caffe_root/caffe-master/examples/myfile/tr

ain_lmdb failed

*** Check failure stack trace: ***

:删掉原来存在的train_lmdb

问题三:

E1106 10:36:13.266115 13120 io.cpp:89] Could not open or find file E:/机器学习2/caffe资料/caffe_root/caffe-master/examples/myfile/traintrain/477.jpg

:文件路径搞错了

深度学习—caffe框架训练文档

标签:data   删掉   tac   mic   ras   故障   rate   int   binary   

原文地址:http://www.cnblogs.com/wuchuanying/p/6271292.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!