Deep learning model file conversion method and system, computer equipment and computer readable storage medium
A model file and deep learning technology, applied in the field of deep learning, can solve the problems of unrevealed model files and limitations of the application environment, and achieve the effect of ensuring smooth loading
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0048] see figure 1 As shown, the conversion method of the deep learning model file of the present invention comprises the following steps:
[0049] Step S10: Receive the model file to be converted obtained under the original deep learning framework.
[0050] In this embodiment, the model file to be converted has weight files and network structure codes, and the model file to be converted is a complete model file.
[0051] Step S20: According to the file type of the model file to be converted, select the corresponding readable frame to read the model file to be converted, so as to obtain the loading information of the model file to be converted.
[0052] In this embodiment, the loading information is the information loaded into the network structure code and weight file, and the loading information includes data types, computing units, calculation graphs, activators, and channel dimensions.
[0053] In this embodiment, the key code is intelligently located, and the original ...
Embodiment 2
[0110] see figure 2 As shown, the conversion method of the deep learning model file of the present invention comprises the following steps:
[0111] Step S10: Receive the model file to be converted obtained under the original deep learning framework.
[0112] In this embodiment, the model file to be converted includes a complete model file and an incomplete model file, the complete model file includes a weight file and network structure code, and the incomplete model file includes a weight file but not a network structure code.
[0113] Step S210: Identify the original deep learning framework corresponding to the model file to be converted.
[0114] Step S220: Determine whether the model file to be converted is a complete model file; if yes, execute step S230; if not, execute step S240;
[0115] Step S230: Loading processing to obtain loading information of the model file to be converted.
[0116] In this embodiment, the loading information of a complete model file (inclu...
Embodiment 3
[0123] see image 3 As shown, the conversion method of the deep learning model file of the present invention comprises the following steps:
[0124] Step S10: receiving the model file to be converted obtained under the original deep learning framework;
[0125] Step S210: Identify the original deep learning framework corresponding to the model file to be converted;
[0126] Step S2210: Determine whether the model file to be converted needs further integrity check by identifying the saving code of the model file to be converted; if yes, execute step S2220; if not, execute step S230;
[0127] Step S2220: Check whether the content of the model file to be converted has the characteristics of the network structure code; if so, execute step S230; if not, execute step S240;
[0128] Step S230: loading processing to obtain the loading information of the model file to be converted;
[0129] Step S240: Prompt for supplementation and wait for supplementation, then return to step S2210...
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