Skip to content

Commit

Permalink
minor change to colab notebook (DeepLabCut#2066)
Browse files Browse the repository at this point in the history
* Update COLAB_DLC_ModelZoo.ipynb
  • Loading branch information
MMathisLab authored Nov 26, 2022
1 parent 564970d commit 67f9525
Showing 1 changed file with 19 additions and 10 deletions.
29 changes: 19 additions & 10 deletions examples/COLAB/COLAB_DLC_ModelZoo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
{
"cell_type": "markdown",
"metadata": {
"colab_type": "text",
"id": "view-in-github"
"id": "view-in-github",
"colab_type": "text"
},
"source": [
"<a href=\"https://colab.research.google.com/github/DeepLabCut/DeepLabCut/blob/master/examples/COLAB/COLAB_DLC_ModelZoo.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
Expand Down Expand Up @@ -54,23 +54,33 @@
},
"outputs": [],
"source": [
"#click the play icon (this will take a few minutes to install all the dependences!)\n",
"#!pip install deeplabcut==2.3rc3\n",
"#click the play icon (this will take a few minutes to install all the dependencies!)\n",
"#Install the latest DeepLabCut version from master:\n",
"!pip install https://github.com/DeepLabCut/DeepLabCut/archive/master.zip\n",
"!pip install 'deeplabcut[tf,modelzoo]'==2.3rc3\n",
"!pip install huggingface_hub\n",
"%reload_ext numpy\n",
"%reload_ext matplotlib\n",
"%reload_ext mpl_toolkits"
]
},
{
"cell_type": "markdown",
"source": [
"###proTip: be sure to click \"restart runtime button\" if it appears above ^ "
],
"metadata": {
"id": "zYm6DljQB0Y7"
}
},
{
"cell_type": "markdown",
"metadata": {
"id": "ZT4PwGSbYQEO"
},
"source": [
"## Now let's set the backend & import the DeepLabCut package:"
"## Now let's set the backend & import the DeepLabCut package \n",
"#### (if colab is buggy/throws an error, just rerun this cell):"
]
},
{
Expand Down Expand Up @@ -284,13 +294,11 @@
}
],
"metadata": {
"accelerator": "GPU",
"colab": {
"collapsed_sections": [],
"include_colab_link": true,
"name": "Copy of COLAB_DLC_ModelZoo.ipynb",
"provenance": [],
"toc_visible": true
"toc_visible": true,
"include_colab_link": true
},
"kernelspec": {
"display_name": "Python 3",
Expand All @@ -308,7 +316,8 @@
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.7"
}
},
"gpuClass": "standard"
},
"nbformat": 4,
"nbformat_minor": 0
Expand Down

0 comments on commit 67f9525

Please sign in to comment.