Implementation method and equipment of training model and storage medium
A technology for training models and implementation methods, applied in the field of communication, can solve problems such as numerous versions of training tools, achieve the effects of saving compilation time, facilitating development and maintenance, and improving version development efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0023] In order to better understand this embodiment, the following describes the compilation process of adding a new layer to an existing training tool:
[0024] Such as figure 1 Shown is a schematic diagram of the internal framework of the existing training tool. The training tool includes a core layer, the underlying dependency function library, and several new added layers. The core layer includes a convolutional layer, a pooling layer, and a fully connected layer.
[0025] Taking caffe as an example, the caffe version compilation process is as follows figure 2 shown. Caffe uses the protoc tool to generate code caffe.pb.cc and caffe.pb.h before compiling the configuration items of all layers. The code of each layer of caffe includes the configuration item code with include, and then compiles and generates libcaffe.so. Compile caffe.cpp and link libcaffe.so to generate the executable file caffe.
[0026] Please refer to image 3 As shown, if you want to add a layer (BN...
no. 2 example
[0081] Such as Figure 9 As shown, the second embodiment of the present invention provides a device for implementing a training model, which includes: a memory 21, a processor 22, and a training model stored in the memory 21 and operable on the processor 22 The implementation program of the training model, when the implementation program of the training model is executed by the processor 22, is used to implement the steps of the implementation method of the training model described below:
[0082] The training program loads the dynamic library generated by the business algorithm logic layer;
[0083] During forward propagation and backpropagation calculation, the forward propagation program and the backpropagation program of the dynamic library are called through the forward propagation interface and the backpropagation interface for training to obtain the training model.
[0084] When the implementation program of the training model is executed by the processor 22, ...
no. 3 example
[0102] The third embodiment of the present invention provides a computer-readable storage medium, the computer-readable storage medium stores a training model implementation program, and the training model implementation program is used to implement the first embodiment when executed by a processor The steps of the implementation method of the training model.
[0103] It should be noted that the computer-readable storage medium in this embodiment belongs to the same idea as the method in the first embodiment, and its specific implementation process is detailed in the method embodiment, and the technical features in the method embodiment are all described in this embodiment. Correspondingly applicable, no more details here.
[0104] In the computer-readable storage medium of the embodiment of the present invention, the training program and the logic layer of the business algorithm are decoupled, and the training program and the logic layer of the business algorithm can ru...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com