ginobilinie / medSynthesisV1

This is a copy of package for medical image synthesis work with LRes-ResUnet and GAN (wgan-gp) in pytorch framework
MIT License
183 stars 45 forks source link

Why loss is rising #14

Open 921974496 opened 4 years ago

921974496 commented 4 years ago

Hellow, I am very interested in your work.This is a case of training with my own data.The loss is increasing all the time. Have you ever been in this situation? Is there something wrong with my revision


time now is: Mon Dec 23 16:31:41 2019 average running loss for generator between iter [201, 300] is: 559.80874 lossG_G is 810.52466 respectively. loss for GDL loss is 1224.602905 loss_real is -273623008.0 loss_fake is -1381496520704.0 loss for discriminator is 1381222842368.000000 D cost is -624456368128.000000 lossG_D for generator is -68901937152.000000 cost time for iter [201, 300] is 1535.73


trainMRCT_snorm_64_0711reg.h5 y shape (2112, 64, 64, 1)


time now is: Mon Dec 23 16:57:57 2019 average running loss for generator between iter [301, 400] is: 1166.54661 lossG_G is 1582.49902 respectively. loss for GDL loss is 6225.074219 loss_real is -347660448.0 loss_fake is -4028874358784.0 loss for discriminator is 4028526755840.000000 D cost is -1904541564928.000000 lossG_D for generator is -188310470656.000000 cost time for iter [301, 400] is 1575.69