-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
How to use the latest GitHub code
We often update the master deeplabcut code base on github, and then ~1 a month we push out a stable release on pypi. This is what most users turn to on a daily basis (i.e. pypi is where you get your pip install deeplabcut code from!
But, sometimes we add things to the repo that are not yet integrated, or you might want to edit the code yourself. Here, we show you how to do this.
Step 1:
-
git clone the repo into a folder on your computer:
-
click on this green button and copy the link:
- then in the terminal type:
git clone https://github.com/DeepLabCut/DeepLabCut.git
Step 2:
- Now you will work from the terminal inside this cloned folder:
-
Now, when you start
ipythonorpythonw(mac users), andimport deeplabcutyou are importing the folder "deeplabcut" - so any changes you make, or any changes we made before adding it to the pip package, are here. -
You can also check which deeplabcut you are importing by running:
deeplabcut.__file__
If you make changes to the code/first use the code, be sure you run ./resinstall.sh, which you find in the main DeepLabCut folder:
Then, you can see what version you have with deeplabcut.__version__




