Skip to content

Use trainer.predict for single images#1398

Open
jveitchmichaelis wants to merge 1 commit into
weecology:mainfrom
jveitchmichaelis:predict_lightning
Open

Use trainer.predict for single images#1398
jveitchmichaelis wants to merge 1 commit into
weecology:mainfrom
jveitchmichaelis:predict_lightning

use trainer.predict for single image

77881cf
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 5, 2026 in 1s

85.26% (target 85.00%)

View this Pull Request on Codecov

85.26% (target 85.00%)

Details

Codecov Report

❌ Patch coverage is 75.75758% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.26%. Comparing base (d2851ec) to head (77881cf).
⚠️ Report is 8 commits behind head on main.

Files with missing lines Patch % Lines
src/deepforest/predict.py 63.15% 7 Missing ⚠️
src/deepforest/main.py 92.85% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1398      +/-   ##
==========================================
- Coverage   86.61%   85.26%   -1.36%     
==========================================
  Files          26       27       +1     
  Lines        3736     3875     +139     
==========================================
+ Hits         3236     3304      +68     
- Misses        500      571      +71     

☔ View full report in Codecov by Harness.
📢 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.