小标
2018-10-15
来源 :
阅读 1374
评论 0
摘要:本文主要向大家介绍了机器学习入门之深度学习—caffe框架训练文档,通过具体的内容向大家展现,希望对大家学习机器学习入门有所帮助。
本文主要向大家介绍了机器学习入门之深度学习—caffe框架训练文档,通过具体的内容向大家展现,希望对大家学习机器学习入门有所帮助。
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
联机阅读隐私声明:
//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
:文件路径搞错了
本文由职坐标整理并发布,希望对同学们有所帮助。了解更多详情请关注职坐标人工智能机器学习频道!
喜欢 | 0
不喜欢 | 0
您输入的评论内容中包含违禁敏感词
我知道了

请输入正确的手机号码
请输入正确的验证码
您今天的短信下发次数太多了,明天再试试吧!
我们会在第一时间安排职业规划师联系您!
您也可以联系我们的职业规划师咨询:
版权所有 职坐标-一站式AI+学习就业服务平台 沪ICP备13042190号-4
上海海同信息科技有限公司 Copyright ©2015 www.zhizuobiao.com,All Rights Reserved.
沪公网安备 31011502005948号