Unsupervised_Deep_Learning
Unsupervised_Deep_Learning copied to clipboard
input and output to model.train_on_batch
Hi,
In you code, the input and outputs for the model are defined as below:
model = Model(inputs=encoder.input, outputs=[clustering_layer, autoencoder.output])
Then for fine-tuning step, we have:
model.train_on_batch(x=x[idx], y=[p[idx], x[idx]])
Shouldn't the x[idx]]
in y=[p[idx], x[idx]]
be the output of the autoencoder?