FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Updated deeplabcut installation in colab notebooks by n-poulsen · Pull Request #2376 · DeepLabCut/DeepLabCut · GitHub

Updated deeplabcut installation in colab notebooks - #2376

Merged
MMathisLab merged 1 commit into
mainfrom
updated_colab_installs
Sep 12, 2023
Merged

Updated deeplabcut installation in colab notebooks#2376
MMathisLab merged 1 commit into
mainfrom
updated_colab_installs

Conversation

Copy link
Copy Markdown
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).

Copy link
Copy Markdown
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 merged commit f1a13d6 into main Sep 12, 2023
MMathisLab deleted the updated_colab_installs branch September 12, 2023 17:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL