caffe学习5——Model initialization and Model format

参考文献

1 用Net::Init()。做了两件事:一、绑架所有的layers和blobs,调用 layers’SetUp() 函数。验证全部网络的正确性等一系列琐碎的事。二、初始化时给出一些日志信息Also, during initialization the Net explains its initialization by logging to INFO as it goes...

2 建网时有很多细节被隐藏,建网后,考虑有什么模式,CPU?GPU? by setting a single switch defined in Caffe::mode() and set by Caffe::set_mode().无论是用哪种模式,结果一样。

3 两种模式无缝连接,独立于模型的定义。为了更好地研究和部署,建议将模型定义和配置分开。The CPU / GPU switch is seamless and independent of the model definition. For research and deployment alike it is best to divide model and implementation.

4 模型的定义:The models are defined in plaintext protocol buffer schema (prototxt) while the learned models are serialized as binary protocol buffer (binaryproto) .caffemodel files.

5 模型的格式:The model format is defined by the protobuf schema in caffe.proto. The source file is mostly self-explanatory so one is encouraged to check it out.

6 谷歌的牛逼:Caffe speaks Google Protocol Buffer for the following strengths:...

 

相关补充,还要看:

  • Nets, Layers, and Blobs: the anatomy of a Caffe model.
  • Forward / Backward: the essential computations of layered compositional models.
  • Loss: the task to be learned is defined by the loss.
  • Solver: the solver coordinates model optimization.
  • Layer Catalogue: the layer is the fundamental unit of modeling and computation – Caffe’s catalogue includes layers for state-of-the-art models.
  • Interfaces: command line, Python, and MATLAB Caffe.
  • Data: how to caffeinate data for model input.
  • For a closer look at a few details:

自此,caffe入门基础了解完毕。开始动手...

转载于:https://www.cnblogs.com/Wanggcong/p/5153620.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值