1. 23 Oct, 2023 1 commit
  2. 29 Aug, 2023 1 commit
    • Lorenzo Battistela's avatar
      fixing name position_embeddings to object_queries (#24652) · 99c3d449
      Lorenzo Battistela authored
      
      
      * fixing name position_embeddings to object_queries
      
      * [fix] renaming variable and docstring do object queries
      
      * [fix] comment position_embedding to object queries
      
      * [feat] changes from make-fix-copies to keep consistency
      
      * Revert "[feat] changes from make-fix-copies to keep consistency"
      
      This reverts commit 56e3e9ede1d32f7aeefba707ddfaf12c9b4b9e7e.
      
      * [tests] fix wrong expected score
      
      * [fix] wrong assignment causing wrong tensor shapes
      
      * [fix] fixing position_embeddings to object queries to keep consistency (make fix copies)
      
      * [fix] make fix copies, renaming position_embeddings to object_queries
      
      * [fix] positional_embeddingss to object queries, fixes from make fix copies
      
      * [fix] comments frmo make fix copies
      
      * [fix] adding args validation to keep version support
      
      * [fix] adding args validation to keep version support -conditional detr
      
      * [fix] adding args validation to keep version support - maskformer
      
      * [style] make fixup style fixes
      
      * [feat] adding args checking
      
      * [feat] fixcopies and args checking
      
      * make fixup
      
      * make fixup
      
      ---------
      Co-authored-by: default avatarLorenzobattistela <lorenzobattistela@gmail.com>
      99c3d449
  3. 28 Aug, 2023 1 commit
  4. 01 Aug, 2023 1 commit
  5. 14 Jul, 2023 1 commit
  6. 29 Jun, 2023 1 commit
    • MS Kim(tony9402)'s avatar
      Fix annotations (#24582) · 232c898f
      MS Kim(tony9402) authored
      * fix annotations
      
      * fix annotations
      
      * fix annotations
      
      * fix annotations
      
      * fix annotations
      
      * fix annotations
      
      * fix annotations
      
      * fix annotations
      
      * fix annotations
      
      * fix annotations
      
      * fix annotations
      
      * fix annotations
      
      * fix annotations
      
      * fix annotations
      
      * fix annotations
      
      * fix annotations
      
      * fix annotations
      
      * fix annotations
      
      * fix annotations
      
      * fix annotations
      
      * fix annotations
      
      * fix annotations
      
      * fix annotations
      232c898f
  7. 26 Jun, 2023 1 commit
  8. 23 Jun, 2023 1 commit
  9. 22 Jun, 2023 1 commit
  10. 21 Jun, 2023 1 commit
  11. 15 Jun, 2023 1 commit
  12. 21 Mar, 2023 1 commit
  13. 23 Jan, 2023 2 commits
  14. 30 Nov, 2022 2 commits
    • amyeroberts's avatar
      Update doc examples feature extractor -> image processor (#20501) · 17a7b49b
      amyeroberts authored
      * Update doc example feature extractor -> image processor
      
      * Apply suggestions from code review
      17a7b49b
    • amyeroberts's avatar
      Add segmentation + object detection image processors (#20160) · de6d19ea
      amyeroberts authored
      * Add transforms for object detection
      
      * DETR models + Yolos
      
      * Scrappy additions
      
      * Maskformer image processor
      
      * Fix up; MaskFormer tests
      
      * Update owlvit processor
      
      * Add to docs
      
      * OwlViT tests
      
      * Update pad logic
      
      * Remove changes to transforms
      
      * Import fn directly
      
      * Update to include pad transformation
      
      * Remove uninstended changes
      
      * Add new owlvit post processing function
      
      * Tidy up
      
      * Fix copies
      
      * Fix some copies
      
      * Include device fix
      
      * Fix scipy imports
      
      * Update _pad_image
      
      * Update padding functionality
      
      * Fix bug
      
      * Properly handle ignore index
      
      * Fix up
      
      * Remove defaults to None in docstrings
      
      * Fix docstrings & docs
      
      * Fix sizes bug
      
      * Resolve conflicts in init
      
      * Cast to float after resizing
      
      * Tidy & add size if missing
      
      * Allow kwards when processing for owlvit
      
      * Update test values
      de6d19ea
  15. 17 Nov, 2022 1 commit
  16. 18 Oct, 2022 1 commit
    • NielsRogge's avatar
      Improve DETR models (#19644) · 90071fe4
      NielsRogge authored
      * Improve DETR models
      
      * Fix Deformable DETR loss and matcher
      
      * Fixup
      
      * Fix integration tests
      
      * Improve variable names
      
      * Apply suggestion
      
      * Fix copies
      
      * Fix DeformableDetrLoss
      
      * Make Conditional DETR copy from Deformable DETR
      
      * Copy from deformable detr's hungarian matcher
      
      * Fix bug
      90071fe4
  17. 17 Oct, 2022 1 commit
  18. 06 Oct, 2022 1 commit
  19. 03 Oct, 2022 1 commit
  20. 29 Sep, 2022 1 commit
    • Alara Dirik's avatar
      Improve DETR post-processing methods (#19205) · 01eb34ab
      Alara Dirik authored
      * Ensures consistent arguments and outputs with other post-processing methods
      * Adds post_process_semantic_segmentation, post_process_instance_segmentation, post_process_panoptic_segmentation, post_process_object_detection methods to DetrFeatureExtractor
      * Adds deprecation warnings to post_process, post_process_segmentation and post_process_panoptic
      01eb34ab
  21. 14 Sep, 2022 1 commit
    • NielsRogge's avatar
      Add Deformable DETR (#17281) · 59407bbe
      NielsRogge authored
      
      
      * First draft
      
      * More improvements
      
      * Improve model, add custom CUDA code
      
      * Import torch before
      
      * Add script that imports custom layer
      
      * Add everything in new ops directory
      
      * Import custom layer in modeling file
      
      * Fix ARCHIVE_MAP typo
      
      * Creating the custom kernel on the fly.
      
      * Import custom layer in modeling file
      
      * More improvements
      
      * Fix CUDA loading
      
      * More improvements
      
      * Improve conversion script
      
      * Improve conversion script
      
      * Make it work until encoder_outputs
      
      * Make forward pass work
      
      * More improvements
      
      * Make logits match original implementation
      
      * Make implementation also support single_scale model
      
      * Add support for single_scale and dilation checkpoint
      
      * Add support for with_box_refine model
      
      * Support also two stage model
      
      * Improve tests
      
      * Fix more tests
      
      * Make more tests pass
      
      * Upload all models to the hub
      
      * Clean up some code
      
      * Improve decoder outputs
      
      * Rename intermediate hidden states and reference points
      
      * Improve model outputs
      
      * Move tests to dedicated folder
      
      * Improve model outputs
      
      * Fix retain_grad test
      
      * Improve docs
      
      * Clean up and make test_initialization pass
      
      * Improve variable names
      
      * Add copied from statements
      
      * Improve docs
      
      * Fix style
      
      * Improve docs
      
      * Improve docs, move tests to model folder
      
      * Fix rebase
      
      * Remove DetrForSegmentation from auto mapping
      
      * Apply suggestions from code review
      
      * Improve variable names and docstrings
      
      * Apply some more suggestions from code review
      
      * Apply suggestion from code review
      
      * better docs and variables names
      
      * hint to num_queries and two_stage confusion
      
      * remove asserts and code refactor
      
      * add exception if two_stage is True and with_box_refine is False
      
      * use f-strings
      
      * Improve docs and variable names
      
      * Fix code quality
      
      * Fix rebase
      
      * Add require_torch_gpu decorator
      
      * Add pip install ninja to CI jobs
      
      * Apply suggestion of @sgugger
      
      * Remove DeformableDetrForObjectDetection from auto mapping
      
      * Remove DeformableDetrModel from auto mapping
      
      * Add model to toctree
      
      * Add model back to mappings, skip model in pipeline tests
      
      * Apply @sgugger's suggestion
      
      * Fix imports in the init
      
      * Fix copies
      
      * Add CPU implementation
      
      * Comment out GPU function
      
      * Undo previous change
      
      * Apply more suggestions
      
      * Remove require_torch_gpu annotator
      
      * Fix quality
      
      * Add logger.info
      
      * Fix logger
      
      * Fix variable names
      
      * Fix initializaztion
      
      * Add missing initialization
      
      * Update checkpoint name
      
      * Add model to doc tests
      
      * Add CPU/GPU equivalence test
      
      * Add Deformable DETR to pipeline tests
      
      * Skip model for object detection pipeline
      Co-authored-by: default avatarNicolas Patry <patry.nicolas@protonmail.com>
      Co-authored-by: default avatarNouamane Tazi <nouamane98@gmail.com>
      Co-authored-by: default avatarSylvain Gugger <Sylvain.gugger@gmail.com>
      59407bbe
  22. 31 Aug, 2022 2 commits
  23. 01 Aug, 2022 1 commit
  24. 27 Jul, 2022 1 commit
  25. 11 Jul, 2022 1 commit
  26. 23 Jun, 2022 1 commit
    • Quentin's avatar
      add doctests for DETR (#17786) · ab223fc1
      Quentin authored
      * add: check labels for detr object detection doctests
      
      * add: check shapes
      
      * add: add detr to documentation_tests.py
      
      * fix: make fixup output
      
      * fix: add a comment
      ab223fc1
  27. 21 Jun, 2022 1 commit
  28. 20 Jun, 2022 1 commit
  29. 12 May, 2022 1 commit
  30. 02 May, 2022 1 commit
    • NielsRogge's avatar
      Add YOLOS (#16848) · 1ac69874
      NielsRogge authored
      
      
      * First draft
      
      * Add YolosForObjectDetection
      
      * Make forward pass work
      
      * Add mid position embeddings
      
      * Add interpolation of position encodings
      
      * Add expected values
      
      * Add YOLOS to tests
      
      * Add integration test
      
      * Support tiny model as well
      
      * Support all models in conversion script
      
      * Remove mid_pe_size attribute
      
      * Make more tests pass
      
      * Add model to README and fix config
      
      * Add copied from statements
      
      * Rename base_model_prefix to vit
      
      * Add missing YOLOS_PRETRAINED_CONFIG_ARCHIVE_MAP
      
      * Apply suggestions from code review
      
      * Apply more suggestions from code review
      
      * Convert remaining checkpoints
      
      * Improve docstrings
      
      * Add YolosFeatureExtractor
      
      * Add feature extractor to docs
      
      * Add corresponding tests
      
      * Fix style
      
      * Fix docs
      
      * Apply suggestion from code review
      
      * Fix bad rebase
      
      * Fix some more bad rebase
      
      * Fix missing character
      
      * Improve docs and variable names
      Co-authored-by: default avatarNiels Rogge <nielsrogge@Nielss-MacBook-Pro.local>
      1ac69874
  31. 12 Apr, 2022 1 commit
  32. 25 Mar, 2022 1 commit
  33. 23 Mar, 2022 1 commit
    • Sylvain Gugger's avatar
      Reorganize file utils (#16264) · 4975002d
      Sylvain Gugger authored
      * Split file_utils in several submodules
      
      * Fixes
      
      * Add back more objects
      
      * More fixes
      
      * Who exactly decided to import that from there?
      
      * Second suggestion to code with code review
      
      * Revert wront move
      
      * Fix imports
      
      * Adapt all imports
      
      * Adapt all imports everywhere
      
      * Revert this import, will fix in a separate commit
      4975002d
  34. 18 Feb, 2022 1 commit
  35. 09 Feb, 2022 1 commit
  36. 28 Dec, 2021 1 commit
    • Sylvain Gugger's avatar
      Doc styler examples (#14953) · b5e2b183
      Sylvain Gugger authored
      * Fix bad examples
      
      * Add black formatting to style_doc
      
      * Use first nonempty line
      
      * Put it at the right place
      
      * Don't add spaces to empty lines
      
      * Better templates
      
      * Deal with triple quotes in docstrings
      
      * Result of style_doc
      
      * Enable mdx treatment and fix code examples in MDXs
      
      * Result of doc styler on doc source files
      
      * Last fixes
      
      * Break copy from
      b5e2b183
  37. 27 Dec, 2021 1 commit