Skip to content

Releases: talmolab/sleap

SLEAP v1.3.2

10 Sep 17:07

Choose a tag to compare

SLEAP 1.3.2 adds some nice usability features thanks to both the community ideas and new contributors! See 1.3.0 and 1.3.1 for previous notable changes.

From 1.3.2+, to install SLEAP through PyPI use pip install sleap[pypi] to ensure all dependencies are gathered.

As a reminder:

The 1.3.1 dependency update requires Mamba for faster dependency resolution. If you already have anaconda installed, then you can set the solver to libmamba in the base environment:

conda update -n base conda
conda install -n base conda-libmamba-solver
conda config --set solver libmamba

Any subsequent mamba commands in the docs will need to be replaced with conda if you choose to use your existing Anaconda installation.

Otherwise, follow the recommended installation instruction for Mamba.

Quick install

mamba (Windows/Linux/GPU):

mamba create -y -n sleap -c conda-forge -c nvidia -c sleap -c anaconda sleap=1.3.2

mamba (Mac):

mamba create -y -n sleap -c conda-forge -c anaconda -c sleap sleap=1.3.2

pip (any OS except Apple Silicon):

pip install sleap[pypi]==1.3.2

Highlights

Full Changelog

Enhancements

Fixes

Dependencies

New Contributors

Full Changelog: v1.3.1...v1.3.2

SLEAP v1.3.1

30 Jun 20:43

Choose a tag to compare

After the massive 1.3.0 release, SLEAP 1.3.1 underwent a much needed dependency and build update. SLEAP 1.3.1 has conda packages for Mac OS X and Apple Silicon 🎉. In terms of features, 1.3.1 has just a few small upgrades/fixes. Be sure to check back in for bigger features still in the works! 🚧 🔨 👀

The 1.3.1 dependency update requires Mamba for faster dependency resolution. If you already have anaconda installed, then you can install Mamba in the base environment:

conda install mamba -n base -c conda-forge

Otherwise, follow the recommended installation instruction for Mamba.

Quick install

mamba (Windows/Linux/GPU):

mamba create -y -n sleap -c conda-forge -c nvidia -c sleap -c anaconda sleap=1.3.1

mamba (Mac):

mamba create -y -n sleap -c conda-forge -c anaconda -c sleap sleap=1.3.1

pip (any OS except Apple Silicon):

pip install sleap==1.3.1

Highlights

Full Changelog

Enhancements

Fixes

  • Disable data caching by default for SingleImageVideos by @talmo in #1243
  • Fix single frame GUI increment by @roomrys in #1254
  • Fix conversion to numpy array when last frame(s) do not have labels by @talmo in #1307
  • Ensure frames to predict list is unique by @roomrys in #1293
  • Fix GUI resume training by @roomrys in #1314
  • Do not choose top_k instances if max_instances < num centroids by @roomrys in #1313
  • Remove --labels and redundant data_path by @roomrys in #1326
  • Create copy of config info to modify (gui) by @roomrys in #1325
  • Fixes GPU memory polling using environment variable filtering by @ericleonardis in #1272
  • Set split_by_inds, test_labels, and validation_labels to default (GUI) by @roomrys in #1331
  • Fix (remove) SingleImageVideo caching by @roomrys in #1330

Dependencies

New Contributors

Full Changelog: v1.3.0...v1.3.1

SLEAP v1.3.0

23 Mar 22:11

Choose a tag to compare

For 1.3.0 we want to give our users some cool new features worth upgrading for! This release includes a many enhancements we hope our users will enjoy as well as its fair share of bug fixes.

Quick install

conda (Windows/Linux/GPU):

conda create -y -n sleap -c sleap -c nvidia -c conda-forge sleap=1.3.0

pip (any OS except Apple Silicon):

pip install sleap==1.3.0

What's Changed

Highlights

Full Changelog

Documentation

Enhancements

Fixes

New Contributors

Full Changelog: v1.2.9...v1.3.0

SLEAP v1.3.0a0

24 Feb 17:03
d4f63b8

Choose a tag to compare

SLEAP v1.3.0a0 Pre-release
Pre-release

Pre-release of SLEAP v1.3.0.

For 1.3.0 we want to give our users some cool new features worth upgrading for! This pre-release includes lots of enhancements and it's fair share of bug fixes.

Warning: This is a pre-release! Expect bugs and strange behavior when testing.

Quick install

conda (Windows/Linux/GPU):

conda create -y -n sleap -c sleap -c sleap/label/dev -c nvidia -c conda-forge sleap=1.3.0a0

pip (any OS except Apple Silicon):

pip install sleap==1.3.0a0

Highlights

Full changelog

Documentation

Enhancements

Fixes

  • Fix config option to split_by_inds by @roomrys in #1060
  • Don't create instances during inference if no points were found by @talmo in #1073
  • Add one-line fix to VideoWriterSkyvideo by @roomrys in #1082
  • Fix parser for sleap-export by @roomrys in #1085
  • Refactor commands to load project as AppCommands by @roomrys in #1098
  • Create signal that updates plot instead of removing and replotting items by @roomrys in #1134
  • Fix symmetric skeletons (via table input) by @roomrys in #1136
  • Fix body vs symmetry subgraph filtering by @talmo in #1142
  • Handle changing backbones in training editor GUI by @talmo in #1140
  • Hotfix for video save #1098 by @roomrys in #1148

New Contributors

SLEAP v1.2.9

11 Nov 15:02

Choose a tag to compare

Stable release of SLEAP v1.2.9. This release has lots of bug fixes, a few GUI enhancements, and one CLI fix.

See the release notes for v1.2.0, v1.2.1, v1.2.2, v1.2.7 for previous major changes.

Quick install

conda (Windows/Linux/GPU):

conda create -y -n sleap -c sleap -c nvidia -c conda-forge sleap=1.2.9

pip (any OS):

pip install sleap==1.2.9

See the Installation page in the docs for more info.

Highlights

  • Prefer user instances when calling Labels.numpy() (#996)
  • Add upper limit of the instance count in prediction score labeling suggestion method (#981)
  • Add more options to render video: wedges, palette, and distinctly color (#998)
  • Always draw user instances even if all nodes marked as not visible (#1002)
  • Add frame chunk method in labeling suggestions (#1007)

Full changelog

Documentation

  • Add sample movies to docs (#992)
  • Fix docs in Model_evaluation.ipynb (#1034)

Enhancements

  • Prefer user instances when calling Labels.numpy() (#996)
  • Add more options to render video: wedges, palette, and distinctly color (#998)
  • Add upper limit of the instance count in prediction score labeling suggestion method (#981)
  • Speed-up cache for multi-video projects (#1017)
  • Increase max number for target instances in simple tracker form (#1037)
  • Share usage data #1038
  • Add frame chunk method in labeling suggestions (#1007)

Fixes

  • Fix printing of auto-selected GPU free memory (#955)
  • Fix add suggestions when target is current video (#956)
  • Fix sleap-export cli arg parsing (#962)
  • Fix cattr in Python 3.9 (#967)
  • Fix editing track name clears the old entry on double-click (#980)
  • Prune saved shifted instances (#1001)
  • Update suggestions upon video removal (#1009)
  • Correctly add .h5 extension to analysis files on Linux (#1010)
  • GUI Table: Do not set item value if same as current value (#1022)
  • Always draw user instances even if all nodes marked as not visible (#1002)
  • Shifted instances: make sure ref_instances is not empty (#1029)
  • Trails prefer user instances over predicted (#1036)

SLEAP v1.2.8

13 Sep 20:44
29e364c

Choose a tag to compare

Stable release of SLEAP v1.2.8. This release is a hotfix for a couple of issues in v1.2.7.

See the release notes for v1.2.0, v1.2.1, v1.2.2, v1.2.7 for previous major changes.

Quick install

conda (Windows/Linux/GPU):

conda create -y -n sleap -c sleap -c nvidia -c conda-forge sleap=1.2.8

pip (any OS):

pip install sleap==1.2.8

See the Installation page in the docs for more info.

Full changelog

Fixes

  • Add test and fix for GPU memory query (#946, #949, #950)
  • Fix sleap-export CLI and add docs (#951)

SLEAP v1.2.7

11 Sep 22:54

Choose a tag to compare

Stable release of SLEAP v1.2.7. This release merges the m1 branch with the main branch along with the usual bug fixes, new feature enhancements, and documentation updates.

See the release notes for v1.2.0, v1.2.1, and v1.2.2 for previous major changes.

Quick install

conda (Windows/Linux/GPU):

conda create -y -n sleap -c sleap -c nvidia -c conda-forge sleap=1.2.7

pip (any OS):

pip install sleap==1.2.7

See the Installation page in the docs for more info.

Highlights

  • M1 Mac support (#886)
  • Fix shifted predictions on multi-resolution projects (#902)
  • Add GPU Memory Polling Function (#911)
  • Run sleap-track on video using index (#920)

Full changelog

Documentation

  • Add more documentation for nwb extension (#861)
  • Add conda downloads badge to README (#869)
  • Update link to contributing guideline
  • Update CLA

Enhancements

  • Integrate retracking into sleap-track (#898)
  • M1 Mac support (#886)
  • Run sleap-track on video using index (#920)
  • Use saved optical flow to use only on adjacent frames (#870)
  • Modify inference and centroid model to allow Bonsai ingestion (#850)
  • Append Unique Suggestions (#874)
  • Add GPU Memory Polling Function (#911)

Fixes

  • Add new track to linked predicted instance (#879)
  • Edit CI workflow to run on forked PRs
  • Fix naming convention for sleap-convert (#881)
  • Fix cropping when rendering video (#842)
  • Fix shifted predictions on multi-resolution projects (#902)
  • Redraw plot to update trails after moving node (#910)
  • Force node to be placed w/in video (#912)

SLEAP v1.2.6

26 Jul 16:38
6109e09

Choose a tag to compare

Stable release of SLEAP v1.2.6. This release is a hotfix for a conda packaging issue introduced in v1.2.5.

See the release notes for v1.2.0, v1.2.1, v1.2.2, v1.2.3, v1.2.4, v1.2.5 for previous major changes.

Quick install

conda (Windows/Linux/GPU):

conda create -y -n sleap -c sleap -c nvidia -c conda-forge sleap=1.2.6

pip (any OS):

pip install sleap==1.2.6

See the Installation page in the docs for more info.

Highlights

N/A

Full changelog

Documentation

N/A

Enhancements

N/A

Fixes

  • Fix conda packaging for pynwb and ndx-pose (#860)

SLEAP v1.2.5

24 Jul 01:10
18b25b2

Choose a tag to compare

Stable release of SLEAP v1.2.5. This release contains an adaptor for reading/writing NWB Files using ndx-pose, some bug fixes, and minor documentation update.

See the release notes for v1.2.0, v1.2.1, and v1.2.2 for previous major changes.

Quick install

conda (Windows/Linux/GPU):

conda create -y -n sleap -c sleap -c nvidia -c conda-forge sleap=1.2.5

pip (any OS):

pip install sleap==1.2.5

See the Installation page in the docs for more info.

Highlights

Add read/write adaptor for ndx-pose (#835, #845)

Full changelog

Documentation

Update assisted-labeling docs, installation docs, and environment_no_cuda.yml (#847)

Enhancements

Add read/write adaptor for ndx-pose (#835, #845)
Expose attributes of NWBFile and create Labels API for exporting to NWB (#855)

Fixes

Change existing skeleton to match loaded skeleton (#840)
Recalculate crop size if user-specified crop size indivisible by max stride (#841)

SLEAP v1.2.4

29 Jun 17:48

Choose a tag to compare

Stable release of SLEAP v1.2.4. This release contains some bug fixes, new feature enhancements, and documentation updates.

See the release notes for v1.2.0, v1.2.1, and v1.2.2 for previous major changes.

Quick install

conda (Windows/Linux/GPU):

conda create -y -n sleap -c sleap -c nvidia -c conda-forge sleap=1.2.4

pip (any OS):

pip install sleap==1.2.4

See the Installation page in the docs for more info.

Highlights

  • Add option to predict on all videos (#749)
  • Add dropdown to choose video to generate suggestions on (#786)
  • Add button to toggle grayscale of current video (#788)

Full changelog

Documentation

  • Add links to discussion (#748)
  • Contributing Guide, Code of Conduct, and Issues Template (#746)
  • Update tracking docs (#761)

Enhancements

  • Add option to predict on all videos (#749)
  • Create multiple analysis files for multi-video projects (#768)
  • Add button to toggle grayscale of current video (#788)
  • Choose video to generate suggestions (#786)
  • Add CLI sleap-render command to render videos (#796)
  • Allow user to set grayscale when replacing videos (mp4/avi only) (#787)
  • Support grayscale for SingleImageVideo backend (#789)

Fixes

  • Generate suggestions for videos with less frames than samples per video (#781) (#783)
  • Fix h5py dependency (#815)
  • Remove low-scoring predictions before merging inference results (#817)