Unsupervised_Deep_Learning icon indicating copy to clipboard operation
Unsupervised_Deep_Learning copied to clipboard

input and output to model.train_on_batch

Open zeydabadi opened this issue 1 year ago • 0 comments

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?

zeydabadi avatar Mar 03 '23 03:03 zeydabadi