SLEAP v1.2.0a1
Pre-release
Pre-release
Pre-release of SLEAP v1.2.0.
This includes updates to core libraries used in SLEAP, particularly TensorFlow to enable support for newer NVIDIA GPUs.
Warning: This is a pre-release! Expect bugs and strange behavior when testing.
Full changelog
- Update Python, TensorFlow and others (#609): enables GPU support for Ampere and newer cards, e.g., 3080, A100, etc.
- Fixes #454
- Version changes:
python=3.6
→python=3.7
tensorflow=2.3.1
→tensorflow=2.7.0
(2.6.2 should also work)cudatoolkit=10.1
→cudatoolkit=11.3.1
cudnn=7.6
→cudnn=8.2.1
h5py=2.10.0
→h5py=3.1.0
numpy=1.18.1
→numpy=1.19.5
imgaug=0.3.0
→imgaug=0.4.0
attrs=19.3
→attrs=21.2.0
Installing
We recommend using Miniconda to install and manage your Python environments. This will also make GPU support work transparently without installing additional dependencies.
See the Installation page in the docs for more info.
Using Conda (Windows/Linux)
- Delete any existing environment and start fresh (recommended):
conda env remove -n sleap
- Create new environment
sleap
(recommended):
conda create -n sleap -c sleap -c sleap/label/dev sleap=1.2.0a1
Or to update inside an existing environment:
conda install -c sleap -c sleap/label/dev sleap=1.2.0a1
Using PyPI (Windows/Linux/Mac)
- Create a new conda environment (recommended):
conda create -n sleap python=3.7
conda activate sleap
- Install from PyPI:
pip install sleap==1.2.0a1
Or to upgrade an existing installation:
pip install --upgrade --force-reinstall sleap==1.2.0a1