• NielsRogge's avatar
    Add DINO conversion script (#13265) · 0759f251
    NielsRogge authored
    * First commit
    
    * Add interpolation of patch embeddings
    
    * Comment out code
    
    * Fix bug
    
    * Fix another bug
    
    * Fix bug
    
    * Fix another bug
    
    * Remove print statements
    
    * Update conversion script
    
    * Use the official vit implementation
    
    * Add support for converting dino_vits8
    
    * Add DINO to docs of ViT
    
    * Remove assertion
    
    * Add interpolation of position encodings
    
    * Fix bug
    
    * Add align_corners
    
    * Add interpolate_pos_encoding option to forward pass of ViTModel
    
    * Improve interpolate_pos_encoding method
    
    * Add docstring
    0759f251
vit.rst 7.78 KB