⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.

CycleGAN: Cycle-Consistency Loss Live

This simulator trains a genuine, tiny CycleGAN in your browser — two generator networks (G: X→Y, F: Y→X) and two discriminator networks — with real backpropagation running every animation frame, mapping between a sphere-shaped point cloud and a torus-shaped point cloud that share no paired examples. A live cycle-consistency loss term (‖F(G(x))−x‖ + ‖G(F(y))−y‖) keeps the two generators acting as approximate inverses of each other; drop its weight to zero and watch the reconstructed clouds drift away from their originals, a direct demonstration of the failure mode cycle-consistency was invented to prevent in unpaired image-to-image translation models like CycleGAN and StyleGAN-based translators.