Training method for guaranteeing stable convergence of maximum and minimum loss function of GAN model
A loss function, maximum and minimum technology, applied in the field of deep learning, can solve problems such as explosion, generator and opponent game imbalance, GAN model training failure, etc., to achieve the effect of improving the training effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment
[0069] In the GAN model (generated confrontation network model), there are two models that compete with each other, one is the generator and the other is the discriminator. The abbreviated generator is the function G(.), and the adversarial is the function D(.).
[0070] For specific implementation, we choose the tensorflow machine learning platform for algorithm development.
[0071] In order to make the method easy to reproduce, we use the open source MNIST data as an example. Note that using DCGAN to generate MNIST data pictures is not a feature of the present invention, and only the key steps are posted here for the convenience of reproduction.
[0072] 1. Prepare data
[0073] Download the MNIST dataset from the Internet with the following command:
[0074] (train_images, train_labels), (_, _) = tf.keras.datasets.mnist.load_data()
[0075] Among them, the variable train_images stores MNIST image information, and the variable train_labels stores MNIST label information...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


