Added implementation for MAE [work in progress - help appreciated] - #19
Draft
ariguiba wants to merge 2 commits into
Draft
Added implementation for MAE [work in progress - help appreciated]#19ariguiba wants to merge 2 commits into
ariguiba wants to merge 2 commits into
Conversation
Collaborator
|
I haven't tried it. I haven't looked at your code in detail, but it seems your network is not really training: the loss per batch is constant over epochs, and the reconstruction quality is very poor... |
Author
Yes, that's also my worry that the model is not learning at all and I don't understand why, I've tried smaller and bigger model (each time adding 1-2 conv layers or playing around with the projector) but that didn't have any effect. Thank you in advance if you check it out! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi 👋 I'm new here and trying to learn more about SSL techniques. This dataset seemed like a great place to start!
First try at implementing a masked autoencoder
The idea was to extend the approach of simCLR and implement a masked autoencoder using self-supervised learning. For now the masked mechanism is turned off and I tried to implement a simple reconstruction autoencoder.
I followed similar architecture design as simCLR, using only CNNs and Linear layers, and similar hyperparams.
The main setup is as follows:
My intuition is: the reason behind this is that autoencoders are not optimized for similarity but for reconstruction, so that's why we're not seeing any class clusters. However, I would still expect some clusters (say of features or something) in the latent space. This is also necessary once it's extended to a masked autoencoder.
Any insights? Opinions on this?
Has anyone tried it before?
Any feedback is appreciated 🎉