1. 29 Aug, 2023 1 commit
    • NielsRogge's avatar
      Add ViTDet (#25524) · 4c21da5e
      NielsRogge authored
      * First draft
      
      * Fix READMEs
      
      * Update return_dict
      
      * Add more tests
      
      * Fix docstrings
      
      * Address comments
      
      * Address more comments
      
      * Address more comments
      
      * Address more comments, fix test
      
      * Fix test
      4c21da5e
  2. 06 Jun, 2023 1 commit
    • amyeroberts's avatar
      Add TimmBackbone model (#22619) · a717e031
      amyeroberts authored
      
      
      * Add test_backbone for convnext
      
      * Add TimmBackbone model
      
      * Add check for backbone type
      
      * Tidying up - config checks
      
      * Update convnextv2
      
      * Tidy up
      
      * Fix indices & clearer comment
      
      * Exceptions for config checks
      
      * Correclty update config for tests
      
      * Safer imports
      
      * Safer safer imports
      
      * Fix where decorators go
      
      * Update import logic and backbone tests
      
      * More import fixes
      
      * Fixup
      
      * Only import all_models if torch available
      
      * Fix kwarg updates in from_pretrained & main rebase
      
      * Tidy up
      
      * Add tests for AutoBackbone
      
      * Tidy up
      
      * Fix import error
      
      * Fix up
      
      * Install nattan in doc_test_job
      
      * Revert back to setting self._out_xxx directly
      
      * Bug fix - out_indices mapping from out_features
      
      * Fix tests
      
      * Dont accept output_loading_info for Timm models
      
      * Set out_xxx and don't remap
      
      * Use smaller checkpoint for test
      
      * Don't remap timm indices - check out_indices based on stage names
      
      * Skip test as it's n/a
      
      * Apply suggestions from code review
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      
      * Cleaner imports / spelling is hard
      
      ---------
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      a717e031
  3. 04 May, 2023 1 commit
    • amyeroberts's avatar
      Add methods to update and verify out_features out_indices (#23031) · 90e8263d
      amyeroberts authored
      * Add methods to update and verify out_features out_indices
      
      * Safe update for config attributes
      
      * Fix function names
      
      * Save config correctly
      
      * PR comments - use property setters
      
      * PR comment - directly set attributes
      
      * Update test
      
      * Add updates to recently merged focalnet backbone
      90e8263d
  4. 03 May, 2023 2 commits
  5. 06 Apr, 2023 1 commit
    • amyeroberts's avatar
      Backbone add mixin tests (#22542) · 12d51db2
      amyeroberts authored
      * Add out_indices to backbones, deprecate out_features
      
      * Update - can specify both out_features and out_indices but not both
      
      * Add backbone mixin tests
      
      * Test tidy up
      
      * Add test_backbone for convnext
      
      * Remove redefinition of method
      
      * Update for Dinat and Nat backbones
      
      * Update tests
      
      * Smarter indexing
      
      * Add checks on config creation for backbone
      
      * PR comments
      12d51db2