Log onto your favorite computer (e.g., quartz.uit.iu.edu)
Graphically:
go to https://red.uits.iu.edu
sign in with your IU username and password
Double click on 'terminal' icon
In a terminal
Open a terminal
ssh <yourIUusername>@quartz.uits.iu.edu
Enter your IU password when prompted for a password
Prepare terminal to use Python
[yuma@i51 Quartz]$ module load python/gpu/3.10.0
Move to where you want to put the installation package
[yuma@i51 Quartz]$ cd /N/slate/<your IU username>
Download a copy of DeepLabCut from github
[yuma@i51 yuma]$ git clone https://github.com/DeepLabCut/DeepLabCut.git
Create a Python virtual environment into which you will install DeepLabCut
[yuma@i51 yuma]$ python -m venv /N/slate/<your IU username>/pvenv
Activate the virtual environment that you just created
[yuma@i51 yuma]$ source /N/slate/<your IU username>/pvenv/bin/activate
Install the Jupyter Notebook package for Python
(pvenv) [yuma@i51 yuma]$ pip install notebook
Install the video editing package ffmpeg
(pvenv) [yuma@i51 yuma]$ pip install ffmpeg
Install deeplabcut itself with the gui and tensorflow packages included (** be patient, this step takes ~15 min)
(pvenv) [yuma@i51 yuma]$ pip install deeplabcut[gui,tf]
Clean up and leave
(pvenv) [yuma@i51 yuma]$ deactivate
Short summary of Installation process:
install Anaconda
On a conda prompt terminal, call git clone https://github.com/DeepLabCut/DeepLabCut.git
Then run:
cd "DeepLabCut"/
cd conda-environments
conda env create -f DEEPLABCUT.yaml
activate DEEPLABCUT\
For more detailed instruction, look:
Has pictures: https://github.com/DeepLabCut/DeepLabCut/tree/master/docs
Has videos: http://www.mackenziemathislab.org/deeplabcut
More detailed and in-depth: https://www.nature.com/articles/s41596-019-0176-0
Note: install and setup the latest Anaconda navigator and prompt version; it makes setting up jupyter notebooks, creating virtual environments, and downloading packages easier.
For troubleshooting, look: