Lr-LiVAE icon indicating copy to clipboard operation
Lr-LiVAE copied to clipboard

about the "is_training" argument...

Open johnnyasd12 opened this issue 5 years ago • 0 comments

Hi, I wonder how is is_training argument work? In the code, it seems it's for setting batch_norm layer behavior, but after training, if I need to generate image with is_training=False, then it generate bad results.... It's weird that if I set is_training = True then I can get better results.

UPDATE: the generated result will be bad when i only reconstruct one image when is_training = True, if i reconstruct many images (say 100 images) then it will be better result.

Did I misunderstand something?

Thank you!

johnnyasd12 avatar Nov 19 '19 08:11 johnnyasd12