You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are already running CTGAN, please indicate the following details about the environment in
which you are running it:
CTGAN version: 0.7.4
Python version: 3.10.12
Operating System: Linux
Problem description
I noticed there is no line of code that sets the self._generator module in evaluation mode before sampling. I would expect this to be necessary, since there's Batchnorm layers in the generator that operate differently under training mode vs. evaluation mode. Something like this at the start of the CTGAN.sample() method:
self._generator.eval()
Why is this not needed? Am I missing something here? Thanks!
The text was updated successfully, but these errors were encountered:
Environment details
If you are already running CTGAN, please indicate the following details about the environment in
which you are running it:
Problem description
I noticed there is no line of code that sets the
self._generator
module in evaluation mode before sampling. I would expect this to be necessary, since there's Batchnorm layers in the generator that operate differently under training mode vs. evaluation mode. Something like this at the start of theCTGAN.sample()
method:self._generator.eval()
Why is this not needed? Am I missing something here? Thanks!
The text was updated successfully, but these errors were encountered: