Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@gitttt-1234
Copy link
Collaborator

@gitttt-1234 gitttt-1234 commented Oct 21, 2025

In this PR, the following are updated:

This PR sets integral refinement to None by default when running on Apple MPS (unsupported op), replacing the previous CPU fallback that caused slowdowns. The pipeline now stays on MPS unless the user explicitly re-enables refinement. It also fixes a test issue where output path was passed as a directory name instead of a file, triggering a “frame error skipped” condition; tests now pass a valid video path.

In this PR, we also implement the suggested fix here to gracefully handle unicode encoding errors in the logger. (Related issue: #357)

@codecov
Copy link

codecov bot commented Oct 21, 2025

Codecov Report

❌ Patch coverage is 57.14286% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.57%. Comparing base (ff91433) to head (e9221fe).
⚠️ Report is 55 commits behind head on main.

Files with missing lines Patch % Lines
sleap_nn/__init__.py 66.66% 2 Missing ⚠️
sleap_nn/predict.py 0.00% 1 Missing ⚠️

❌ Your patch status has failed because the patch coverage (57.14%) is below the target coverage (95.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #360      +/-   ##
==========================================
- Coverage   95.28%   93.57%   -1.71%     
==========================================
  Files          49       49              
  Lines        6765     7164     +399     
==========================================
+ Hits         6446     6704     +258     
- Misses        319      460     +141     

☔ 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 b495560 into main Oct 22, 2025
7 of 8 checks passed
@gitttt-1234 gitttt-1234 deleted the divya/minor-changes-inference branch October 22, 2025 23:24
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.

UnicodeEncodeError on Windows when logging messages with Unicode characters (checkmark ✓)

2 participants