Skip to content

Conversation

@n-poulsen
Copy link
Contributor

This fixes the issue mentioned in #2372 for users in the google colab example notebooks (colab updated the default version of tensorflow from 2.10 to 2.13).

@n-poulsen
Copy link
Contributor Author

Git really does not like notebooks - did not run them locally, only changed cell contents but still vast difference in the pull request.

I tested two versions (where the models train or analyze videos correctly):

COLAB_DEMO_mouse_openfield.ipynb (see the updated file here) which installs by cloning the repo, as it uses the example data:

# Clone the entire deeplabcut repo so we can use the demo data:
!git clone -l -s https://github.com/DeepLabCut/DeepLabCut.git cloned-DLC-repo
%cd cloned-DLC-repo
!ls
%cd /content/cloned-DLC-repo/examples/openfield-Pranav-2018-10-30
!ls
# Install the latest DeepLabCut version (this will take a few minutes to install all the dependencies!)
%cd /content/cloned-DLC-repo/
!pip install ".[tf]"

and COLAB_3miceDemo.ipynb (see the updated file here):

# Install the latest DeepLabCut version:
!pip install "deeplabcut[tf]"

@MMathisLab MMathisLab merged commit f1a13d6 into main Sep 12, 2023
@MMathisLab MMathisLab deleted the updated_colab_installs branch September 12, 2023 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants