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?
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]]iny=[p[idx], x[idx]]be the output of the autoencoder?