Pins `numpy<2`, fix svd for `scipy>=1.11.0` by n-poulsen · Pull Request #2827 · DeepLabCut/DeepLabCut

@n-poulsen

@n-poulsen added the dependencies

Pull requests that update a dependency file

label

Jan 7, 2025

@n-poulsen

@n-poulsen

@n-poulsen n-poulsen changed the title Pins numpy<2 Pins numpy<2, fix stitching for scipy>=1.11.0

Jan 7, 2025

@n-poulsen n-poulsen changed the title Pins numpy<2, fix stitching for scipy>=1.11.0 Pins numpy<2, fix svd for scipy>=1.11.0

Jan 7, 2025

@n-poulsen

@n-poulsen

MMathisLab

n-poulsen added a commit that referenced this pull request

Jan 8, 2025
* pin numpy to < 2.0

* update numpy pin in requirements.txt

* fix SVD in stitch with scipy>=1.11.0

* speedup check if matrix contains only zeros

* improve readability