Skip to content

SLEAP-NN v0.0.2

Choose a tag to compare

@gitttt-1234 gitttt-1234 released this 29 Sep 21:21
· 23 commits to main since this release
de28b41

Summary

This release focuses on several bug fixes and improvements across the training, inference, and CLI components of sleap-nn. It includes bug fixes for model backbones and loaders, enhancements to the configuration and CLI experience, improved robustness in multi-GPU training, and new options for device selection and tracking. Documentation and installation guides have also been updated, along with internal refactors to streamline the code consistency.

Major changes

  • Backbones & Models:

    • Fixed bugs in Swin Transformer and UNet backbone filter computations.
    • Corrected weight mapping for legacy TopDown ID models.
  • Inference & Tracking:

    • Removed unintended loading of pretrained weights during inference.
    • Fixed inference with suggestion frames and improved stalling handling.
    • Added option to run tracking on selected frames and video indices.
    • Added thread-safe video access to prevent backend crashes.
    • Added function to load metrics for better evaluation reporting.
  • Training Pipeline:

    • Fixed bugs in the training workflow with the infinite dataloader handling.
    • Improved seeding behavior for reproducible label splits in multi-GPU setups.
    • Fixed experiment run name generation across multi-GPU workers.
  • CLI & Config:

    • Introduced unified sleap-nn CLI with subcommands (train, track, eval) and more robust help injection.
    • Removed deprecated CLI commands and cleaned up legacy imports.
    • Added option to specify which devices to use, with auto-selection of GPUs based on available memory.
    • Updated sample configs and sleap-io skeleton function usage.
    • Minor parameter name and default updates for consistency with SLEAP.
  • Documentation & Installation:

    • Fixed broken documentation pages and improved menu structure.
    • Updated installation instructions with CUDA support for uv-based workflows.

What's Changed

Full Changelog: v0.0.1...v0.0.2