Unlock instant, AI-driven research and patent intelligence for your innovation.

Target detection model compression method based on knowledge distillation

A technology of target detection and compression method, which is applied in the field of image recognition to achieve the effect of ensuring detection accuracy and improving detection accuracy

Pending Publication Date: 2022-05-13
FUDAN UNIV
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there is still a lack of corresponding methods in the prior art. For the relevant technicians, there are still many technical difficulties in how to use knowledge distillation to compress the target detection model.

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
  • Target detection model compression method based on knowledge distillation
  • Target detection model compression method based on knowledge distillation
  • Target detection model compression method based on knowledge distillation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] In order to make the technical means, creative features, goals and effects achieved by the present invention easy to understand, the knowledge distillation-based target detection model compression method of the present invention will be described in detail below in conjunction with the embodiments and accompanying drawings.

[0021]

[0022] figure 1 It is a flow chart of the target detection model compression method based on knowledge distillation in this embodiment. figure 2 It is a simplified flowchart of the target detection model compression method based on knowledge distillation in this embodiment.

[0023] Such as figure 1 and figure 2 As shown, the target detection model compression method based on knowledge distillation specifically includes the following steps:

[0024] Step S1, train the teacher network model.

[0025] In this embodiment, the teacher network model is a target detection model Faster RCNN with ResNet101 as the backbone network (backbone...

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 target detection model compression method based on knowledge distillation, and the method comprises the steps: extracting feature maps of a teacher network model and a student network model through an FPN, calculating the difference between Gram matrixes of the corresponding feature maps of the teacher network model and the student network model, and carrying out the reverse propagation. According to the method, the student network model can learn the phase degree between different channels from the teacher network model, so that the detection precision of the student network model is improved, the target detection model can be effectively compressed, and the detection precision is ensured while compression is performed. Wherein the teacher network model is a Faster RCNN taking ResNet101 as a backbone network, and the student network model is a Faster RCNN taking ResNet50 as a backbone network, so that about half of the number of middle layers is reduced, effective model compression is realized, and the detection precision of the compressed model is ensured by applying a Gram matrix.

Description

technical field [0001] The invention belongs to the technical field of image recognition, and in particular relates to a method for compressing a target detection model based on knowledge distillation. Background technique [0002] Target detection technology is mainly used to detect targets in images or videos, and the detection content includes the category of the target and the coordinates of the target. In recent years, the target detection algorithm based on deep learning has made great progress. The more popular algorithms can be divided into two categories, one is the R-CNN algorithm based on Region Proposal (including R-CNN, FastR-CNN, FasterR -CNN, etc.), they are Two-stage algorithms, which need to generate target candidate boxes in advance, and then classify and return the candidate boxes. The other type is One-stage algorithms such as YOLO and SSD, which can use a convolutional neural network (CNN) to directly predict the categories and positions of different ta...

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): G06N3/04G06N3/08G06N5/02
CPCG06N3/082G06N3/084G06N5/022G06N3/045
Inventor 王京冯瑞
Owner FUDAN UNIV