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

Chapter2 vae.fit(x_train, x_train, ....) #24

Open
basic0908 opened this issue Jun 8, 2023 · 1 comment
Open

Chapter2 vae.fit(x_train, x_train, ....) #24

basic0908 opened this issue Jun 8, 2023 · 1 comment

Comments

@basic0908
Copy link

I am wondering why in chapter 2 code, it is vae.fit(x_train, x_train,...).
According to the tf documentation it should be vae.fit(x_train, y_train,...)?

If anyone knows can you please explain to me?

@marckolak
Copy link

y_train contains labels corresponding to digit pictures e.g. 0,1,2,3,4,5,...
Here you train the whole encoder-decoder architecture - you put a MNIST image at the input and try to reproduce it at the output. To assess the reproduction quality you have to compare the result to the input , thus vae.fit(x_train, x_train,...).

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

No branches or pull requests

2 participants