Deep learning model conversion deployment method and device, storage medium and electronic equipment

A technology of deep learning and model conversion, applied in the direction of neural learning methods, software deployment, biological neural network models, etc., can solve the problems of large amount of development, high cost, poor precision, etc., to eliminate the occupied space and optimize the effect of the model , to avoid the effect of loss of precision and effect

Pending Publication Date: 2022-04-12
JINGDONG KUNPENG (JIANGSU) TECH CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present disclosure is to provide a deep learning model conversion and deployment method, a deep learning model conversion and deployment device, storage media and electronic equipment, aiming to solve the problems of large amount of development and problems existing in the prior art when converting a pytorch model to a TensorRT model. Technical problems of poor precision and high cost

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Deep learning model conversion deployment method and device, storage medium and electronic equipment
  • Deep learning model conversion deployment method and device, storage medium and electronic equipment
  • Deep learning model conversion deployment method and device, storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and will fully convey the concept of example embodiments to those skilled in the art.

[0029] Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or other methods, components, means, steps, etc. may be employed. In other instances, well-known methods, ap...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to the technical field of artificial intelligence, in particular to a deep learning model conversion deployment method, a deep learning model conversion deployment device, a storage medium and electronic equipment. The deep learning model conversion deployment method comprises the steps of obtaining a to-be-processed model file obtained by performing model training by using a first deep learning framework; calling a deconvolution function to perform up-sampling operation on the to-be-processed model file to obtain an initial model file; performing data normalization processing on the initial model file by adopting a normalization function to obtain an intermediate model file; and performing linear correction on the intermediate model file by using an activation function to obtain a target model file which is suitable for processing in a second deep learning framework. According to the deep learning model conversion deployment method provided by the invention, the technical problems of large development amount, poor precision and high cost when a pytorch model is converted into a TensorRT model for deployment in the prior art can be solved.

Description

technical field [0001] The present disclosure relates to the technical field of artificial intelligence, and in particular to a method for converting and deploying a deep learning model, a device for converting and deploying a deep learning model, a storage medium, and electronic equipment. Background technique [0002] In engineering applications, the pytorch model can be converted to the TensorRT engine to achieve the effect of computing acceleration. However, when the pytorch model is converted to the 5.0.2.6 version of the TensorRT engine file, the upsampling operation torch.nn.Upsample() cannot be successfully converted to the TensorRT engine. [0003] Among the existing technologies, one is to solve it by developing a customized plug-in of TensorRT5.0.2.6, but this method has a large amount of engineering development and the steps are relatively cumbersome; or first generate the intermediate transition model onnx from pth, and then generate from onnx TensorRT5.0.2.6 m...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/61G06N3/04G06N3/08
Inventor 李元骏刘浩安耀祖李浩许新玉
Owner JINGDONG KUNPENG (JIANGSU) TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products