Method for updating neural network and electronic device

    公开(公告)号:US11328180B2

    公开(公告)日:2022-05-10

    申请号:US16666631

    申请日:2019-10-29

    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.

Patent Agency Ranking