Research Article

Digital Image Art Style Transfer Algorithm Based on CycleGAN

Algorithm 1

GAN algorithm.
BEGIN
FOR training iterations DO:
Extract m noise samples [z(1),…, z(m)]from the noise data .
Extract m noise samples [x(1),…, x(m)]from the real data pdata(x).
Optimize the parameters of the discriminant network through stochastic gradient ascent. .
Extract m noise samples[z(1),…, z(m)]from the noise data .
Generate network parameters through stochastic gradient descent optimization.