Training method for anomaly detection model and electronic device using the same
Abstract:
A training method for an anomaly detection model and an electronic device using the same are provided. The anomaly detection model includes a generative model and a discriminative model. The training method for the anomaly detection model includes the following steps. One of a plurality of original images and one of a plurality of task information are used as a training sample. The training sample is input to the generative model and the discriminative model to calculate a plurality of network loss results corresponding to the training sample. If the original image of the training sample does not match the task information of the training sample, a first loss function is obtained based on a weighted sum of reciprocals of the network loss results, and the generative model is trained according to the first loss function.
Information query
Patent Agency Ranking
0/0