junyanz / pytorch-CycleGAN-and-pix2pix

Image-to-Image Translation in PyTorch
Other
22.8k stars 6.29k forks source link

Cycle_A loss suddenly becomes very high #1599

Open JunCS1 opened 1 year ago

JunCS1 commented 1 year ago

Hi, @junyanz @taesungp

does anyone encounter issues like the cycle_A loss suddenly becomes very high after a random iteration? my loss log shows that in epoch 78, the discrimintor loss suddenly decrease to close to zero and my generator loss goes from 0.2ish to almost 1 and 2. The cycle_A loss also looks like being suddenly very high.

Screenshot 2023-09-23 at 6 09 43 PM Screenshot 2023-09-23 at 6 10 39 PM

The inferenced image is all black now after these severeal losses exploded.

tongfh1 commented 11 months ago

Hello, I am also generating images that are all black.