I have a problem where I want to get a compressed representation of some high-dimensional data. So normally, I would train an autoencoder to get that representation. But I don’t actually need the decoder, so is it possible for me to have the autoencoder training in my main loop?
For my AE, I’d want to use MSE loss and for my main model, I have a different loss function.
Is it possible to do it all at once or do I have to train my autoencoder separately?