Skip to content

🆕 Add Cerberus#1060

Draft
measty wants to merge 92 commits intodevelopfrom
add-cerberus
Draft

🆕 Add Cerberus#1060
measty wants to merge 92 commits intodevelopfrom
add-cerberus

Conversation

@measty
Copy link
Copy Markdown
Collaborator

@measty measty commented May 8, 2026

This PR adds Cerberus model architecture and pretrained models, so it can be used within the newly-efficient tiatoolbox engines.

Still a draft as needs tidying up a bit and uploading weights to huggingface.

Example output:
image

measty and others added 30 commits January 16, 2025 13:27
- Drop Python 3.10 support
- Add Python 3.14 support
@measty measty marked this pull request as draft May 8, 2026 10:09
@shaneahmed shaneahmed changed the base branch from fix-zarr-check to develop May 8, 2026 10:11
@shaneahmed shaneahmed self-requested a review May 8, 2026 10:12
@shaneahmed shaneahmed added the enhancement New feature or request label May 8, 2026
@shaneahmed shaneahmed added this to the Release v2.1.0 milestone May 8, 2026
@shaneahmed shaneahmed changed the title Add cerberus :NEW: Add Cerberus May 8, 2026
@shaneahmed shaneahmed changed the title :NEW: Add Cerberus 🆕 Add Cerberus May 8, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 8, 2026

Codecov Report

❌ Patch coverage is 95.89041% with 18 lines in your changes missing coverage. Please review.
✅ Project coverage is 99.72%. Comparing base (9d5abca) to head (a6bed60).

Files with missing lines Patch % Lines
...iatoolbox/models/architecture/cerberus/postproc.py 88.29% 10 Missing and 1 partial ⚠️
tiatoolbox/models/architecture/cerberus/model.py 97.74% 1 Missing and 2 partials ⚠️
...iatoolbox/models/architecture/cerberus/net_desc.py 94.91% 1 Missing and 2 partials ⚠️
tiatoolbox/annotation/utils.py 97.67% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1060      +/-   ##
===========================================
- Coverage    99.88%   99.72%   -0.17%     
===========================================
  Files           85       93       +8     
  Lines        11623    12060     +437     
  Branches      1524     1570      +46     
===========================================
+ Hits         11610    12027     +417     
- Misses           7       21      +14     
- Partials         6       12       +6     

☔ 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants