Open basic0908 opened 1 year ago
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,...)
.
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?