Method for updating neural network and electronic device
Abstract:
Disclosed are a method for updating a neural network and an electronic device. The method includes: inputting a first image set having tag information into a first depth neural network, and determining a cross entropy loss value of the first image set by using the first depth neural network; inputting a second image set having no tag information separately into the first depth neural network and a second depth neural network, and determining a consistency loss value of the second image set, the first depth neural network and the second depth neural network having the same network structure; updating parameters of the first depth neural network based on the cross entropy loss value and the consistency loss value; and updating parameters of the second depth neural network based on the updated parameters of the first depth neural network.
Information query
Patent Agency Ranking
0/0