A training method to ensure the smooth convergence of the maximum and minimum loss functions of the 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, gradient increase of generator loss function, 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 (generative adversarial network model), there are two models that play with each other, one is the generator (generator) and the other is the discriminator (discriminator). In short, the generator is the function G(.), and the adversary is the function D(.).
[0070] In the specific implementation, we use the tensorflow machine learning platform for algorithm development.
[0071] In order to easily reproduce the method, we use the open source MNIST data as an example. Note that the use of DCGAN to generate MNIST data pictures is not a feature of the present invention, and only the key steps are posted here mainly for the convenience of reproduction.
[0072] 1. Prepare the 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 the MNIST image information, and the variable train_lab...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


