Skip to content

Commit

Permalink
fix: Added ipywidget dependency to notebook
Browse files Browse the repository at this point in the history
Signed-off-by: Anurag Dixit <anuragd@nvidia.com>
  • Loading branch information
Anurag Dixit committed Nov 23, 2021
1 parent a10613e commit 0b2040a
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 6 deletions.
5 changes: 3 additions & 2 deletions notebooks/Resnet50-example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@
],
"source": [
"!pip install numpy==1.21.2 scipy==1.5.2 Pillow==6.2.0 scikit-image==0.17.2 matplotlib==3.3.0\n",
"!nvidia-smi"
"!nvidia-smi\n",
"!pip install ipywidgets --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host=files.pythonhosted.org"
]
},
{
Expand Down Expand Up @@ -975,7 +976,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.10"
"version": "3.8.12"
}
},
"nbformat": 4,
Expand Down
11 changes: 10 additions & 1 deletion notebooks/lenet-getting-started.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,15 @@
"Follow the steps in `notebooks/README` to prepare a Docker container, within which you can run this notebook."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"!pip install ipywidgets --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host=files.pythonhosted.org"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -615,7 +624,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.10"
"version": "3.8.12"
}
},
"nbformat": 4,
Expand Down
5 changes: 3 additions & 2 deletions notebooks/ssd-object-detection-demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@
"outputs": [],
"source": [
"# Known working versions\n",
"!pip install numpy==1.21.2 scipy==1.5.2 Pillow==6.2.0 scikit-image==0.17.2 matplotlib==3.3.0"
"!pip install numpy==1.21.2 scipy==1.5.2 Pillow==6.2.0 scikit-image==0.17.2 matplotlib==3.3.0\n",
"!pip install ipywidgets --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host=files.pythonhosted.org"
]
},
{
Expand Down Expand Up @@ -789,7 +790,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.10"
"version": "3.8.12"
}
},
"nbformat": 4,
Expand Down
12 changes: 11 additions & 1 deletion notebooks/vgg-qat.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,16 @@
"Please install the <a href=\"https://github.com/NVIDIA/Torch-TensorRT/tree/master/examples/int8/training/vgg16#prequisites\">required dependencies</a> and import these libraries accordingly"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "14a72941",
"metadata": {},
"outputs": [],
"source": [
"!pip install ipywidgets --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host=files.pythonhosted.org"
]
},
{
"cell_type": "code",
"execution_count": 1,
Expand Down Expand Up @@ -1182,7 +1192,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.10"
"version": "3.8.12"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 0b2040a

Please sign in to comment.