Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set train/eval correctly on model #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Set train/eval correctly on model #12

wants to merge 1 commit into from

Conversation

y0ast
Copy link

@y0ast y0ast commented Jul 23, 2019

I think you forgot to set train/eval mode in your train/test function. Since VectorQuantizedVAE contains batchnorm that is required to obtain correct results.

You do seem to set it in the pixelcnn prior training. I didn't check all parts of the code for this setting.

I think you forgot to set eval/train mode in your train/test function. Since `VectorQuantizedVAE` contains batchnorm that is required to correct results.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant