Skip to content

Commit 0b2040a

Browse files
author
Anurag Dixit
committed
fix: Added ipywidget dependency to notebook
Signed-off-by: Anurag Dixit <[email protected]>
1 parent a10613e commit 0b2040a

File tree

4 files changed

+27
-6
lines changed

4 files changed

+27
-6
lines changed

Diff for: notebooks/Resnet50-example.ipynb

+3-2
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,8 @@
138138
],
139139
"source": [
140140
"!pip install numpy==1.21.2 scipy==1.5.2 Pillow==6.2.0 scikit-image==0.17.2 matplotlib==3.3.0\n",
141-
"!nvidia-smi"
141+
"!nvidia-smi\n",
142+
"!pip install ipywidgets --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host=files.pythonhosted.org"
142143
]
143144
},
144145
{
@@ -975,7 +976,7 @@
975976
"name": "python",
976977
"nbconvert_exporter": "python",
977978
"pygments_lexer": "ipython3",
978-
"version": "3.8.10"
979+
"version": "3.8.12"
979980
}
980981
},
981982
"nbformat": 4,

Diff for: notebooks/lenet-getting-started.ipynb

+10-1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,15 @@
6868
"Follow the steps in `notebooks/README` to prepare a Docker container, within which you can run this notebook."
6969
]
7070
},
71+
{
72+
"cell_type": "code",
73+
"execution_count": null,
74+
"metadata": {},
75+
"outputs": [],
76+
"source": [
77+
"!pip install ipywidgets --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host=files.pythonhosted.org"
78+
]
79+
},
7180
{
7281
"cell_type": "markdown",
7382
"metadata": {},
@@ -615,7 +624,7 @@
615624
"name": "python",
616625
"nbconvert_exporter": "python",
617626
"pygments_lexer": "ipython3",
618-
"version": "3.8.10"
627+
"version": "3.8.12"
619628
}
620629
},
621630
"nbformat": 4,

Diff for: notebooks/ssd-object-detection-demo.ipynb

+3-2
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@
8888
"outputs": [],
8989
"source": [
9090
"# Known working versions\n",
91-
"!pip install numpy==1.21.2 scipy==1.5.2 Pillow==6.2.0 scikit-image==0.17.2 matplotlib==3.3.0"
91+
"!pip install numpy==1.21.2 scipy==1.5.2 Pillow==6.2.0 scikit-image==0.17.2 matplotlib==3.3.0\n",
92+
"!pip install ipywidgets --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host=files.pythonhosted.org"
9293
]
9394
},
9495
{
@@ -789,7 +790,7 @@
789790
"name": "python",
790791
"nbconvert_exporter": "python",
791792
"pygments_lexer": "ipython3",
792-
"version": "3.8.10"
793+
"version": "3.8.12"
793794
}
794795
},
795796
"nbformat": 4,

Diff for: notebooks/vgg-qat.ipynb

+11-1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,16 @@
3838
"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"
3939
]
4040
},
41+
{
42+
"cell_type": "code",
43+
"execution_count": null,
44+
"id": "14a72941",
45+
"metadata": {},
46+
"outputs": [],
47+
"source": [
48+
"!pip install ipywidgets --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host=files.pythonhosted.org"
49+
]
50+
},
4151
{
4252
"cell_type": "code",
4353
"execution_count": 1,
@@ -1182,7 +1192,7 @@
11821192
"name": "python",
11831193
"nbconvert_exporter": "python",
11841194
"pygments_lexer": "ipython3",
1185-
"version": "3.8.10"
1195+
"version": "3.8.12"
11861196
}
11871197
},
11881198
"nbformat": 4,

0 commit comments

Comments
 (0)