caffe2自定义新的层_Caffe2-定义复杂的网络

caffe2自定义新的层

caffe2自定义新的层

Caffe2-定义复杂的网络 (Caffe2 - Defining Complex Networks)

In the previous lesson, you learned to create a trivial network and learned how to execute it and examine its output. The process for creating complex networks is similar to the process described above. Caffe2 provides a huge set of operators for creating complex architectures. You are encouraged to examine the Caffe2 documentation for a list of operators. After studying the purpose of various operators, you would be in a position to create complex networks and train them. For training the network, Caffe2 provides several predefined computation units - that is the operators. You will need to select the appropriate operators for training your network for the kind of problem that you are trying to solve.

在上一课中,您学习了创建一个琐碎的网络,并学习了如何执行它并检查其输出。 创建复杂网络的过程类似于上述过程。 Caffe2提供了大量用于创建复杂体系结构的运算符。 鼓励您查看Caffe2文档以获取操作员列表。 在研究了各种运营商的目的之后,您将可以创建复杂的网络并对其进行培训。 为了训练网络,Caffe2提供了几个预定义的计算单元 -即运算符。 您将需要选择适当的运营商来培训您的网络,以解决您要解决的问题。

Once a network is trained to your satisfaction, you can store it in a model file similar to the pre-trained model files you used earlier. These trained models may be contributed to Caffe2 repository for the benefits of other users. Or you may simply put the trained model for your own private production use.

对网络进行满意的培训后,您可以将其存储在模型文件中,该模型文件与您先前使用的预先训练的模型文件类似。 为了其他用户的利益,这些训练有素的模型可能会贡献给Caffe2存储库。 或者,您可以简单地将经过训练的模型供您自己的私人生产使用。

摘要 (Summary)

Caffe2, which is a deep learning framework allows you to experiment with several kinds of neural networks for predicting your data. Caffe2 site provides many pre-trained models. You learned to use one of the pre-trained models for classifying objects in a given image. You also learned to define a neural network architecture of your choice. Such custom networks can be trained using many predefined operators in Caffe. A trained model is stored in a file which can be taken into a production environment.

Caffe2是一个深度学习框架,可让您尝试多种神经网络来预测数据。 Caffe2站点提供了许多预训练的模型。 您学会了使用一种预训练模型对给定图像中的对象进行分类。 您还学会了定义自己选择的神经网络架构。 可以使用Caffe中的许多预定义操作员来训练此类自定义网络。 经过训练的模型存储在文件中,该文件可以带入生产环境。

翻译自: https://www.tutorialspoint.com/caffe2/caffe2_defining_complex_networks.htm

caffe2自定义新的层

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值