• NielsRogge's avatar
    Add SimMIM (#15586) · 57882177
    NielsRogge authored
    
    
    * Add first draft
    
    * Make model importable
    
    * Make SwinForMaskedImageModeling importable
    
    * Fix imports
    
    * Add missing inits
    
    * Add support for Swin
    
    * Fix bug
    
    * Fix bug
    
    * Fix another bug
    
    * Fix Swin MIM implementation
    
    * Fix default encoder stride
    
    * Fix Swin
    
    * Add print statements for debugging
    
    * Add image_size data argument
    
    * Fix Swin
    
    * Fix image_size
    
    * Add print statements for debugging
    
    * Fix print statement
    
    * Remove print statements
    
    * Improve reshaping of bool_masked_pos
    
    * Add support for DeiT, fix tests
    
    * Improve docstrings
    
    * Apply new black version
    
    * Improve script
    
    * Fix bug
    
    * Improve README
    
    * Apply suggestions from code review
    
    * Remove DS_Store and add to gitignore
    
    * Apply suggestions from code review + fix BEiT Flax
    
    * Revert BEiT changes
    
    * Improve README
    
    * Fix code quality
    
    * Improve README
    
    Co-authored-by: default avatarNiels Rogge <nielsrogge@Nielss-MBP.localdomain>
    Co-authored-by: default avatarNiels Rogge <nielsrogge@Nielss-MacBook-Pro.local>
    57882177