Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Deep learning model processing method and device and electronic equipment

A technology of deep learning and processing methods, applied in neural learning methods, biological neural network models, creating/generating source codes, etc., can solve the problems of cumbersome viewing and modification of neural learning models, lack of editing functions, and lack of editing capabilities

Pending Publication Date: 2022-08-05
HUAWEI TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the first type of method, the visualization tool of the deep learning model can only perform read-only viewing of the deep learning model, and does not have the function of editing (such as creating or modifying)
For example, the most representative tool is netron, which can directly read the original deep learning model format and visualize it. The supported formats are ONNX, Keras, Core ML, Caffe, Caffe2, Darknet, MXNet, ncnn, TensorFlow Lite , but without editing capabilities
In the second type, although the visualization tool of the deep learning model can perform visual arrangement of the model, allowing technicians to use less code or zero code to create a deep learning model, however, these tools are provided in the form of cloud services. , that is, a communication connection must be established with one or more devices that provide cloud services, resulting in a higher requirement for communication functions in the model orchestration process
If the user needs to view and modify the deep learning model stored in protobuf, he can only use the netron tool to visualize the neural network model, and then call out the code of the neural learning model to modify it, which will allow viewing and modification of the neural network model. The process of learning the model is more cumbersome

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 processing method and device and electronic equipment
  • Deep learning model processing method and device and electronic equipment
  • Deep learning model processing method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0097] based on figure 1 The system 10 shown and figure 2 The relevant description of the UI interface 11 shown, such as image 3 As shown, a schematic flowchart of a processing method for a deep learning model provided by an embodiment of the present application, the method includes the following steps:

[0098] Step 301 : The electronic device displays the UI interface 11 in response to the user's opening operation of opening the UI interface 11 .

[0099] The operation in step 301 may be an opening operation for the user to open the application arrangement designer, such as a click operation. It can be understood that the application orchestration designer may be an application program installed in the electronic device, and the operation in step 301 may specifically be a click operation of the user on the application icon of the application orchestration designer displayed on the electronic device, triggering the electronic device to open the application orchestration. ...

Embodiment 2

[0119] According to some embodiments of the present application, the processing method of the deep learning model provided by the present application can open the saved intermediate format file through the above-mentioned application orchestration designer to view the graph of the deep learning model, or the graph of the deep learning model. Make modifications to modify the deep learning model.

[0120] Specifically, as Figure 4 As shown, a schematic flowchart of a method for processing a deep learning model provided by an embodiment of the present application, the method includes the following steps:

[0121] Steps 301 to 305, wherein the specific descriptions of the steps 301 to 305 can be consistent with the descriptions in the foregoing Embodiment 1, and are not repeated here.

[0122] Step 307: In response to the user's operation on the function control 215 of the function selection area 101b in the UI interface 11, the electronic device restores and displays the interm...

Embodiment 3

[0126] In other embodiments, the combination figure 2 ,like Figure 5 As shown, the UI interface 11 also includes a control 213 for supporting the user to customize one or more extension meta nodes, that is, adding one or more nodes to the UI interface 102 of the above-mentioned application orchestration designer to support the user Trigger the electronic device to add a new node.

[0127] Specifically, another method for processing a deep learning model provided in this embodiment of the present application may further include the following step 308 before step 302, step 303 or step 304 in the steps in the foregoing embodiment 1 or embodiment 2 .

[0128] As an example, combining image 3 ,like Image 6 As shown, a schematic flowchart of a method for processing a deep learning model provided by an embodiment of the present application, the method includes the following steps:

[0129] In step 301, the specific description of step 301 can be consistent with the descripti...

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 provides a deep learning model processing method and apparatus, and an electronic device, which are applied to the technical field of artificial intelligence, and can realize visual model creation or model modification by a user through an intermediate format file, conveniently and accurately generate a model training code, and realize adaptation to multiple deep learning frameworks through one-time development. The method comprises the steps that in response to a first operation that a user selects at least one first control from a displayed model editing interface, at least one node and a connecting line between the at least one node are displayed on the model editing interface, the at least one node is in one-to-one correspondence with the at least one first control, and each node has node information; the connecting line of the at least one node is used for indicating the connection relationship between the at least one node; and generating a first target file based on the node information of the at least one node and the connection relationship between the at least one node, the first target file comprising structured information and graphical information of the first deep learning model.

Description

technical field [0001] The present application relates to the technical field of artificial intelligence, and in particular, to a method, apparatus and electronic device for processing a deep learning model. Background technique [0002] With the wide application of deep learning models such as Neural Network Model (NN Model), people have higher and higher requirements for the intelligence of the processing of deep learning models, such as more and more visualization requirements for the processing of deep learning models. higher. [0003] At present, there are two main types of visualization methods for deep learning models. In the first method, the visualization tool of the deep learning model can only read-only view the deep learning model, and does not have the function of editing (such as creating or modifying). For example, the most representative tool is netron, which can directly read the original deep learning model format and display it visually. The supported fo...

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
IPC IPC(8): G06N3/04G06N3/08G06F8/34
CPCG06N3/08G06F8/34G06N3/048
Inventor 魏可鑫董鑫林志强
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products