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

Image model training method, image processing method, chip, equipment and medium

A training method and image model technology, applied in computing models, biological neural network models, character and pattern recognition, etc., can solve problems such as the inability to balance the performance and accuracy of smart chips

Pending Publication Date: 2021-01-29
SHENZHEN INTELLIFUSION TECHNOLOGIES CO LTD
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides an image model training, image processing method, chip, device and medium to solve the problem that the number of bits quantized by the neural network cannot balance the performance and precision of the smart chip

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
  • Image model training method, image processing method, chip, equipment and medium
  • Image model training method, image processing method, chip, equipment and medium
  • Image model training method, image processing method, chip, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026]The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0027]In one embodiment, such asfigure 1 As shown, an image model training method is provided, which includes the following steps:

[0028]S10: Obtain a sample image set, the sample image set includes at least one sample image, and each sample image is associated with an original network output.

[0029]Among them, each sample image in the sample image set may be an image collected in various different scenarios. Illustratively, the sample image may be a surveillan...

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 discloses an image model training method, an image processing method, a chip, equipment and a medium. The method comprises the steps of obtaining a sample image; wherein one sample imageis associated with one original network output; inputting the sample image into a preset neural network model containing the initial parameters, and performing symmetric quantization on the sample image to obtain a first quantization network output; determining a first cosine similarity between the first quantization network output and the original network output; performing optimization on the preset neural network model according to the first cosine similarity, a preset similarity threshold and a preset mixing precision quantification method, and obtaining preset network output of the preset neural network model after optimization; and determining a loss value between a preset network output and the original network output, and recording a preset neural network model as an image processing model when a convergence condition is preset for the loss value. According to the invention, the parameters of the preset neural network model are reduced, and the calculation rate of the preset neural network model is improved.

Description

Technical field[0001]The invention relates to the field of smart chips, in particular to an image model training, image processing method, chip, equipment and medium.Background technique[0002]With the development of science and technology, artificial intelligence technology is also applied in various scenarios, such as smart robots, smart homes, smart security and other scenarios. In the above scenarios, several integrated smart chips or separate smart chips are often used to implement different functions in each scenario. In different scenarios, the requirements for smart chips are different.[0003]The neural network model parameters in the general smart chip are all float32 type operators, but as the parameters of the neural network model in the smart chip become more and more, when the smart chip wants to obtain higher performance and energy consumption ratio, it has to use low Bit operator calculations, for example, use int4 / int8 / int16 / float16 instead of the original model float3...

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): G06K9/62G06N3/04G06N20/00
CPCG06N20/00G06N3/045G06F18/241G06F18/214
Inventor 尹长生
Owner SHENZHEN INTELLIFUSION TECHNOLOGIES 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