Skip to content

Conversation

@gitttt-1234
Copy link
Collaborator

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

This PR introduces a unified CLI interface for SLEAP-NN through a new sleap-nn command that provides subcommands for training (train), tracking (track), and evaluation (eval) workflows. The implementation maintains full backward compatibility with existing entrypoints (sleap-nn-train, sleap-nn-track, sleap-nn-eval).

# Install the package with extras
uvx --from sleap-nn sleap-nn[torch-cpu]

# Then run your command
uvx sleap-nn train --config-name config.yaml --config-dir configs/

@codecov
Copy link

codecov bot commented Aug 21, 2025

Codecov Report

❌ Patch coverage is 97.08738% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 95.37%. Comparing base (ff91433) to head (9674f8b).
⚠️ Report is 17 commits behind head on main.

Files with missing lines Patch % Lines
sleap_nn/cli.py 96.73% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #300      +/-   ##
==========================================
+ Coverage   95.28%   95.37%   +0.08%     
==========================================
  Files          49       49              
  Lines        6765     6978     +213     
==========================================
+ Hits         6446     6655     +209     
- Misses        319      323       +4     

☔ 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 914c5e4 into main Aug 21, 2025
8 checks passed
@gitttt-1234 gitttt-1234 deleted the divya/add-sleap-nn-cli branch August 21, 2025 01:22
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.

2 participants