Updated deeplabcut installation in colab notebooks by n-poulsen · Pull Request #2376 · DeepLabCut/DeepLabCut
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]"