Hi
I trained a GAN as my first PyTorch project and it worked really nicely.
However, whenever I put the generator into .eval() mode under a torch.no_grad() wrapper to get some outputs I just get a uniform output like in an untrained model.
When I do the same without calling generator .eval() first it works fine.
I thought .eval() just makes sure, dropout, batch norm, etc are all in evaluation mode, so I don’t see how it would affect it other than I misunderstood what .eval() does.
Thanks in advance for any tips and thoughts of things I could try.
It’s no biggie other than that I want to understand pytorch better.