Skip to content

Conversation

@gitttt-1234
Copy link
Collaborator

This PR fixes a bug in how filters are computed for the UNet backbone. Previously, the calculation differed slightly from SLEAP due to rounding errors, which caused a layer mismatch when running inference with legacy SLEAP model weights. This update aligns the filter computation with SLEAP’s implementation, ensuring compatibility with models trained in the tensorflow framework.

Related Issue: #309

@gitttt-1234 gitttt-1234 linked an issue Sep 3, 2025 that may be closed by this pull request
@codecov
Copy link

codecov bot commented Sep 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.38%. Comparing base (ff91433) to head (b88d66a).
⚠️ Report is 22 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #313      +/-   ##
==========================================
+ Coverage   95.28%   95.38%   +0.10%     
==========================================
  Files          49       49              
  Lines        6765     6983     +218     
==========================================
+ Hits         6446     6661     +215     
- Misses        319      322       +3     

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

@gitttt-1234 gitttt-1234 merged commit 87cd1d0 into main Sep 3, 2025
8 checks passed
@gitttt-1234 gitttt-1234 deleted the divya/fix-legacy-import branch September 3, 2025 19:13
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.

Top-down legacy models not working

2 participants