Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: normalization to prevent divison-by-zero #155

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jkbmrz
Copy link
Collaborator

@jkbmrz jkbmrz commented Dec 20, 2024

Adding a quick fix to prevent divison-by-zero when we un-normalize images.

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 5 lines in your changes missing coverage. Please review.

Project coverage is 36.13%. Comparing base (97ef45a) to head (e42f3ad).

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
depthai_nodes/ml/parsers/utils/denormalize.py 0.00% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #155      +/-   ##
==========================================
- Coverage   36.15%   36.13%   -0.03%     
==========================================
  Files          70       70              
  Lines        3986     3991       +5     
==========================================
+ Hits         1441     1442       +1     
- Misses       2545     2549       +4     

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Fixing a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants