Skip to content

Conversation

@jveitchmichaelis
Copy link
Collaborator

@jveitchmichaelis jveitchmichaelis commented Jan 1, 2026

Description

  • Split "tasks" into sub scripts for easier organisation
  • Improvements to the training script to support many things that we want to do in common situations:
    • Comet/Tensorboard logging, optional
    • Sensible defaults for log directories
    • Defaults for callbacks (image + checkpoints)
  • Adds a log directory to the config + schema

WIP:

  • Will remove some DINOv3 specifics
  • Need to merge better support for resume/fine-tune (see dino/eval branch)

AI-Assisted Development

Some use of Claude Code for assisted testing (e.g. checking it can start training jobs).

  • I used AI tools (e.g., GitHub Copilot, ChatGPT, etc.) in developing this PR
  • I understand all the code I'm submitting
  • I have reviewed and validated all AI-generated code

@codecov
Copy link

codecov bot commented Jan 1, 2026

Codecov Report

❌ Patch coverage is 58.19209% with 74 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.67%. Comparing base (0ab23a3) to head (0bdff68).
⚠️ Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
src/deepforest/scripts/cli.py 0.00% 26 Missing ⚠️
src/deepforest/scripts/train.py 66.17% 23 Missing ⚠️
src/deepforest/scripts/evaluate.py 75.00% 13 Missing ⚠️
src/deepforest/scripts/predict.py 55.55% 12 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1255      +/-   ##
==========================================
- Coverage   87.73%   86.67%   -1.07%     
==========================================
  Files          20       23       +3     
  Lines        2716     2874     +158     
==========================================
+ Hits         2383     2491     +108     
- Misses        333      383      +50     
Flag Coverage Δ
unittests 86.67% <58.19%> (-1.07%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@jveitchmichaelis jveitchmichaelis force-pushed the cli-train-improve branch 2 times, most recently from 06c8c0d to 61d822a Compare January 9, 2026 21:41
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.

1 participant