Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OTX D-Fine Detection Algorithm Integration (#4142)
* init * remove convertbox * Refactor D-FINE detector: remove unused components and update model configuration * update * update * Update * update recipes * Add d-fine-m * Fix recipes * dfine-l * Add dfine m - no aug * format changes * learnable params + disable teacher distillation * update * add recipes * update * update * update recipes * add dfine_hgnetv2_x * Update recipes * add tile DFine recipes * update recipes and tile batch size * update * update LR * DFine revert LR changes * make multi-scale optional * update tile recipes * update tiling recipes * add backbone pretrained weights * updawte * update * loss * update * Update * refactor d-fine criterion * * Fix docstring punctuation and remove unused aux_loss parameter in DFINETransformerModule * Refactor DFineCriterion * Update style changes * conv batchnorm fuse * update hybrid encoder * Refactor DFINE HybridEncoderModule to improve code clarity and remove redundant parameters * minor update * Refactor D-FINE module structure by removing obsolete detector file and reorganizing imports * Refactor import paths in D-FINE module and clean up unused code * Refactor D-FINE module by removing commented code, cleaning up imports, and updating documentation * Refactor D-FINE module by updating type hints, improving error messages, and enhancing documentation for RandomIoUCrop * Refactor D-FINE module by improving the weighting function's return structure and updating type hints in DFINECriterion * Update d-fine unit test * Refactor D-FINE module by enhancing docstrings for clarity and updating parameter names for consistency * Add D-Fine Detection Algorithm entries to CHANGELOG and object detection documentation * Fix device assignment for positional embeddings in HybridEncoderModule * Refactor D-FINE module by removing unused functions and integrating dfine_bbox2distance in DFINECriterion * Update codeowners * Add advanced parameters to optimization config in DFine model * Remove DFINE M, S, N model configuration files * disable tiling mem cache * Update codeowners * revert codeowner changes * Remove unused DFINE model configurations from unit tests * Add heavy unit test workflow and mark tests accordingly * Add container configuration for Heavy-Unit-Test job in pre_merge.yaml * Add additional transformations to D-Fine configuration and update test skips for unsupported models * Reduce batch size and remove heavy markers from unit tests in test_tiling.py * Revert "Add additional transformations to D-Fine configuration and update test skips for unsupported models" This reverts commit d5c66f5. * Revert "Reduce batch size and remove heavy markers from unit tests in test_tiling.py" This reverts commit 563e033. * Add additional transformations to D-Fine configuration in YAML files * disable pytest heavy tag * update * Remove unused DFine-L model configurations and update unit tests * Add DFine-X model template for class-incremental object detection * Update docs/source/guide/explanation/algorithms/object_detection/object_detection.rst Co-authored-by: Samet Akcay <[email protected]> * Update copyright years from 2024 to 2025 in multiple files * Rename heavy unit tests to intense unit tests and update related configurations * Update container image in pre_merge.yaml for Intense-Unit-Test job * update pre-merge * update ubuntu container image * update container image * Add new object detection model configuration for DFine HGNetV2 X * update image * Update pre-merge workflow to use Ubuntu 24.04 and simplify unit test coverage reporting * install sqlite * Remove sudo from apt-get command in pre-merge workflow * Remove sudo from apt-get command in pre-merge workflow * Update pre-merge workflow to install additional dependencies and correct model name in converter * Update detection configuration: increase warmup steps and patience, add min_lr, and remove unused callbacks * Remove D-Fine model recipes from object detection documentation * Skip tests for unsupported models: add check for D-Fine * Skip tests for unsupported models: add check for D-Fine * Skip tests for unsupported models: add check for DFine * Refactor DFine model: remove unused checkpoint loading and update optimizer configuration documentation; change reg_scale to float in DFINETransformer. --------- Co-authored-by: Samet Akcay <[email protected]>
- Loading branch information