Open talmo opened 9 months ago
Following up on this. Facing the same issue with using SLEAP on google collab
I am currently experiencing this issue. Paperspace requires more money for the growth gpus needed to perform model training. Not to mention, I have compute units locked in Google Colab that I have already paid for, Is there a change that I can implement today to the notebook to get training going on Google Colab?
Hi @amblypatty,
Did you try installing the older version of cuda first with !apt update && apt install cuda-11-8
?
Thanks!
Talmo
I'm using Paperspace to do the sample project, step 1 and 2 didn't error. But when it comes to step 3 - train the model, I get sleap-train: command not found. This shouldn't happen because we installed sleap at the top. Would you please help?
Hi @FangyuanLinGoBears2024,
Are you seeing any errors when you do pip install sleap[pypi]
at the top?
Thanks!
Talmo
TLDR: Google Colab no longer works with TensorFlow <2.15.
This is an issue since some of our dependencies break with TensorFlow >2.11ish.
This is likely because of the CUDA/CuDNN versions. As of Dec 19, 2023
nvidia-smi
reports:Here's a notebook for testing.
Potential workarounds:
!apt update && apt install cuda-11-8
before installing [source] -- Note: Tested to work with SLEAP v1.3.3, but takes ~5-10 minutes to install.Proper fix: Update usage of dependencies to work with Python 3.10 + TensorFlow 2.15 while maintaining backwards compatibility with at least TF 2.10 for Windows support.
Discussed in https://github.com/talmolab/sleap/discussions/1642