Separate encoder from autoencoder train model

Hey! Can anybody tell me how I can separate the encoder portion from the autoencoder train model? So I can use the features extracted by the encoder.

If you separated your encoder and decoder like in this thread, you could just call model.encoder(data) to get the encoder features.

Thank you model.encoder() works there was a syntax error in my code which i have resolved :slight_smile: