mae-scalable-vision-learners
mae-scalable-vision-learners copied to clipboard
Save decoder and encoder
How can I save the encoder and decoder of the model after pre training?
Hey @joao-alcindo thanks for you interest in the work!
You could access the encoder and decoder individually like so 👇
encoder = mae_model.encoder
decoder = mae_model.decoder
Once you have that, you could simple use the encoder.save("encoder.keras") API to save each of them (here encoder) separately. Hope that helps 😄