Conversation
ViTForMaskedImageModeling example in documentationViTForMaskedImageModeling doc example
|
@ydshieh @alaradirik @fxmarty The issue coming from #22152 was an oversight on my part about breaking changes. Perhaps we should revert that PR first and then agree how to introduce this change as it is intended to be added to other vision model? |
|
Oh, I thought it was a new model head! Indeed a breaking change there. Good for me to revert that PR, but would be nice to talk to Sylvain or Lysandre first (if you feel necessary). I will leave you judge. Regarding a solution if we really want to have this new attribute and the new name |
|
The documentation is not available anymore as the PR was closed or merged. |
|
Converted to draft for now |
|
@ydshieh Yep - let's get @LysandreJik and @sgugger 's opinions. I think having the @alaradirik - could you open a PR to revert the changes? |
|
Actually, it's late for @alaradirik. I'll open the PR now. |
|
Yes we can't rename the parameter in the outputs like that for a model that has been around for a bit. What is even more annoying is that the commit was in the release, so we will need to make a patch with the fix. |
|
Close this PR as it's clear we will and have to definitely use the original |
|
Sorry for being late to comment, I added the With that said, ViT and Swin's MIM heads are implementations of SimMIM and SimMIM have recently released fine-tuned checkpoints for these two models (as opposed to the base model weights on the hub for Swin MIM head). I'm planning to convert these checkpoints and add a What do you think @amyeroberts @sgugger? |
What does this PR do?
Same #22185