Method and device for fine tuning of CNN model

A technology of models and clustering algorithms, applied in the field of deep learning, can solve problems affecting the performance of CNN models, achieve the effects of reducing mutual influence, simple implementation, and weakening influence

Inactive Publication Date: 2018-04-20
ZHEJIANG DAHUA TECH
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Some schemes gather the image features of the same category to the feature mean of the category, so that the image features of the same category gather to the f

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
  • Method and device for fine tuning of CNN model
  • Method and device for fine tuning of CNN model
  • Method and device for fine tuning of CNN model

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0038] The method and device for fine-tuning a CNN model provided by the present invention will be described in more detail below with reference to the accompanying drawings and embodiments.

[0039] Such as figure 2 As shown, the embodiment of the present invention provides a method for fine-tuning a CNN model, and its specific implementation is as follows:

[0040] Step 210: Perform image feature extraction on all input sample images based on the pre-trained CNN model to obtain image features of multiple categories;

[0041] Step 220: For the image features of each category, use a clustering algorithm to cluster the image features within the category to obtain the cluster center of each cluster;

[0042] Step 230: Calculate the error using a preset objective function; wherein the objective function is used to gather the image features in each cluster toward the cluster center;

[0043] Step 240: Reversely transmit the error in the CNN model, and update the parameters of the CNN model...

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 embodiment of the invention discloses a method and a device for fine tuning of a CNN (Convolutional Neural Network) model. The method comprises the steps of: performing extraction of image features of all the input sample images based on a CNN model through pre-training, and obtaining various types of image features; for each type of image features, employing a clustering algorithm to performclustering of the image features in the type, and obtaining a cluster center of each cluster; employing a preset target function to calculate errors, wherein the target function is configured to gather the image features in each cluster to the cluster center; and performing reverse direction transmission of the errors in the CNN model, and performing updating of parameters of the CNN model. Therefore, images of dirty samples and images of samples with good quality can be respectively and individually clustered so as to reduce mutual influence therebetween, facilitate convergence of the imagesof the samples with good quality, reduce the influence of the dirty samples on the CNN model and simplify the implementation.

Description

technical field [0001] The invention relates to the technical field of deep learning, in particular to a method and device for fine-tuning a CNN model. Background technique [0002] Convolutional Neural Network (CNN) is one of the mainstream network models in the field of deep learning. A typical CNN model consists of convolutional layers and pooling layers alternately, such as figure 1 As shown, the input layer 101 inputs an image, the convolution layer 102 performs image feature extraction on each local area of ​​the image of the input layer, and the pooling layer 103 samples the image features of the convolution layer to reduce the dimensionality, and then several layers The fully connected layer 104 connects the image features, and the output value of the last hidden layer 105 is the final extracted feature, and the extracted image features are classified by the Softmax classification layer 106, and the prediction score of the category is output. During training, the p...

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/08G06K9/62
CPCG06N3/084G06F18/23G06F18/214
Inventor 程福运郝敬松
Owner ZHEJIANG DAHUA TECH
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