http://blog.csdn.net/wang4959520/article/details/51831637

我们在使用caffe训练过程中会生成.caffemodel和.solverstate文件,一个是模型文件,一个是中间状态文件(生成多少个取决于你自己设定的snapshot)。当训练过程中断,你想继续运行数据学习,此时只需要调用.solverstate文件即可。

使用方式代码,我使用的是.sh直接运行,配置和官方给的文件train_caffenet.sh差不多,稍微添加点内容就可以了。

[plain] view plain copy  
  1. ./build/tools/caffe train \
  2. --solver=examples/test/solver.prototxt --snapshot=examples/test/test_100000.solverstate

上述配置根据个人文件路径实际情况相应修改即可。

The solverstate file, as its name conveys, stores the state of the solver and not any information related to classification results. The model is saved as caffemodel file, which you can use to obtain classification results for your data. If you want to fine-tune your network you may use a pre-trained caffemodel file. This will save time as your network does not need to learn from scratch. But, in case your present training needs to be halted, due to a power cut or an unexpected reboot, you may resume your training form the previous snapshot of the solverstate. The difference between using the solverstate and the caffemodel files is that the former allows you to complete your training in the pre-determined manner while the latter may require changes in certain training parameters such as the maximum number of iterations.

solverstate的使用相关推荐

  1. snapshot---caffemodel和solverstate

    生成的caffemodel文件去做分类,solverstate是用来中断训练后重新开始的状态文件. RestoreSolverState()可以用来读取solverstate存储的训练状态,继续训练~ ...

  2. 利用caffe的solverstate断点训练

    你可以从系统 /tmp 文件夹获取,名字是什么 caffe.ubuntu.username.log.INFO.....之类 ====================================== ...

  3. Caffe源码中Solver文件分析

    Caffe源码(caffe version commit: 09868ac , date: 2015.08.15)中有一些重要的头文件,这里介绍下include/caffe/solver.hpp文件的 ...

  4. Windows7 64bit VS2013 Caffe train MNIST操作步骤

    1.        使用http://blog.csdn.net/fengbingchun/article/details/47905907中生成的Caffe静态库: 2.        使用http ...

  5. 【AI】caffe源码分析(一)

    [一]caffe依赖开源库 [C++]google gflags详解 [C++]google glog详解 [C++]Google Protocol Buffer(protobuf)详解(一) [C+ ...

  6. caffe 的命令行训练与测试

    本文转自: http://blog.csdn.net/yiliang_/article/details/60464968 Train训练(用cmd caffe命令行) (solver.prototxt ...

  7. 利用Caffe训练模型(solver、deploy、train_val) + python如何使用已训练模型

    版权声明:博主原创文章,微信公众号:素质云笔记,转载请注明来源"素质云博客",谢谢合作!! https://blog.csdn.net/sinat_26917383/article ...

  8. Caffe实践】如何利用Caffe训练ImageNet分类网络

    Caffe实践]如何利用Caffe训练ImageNet分类网络 源文章:https://github.com/BVLC/caffe/tree/master/examples/imagenet 由于要使 ...

  9. caffe命令及其参数解析

    caffe的c++主程序(caffe.cpp)放在根目录下的tools文件夹内, 当然还有一些其它的功能文件,如:convert_imageset.cpp, train_net.cpp, test_n ...

最新文章

  1. Web SCADA 电力接线图工控组态编辑器
  2. 游戏伤害计算机,电脑游戏的危害(The harm of PC games)
  3. clojure入门: hello world
  4. Python如何引用豆瓣api镜像地址
  5. java单列_Java 单例模式
  6. 领域应用 | 阿里发布藏经阁计划,打造 AI 落地最强知识引擎
  7. 句向量的表示(上)—无监督
  8. Python之路---函数进阶
  9. silklabo哪个公众号有资源_适合新手的公众号投稿资源大整合!
  10. PostgreSQL定时自动备份
  11. Linux移植随笔:对tslib库的ts_test测试程序代码的一点分析
  12. HDU1249_三角形切割平面
  13. [Ext JS6]Microloader - 微加载器
  14. 机器人建模中移动关节如何建立坐标系_机器人标准DH建模法
  15. Win32 编程
  16. Django开发利器——django-debug-toolbar
  17. python 分词器比较
  18. python判断是不是整数_python判断整数
  19. 计算机后台打印机程序,打印机不能正常工作,提示'操作无法完成,后台打印程序服务没有运行'的解决方法...
  20. ubantu安装环境

热门文章

  1. unity5.x C# 获取屏幕宽度 设置不受重力影响
  2. java数组转换成string_java面试复习重点:类的管理及常用工具,教你抓住面试重点
  3. 史上最冤!美国原子弹之父被骂了9年!最后他上台领奖,竟一把推开了总统.........
  4. php js 复选框选中,为每个选中的复选框显示相同的一组问题。 (PHP和JS / Jquery)...
  5. 51单片机除c语言 中断嵌套,关于51系列单片机中断嵌套 - 关于单片机中断嵌套总结...
  6. oracle外网监听端口,oracle 11g 修改默认监听端口1521
  7. 机器人J中WPR_优傲:协作机器人的未来在哪里?
  8. c语言中文件如何插入数据,急求如何将下列C语言程序数据存储到文件中?
  9. c语言配电自动化,我是电气工程及其自动化专业的要学C语言吗?
  10. java先进先出 循环队列,JavaScript队列、优先队列与循环队列