Skip to content

Ensemble faster-rcnn detectors#114

Draft
sfmig wants to merge 41 commits into
mainfrom
smg/ensembles-basic
Draft

Ensemble faster-rcnn detectors#114
sfmig wants to merge 41 commits into
mainfrom
smg/ensembles-basic

Conversation

@sfmig
Copy link
Copy Markdown
Member

@sfmig sfmig commented Nov 18, 2025

Description

In this PR

  • ensemble model for inference (supports detectors under torchvision.models.detection)
  • module for fusing bboxes

References

Please reference any existing issues/PRs that relate to this PR.

How has this PR been tested?

Please explain how any new code has been tested, and how you have ensured that no existing functionality has changed.

Is this a breaking change?

If this PR breaks any existing functionality, please explain how and why.

Does this PR require an update to the documentation?

If any features have changed, or have been added. Please explain how the
documentation has been updated.

Checklist:

  • The code has been tested locally
  • Tests have been added to cover all new functionality
  • The documentation has been updated to reflect any changes
  • The code has been formatted with pre-commit

@sfmig sfmig force-pushed the smg/ensembles-basic branch from 5eab499 to 7deace1 Compare November 19, 2025 19:38
@sfmig sfmig mentioned this pull request Nov 20, 2025
4 tasks
@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 4, 2025

Codecov Report

❌ Patch coverage is 9.67742% with 168 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.01%. Comparing base (a34f1f6) to head (b34680d).

Files with missing lines Patch % Lines
ethology/detectors/ensembles/fusion.py 0.00% 97 Missing ⚠️
ethology/detectors/ensembles/models.py 0.00% 71 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #114       +/-   ##
===========================================
- Coverage   99.46%   77.01%   -22.45%     
===========================================
  Files           8       11        +3     
  Lines         558      744      +186     
===========================================
+ Hits          555      573       +18     
- Misses          3      171      +168     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

sfmig and others added 14 commits December 4, 2025 13:05
* update supported Python version to 3.11 - 3.13

* Use default python version for docs build

* Bring back Python version for build docs action

---------

Co-authored-by: sfmig <33267254+sfmig@users.noreply.github.com>
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.14.3 → v0.14.7](astral-sh/ruff-pre-commit@v0.14.3...v0.14.7)
- [github.com/pre-commit/mirrors-mypy: v1.18.2 → v1.19.0](pre-commit/mirrors-mypy@v1.18.2...v1.19.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Classvars for validators WIP

* Make defaults class variables also for file validators

* Update docstrings

* Add uv.lock to .gitignore

* Clarify comments on class variables in validators to indicate they should not be modified after initialization.

* Remove class attribute from docstring (not numpy style)

* Fix excluded modules in API index generation script

* Add preliminary tests
@sfmig sfmig force-pushed the smg/ensembles-basic branch from cb321b7 to 5399fef Compare December 4, 2025 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants