Skip to content

Commit e864c4f

Browse files
Deploy to GitHub Pages on master [ci skip]
1 parent df10e23 commit e864c4f

File tree

506 files changed

+4278
-956
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

506 files changed

+4278
-956
lines changed

404.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,12 @@ <h2>Resources</h2>
453453
<li><a href="https://www.linkedin.com/company/pytorch" target="_blank" title="PyTorch on LinkedIn">
454454
<svg xmlns="http://www.w3.org/2000/svg" viewbox="-10.23 -10.23 531.96 531.96" aria-label="LinkedIn"><rect width="512" height="512" rx="0" fill="currentColor"/><circle fill="#000" cx="142" cy="138" r="37"/><path stroke="#000" stroke-width="66" d="M244 194v198M142 194v198"/><path fill="#000" d="M276 282c0-20 13-40 36-40 24 0 33 18 33 45v105h66V279c0-61-32-89-76-89-34 0-51 19-59 32"/></svg>
455455
</a></li>
456+
<li><a href="https://join.slack.com/t/pytorch/shared_invite/zt-2j2la612p-miUinTTaxXczKOJw48poHA" target="_blank" title="PyTorch Slack">
457+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0.16 -0.03 21.19 21.19" aria-label="Slack"><path fill="currentColor" d="M4.896 13.27a2.147 2.147 0 0 1-2.141 2.142A2.147 2.147 0 0 1 .613 13.27c0-1.178.963-2.141 2.142-2.141h2.141v2.141zm1.08 0c0-1.178.962-2.141 2.141-2.141s2.142.963 2.142 2.141v5.363a2.147 2.147 0 0 1-2.142 2.141 2.147 2.147 0 0 1-2.141-2.142V13.27zm2.141-8.6a2.147 2.147 0 0 1-2.141-2.14c0-1.18.962-2.142 2.141-2.142s2.142.963 2.142 2.141v2.142H8.117zm0 1.08c1.179 0 2.141.962 2.141 2.141a2.147 2.147 0 0 1-2.141 2.142H2.755A2.147 2.147 0 0 1 .613 7.89c0-1.179.963-2.141 2.142-2.141h5.362zm8.599 2.141c0-1.179.963-2.141 2.141-2.141 1.179 0 2.143.962 2.143 2.14a2.147 2.147 0 0 1-2.142 2.142h-2.141V7.89zm-1.08 0a2.147 2.147 0 0 1-2.141 2.142 2.147 2.147 0 0 1-2.141-2.142V2.53c0-1.178.962-2.141 2.141-2.141s2.142.963 2.142 2.141v5.362zm-2.141 8.6c1.179 0 2.142.962 2.142 2.14a2.147 2.147 0 0 1-2.142 2.142 2.147 2.147 0 0 1-2.141-2.141V16.49h2.141zm0-1.08a2.147 2.147 0 0 1-2.141-2.141c0-1.179.962-2.142 2.141-2.142h5.362c1.179 0 2.142.963 2.142 2.142a2.147 2.147 0 0 1-2.142 2.142h-5.362z"></path></svg>
458+
</a></li>
459+
<li><a href="/wechat" title="PyTorch on WeChat">
460+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0.14 -0.17 38.02 33.02" aria-label="WeChat"><path fill="currentColor" d="M26.289 10.976a12.972 12.972 0 0 0-8.742 3.53 10.386 10.386 0 0 0-3.224 8.795c-1.326-.164-2.535-.345-3.75-.448a2.332 2.332 0 0 0-1.273.216c-1.18.666-2.311 1.418-3.652 2.255.246-1.112.405-2.087.687-3.024a1.15 1.15 0 0 0-.523-1.52C1.737 17.902.02 13.601 1.307 9.165c1.189-4.1 4.11-6.587 8.077-7.884A13.54 13.54 0 0 1 24.18 5.617a10.135 10.135 0 0 1 2.109 5.359zM10.668 9.594a1.564 1.564 0 0 0-2.095-1.472 1.52 1.52 0 0 0-.895 1.964 1.502 1.502 0 0 0 1.391.966 1.545 1.545 0 0 0 1.598-1.46v.002zm8.15-1.566a1.567 1.567 0 0 0-1.528 1.543 1.528 1.528 0 0 0 1.571 1.492 1.52 1.52 0 0 0 1.375-2.117 1.518 1.518 0 0 0-1.415-.919l-.003.001z"></path><path fill="currentColor" d="M33.914 32.137c-1.075-.478-2.062-1.196-3.11-1.306-1.049-.11-2.145.494-3.24.605a10.821 10.821 0 0 1-8.781-2.864c-4.682-4.33-4.013-10.97 1.403-14.518 4.811-3.154 11.874-2.102 15.268 2.273a8.671 8.671 0 0 1-1.002 12.095c-1.046.929-1.422 1.693-.751 2.917.102.257.174.525.213.798zM21.68 20.292a1.264 1.264 0 1 0 .01-2.528 1.264 1.264 0 0 0-.01 2.528zm7.887-2.526a1.266 1.266 0 0 0-1.256 1.21 1.247 1.247 0 1 0 1.256-1.21z"></path></svg>
461+
</a></li>
456462
</ul>
457463
</div>
458464

assets/hub/datvuthanh_hybridnets.ipynb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"cells": [
33
{
44
"cell_type": "markdown",
5-
"id": "b86bb38e",
5+
"id": "a3312e6d",
66
"metadata": {},
77
"source": [
88
"### This notebook is optionally accelerated with a GPU runtime.\n",
@@ -24,7 +24,7 @@
2424
{
2525
"cell_type": "code",
2626
"execution_count": null,
27-
"id": "d8e6570f",
27+
"id": "dfc2b7f3",
2828
"metadata": {},
2929
"outputs": [],
3030
"source": [
@@ -34,7 +34,7 @@
3434
},
3535
{
3636
"cell_type": "markdown",
37-
"id": "5cfb241e",
37+
"id": "6e8a3b9f",
3838
"metadata": {},
3939
"source": [
4040
"## Model Description\n",
@@ -93,7 +93,7 @@
9393
{
9494
"cell_type": "code",
9595
"execution_count": null,
96-
"id": "1bc56f6d",
96+
"id": "284776c3",
9797
"metadata": {},
9898
"outputs": [],
9999
"source": [
@@ -109,7 +109,7 @@
109109
},
110110
{
111111
"cell_type": "markdown",
112-
"id": "33826cd1",
112+
"id": "9f77a526",
113113
"metadata": {},
114114
"source": [
115115
"### Citation\n",
@@ -120,7 +120,7 @@
120120
{
121121
"cell_type": "code",
122122
"execution_count": null,
123-
"id": "66a8111f",
123+
"id": "6d761678",
124124
"metadata": {
125125
"attributes": {
126126
"classes": [

assets/hub/facebookresearch_WSL-Images_resnext.ipynb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"cells": [
33
{
44
"cell_type": "markdown",
5-
"id": "63fd6913",
5+
"id": "daf641c2",
66
"metadata": {},
77
"source": [
88
"### This notebook is optionally accelerated with a GPU runtime.\n",
@@ -22,7 +22,7 @@
2222
{
2323
"cell_type": "code",
2424
"execution_count": null,
25-
"id": "192e3f86",
25+
"id": "485e1742",
2626
"metadata": {},
2727
"outputs": [],
2828
"source": [
@@ -39,7 +39,7 @@
3939
},
4040
{
4141
"cell_type": "markdown",
42-
"id": "3f19d467",
42+
"id": "5e8281ee",
4343
"metadata": {},
4444
"source": [
4545
"All pre-trained models expect input images normalized in the same way,\n",
@@ -53,7 +53,7 @@
5353
{
5454
"cell_type": "code",
5555
"execution_count": null,
56-
"id": "282fd4ff",
56+
"id": "b21e7305",
5757
"metadata": {},
5858
"outputs": [],
5959
"source": [
@@ -67,7 +67,7 @@
6767
{
6868
"cell_type": "code",
6969
"execution_count": null,
70-
"id": "8b3d7eeb",
70+
"id": "e4ad7361",
7171
"metadata": {},
7272
"outputs": [],
7373
"source": [
@@ -99,7 +99,7 @@
9999
},
100100
{
101101
"cell_type": "markdown",
102-
"id": "216b393a",
102+
"id": "b2b63fd4",
103103
"metadata": {},
104104
"source": [
105105
"### Model Description\n",

assets/hub/facebookresearch_pytorch-gan-zoo_dcgan.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"cells": [
33
{
44
"cell_type": "markdown",
5-
"id": "71f9a8d9",
5+
"id": "dd56f149",
66
"metadata": {},
77
"source": [
88
"### This notebook is optionally accelerated with a GPU runtime.\n",
@@ -22,7 +22,7 @@
2222
{
2323
"cell_type": "code",
2424
"execution_count": null,
25-
"id": "d7adbdaa",
25+
"id": "cfb500f3",
2626
"metadata": {},
2727
"outputs": [],
2828
"source": [
@@ -34,7 +34,7 @@
3434
},
3535
{
3636
"cell_type": "markdown",
37-
"id": "b6a92c44",
37+
"id": "fdf05e62",
3838
"metadata": {},
3939
"source": [
4040
"The input to the model is a noise vector of shape `(N, 120)` where `N` is the number of images to be generated.\n",
@@ -45,7 +45,7 @@
4545
{
4646
"cell_type": "code",
4747
"execution_count": null,
48-
"id": "d62cbed6",
48+
"id": "2744397d",
4949
"metadata": {},
5050
"outputs": [],
5151
"source": [
@@ -63,7 +63,7 @@
6363
},
6464
{
6565
"cell_type": "markdown",
66-
"id": "3b14698a",
66+
"id": "2a07aca5",
6767
"metadata": {},
6868
"source": [
6969
"You should see an image similar to the one on the left.\n",

assets/hub/facebookresearch_pytorch-gan-zoo_pgan.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"cells": [
33
{
44
"cell_type": "markdown",
5-
"id": "51cc1900",
5+
"id": "c16d095a",
66
"metadata": {},
77
"source": [
88
"### This notebook is optionally accelerated with a GPU runtime.\n",
@@ -24,7 +24,7 @@
2424
{
2525
"cell_type": "code",
2626
"execution_count": null,
27-
"id": "ee74ad23",
27+
"id": "b3a0fc8a",
2828
"metadata": {},
2929
"outputs": [],
3030
"source": [
@@ -44,7 +44,7 @@
4444
},
4545
{
4646
"cell_type": "markdown",
47-
"id": "e0b1d672",
47+
"id": "1a472056",
4848
"metadata": {},
4949
"source": [
5050
"The input to the model is a noise vector of shape `(N, 512)` where `N` is the number of images to be generated.\n",
@@ -55,7 +55,7 @@
5555
{
5656
"cell_type": "code",
5757
"execution_count": null,
58-
"id": "742c8b7b",
58+
"id": "12fec382",
5959
"metadata": {},
6060
"outputs": [],
6161
"source": [
@@ -74,7 +74,7 @@
7474
},
7575
{
7676
"cell_type": "markdown",
77-
"id": "02b70d7e",
77+
"id": "2590cade",
7878
"metadata": {},
7979
"source": [
8080
"You should see an image similar to the one on the left.\n",

assets/hub/facebookresearch_pytorchvideo_resnet.ipynb

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"cells": [
33
{
44
"cell_type": "markdown",
5-
"id": "e5df62f5",
5+
"id": "425b633e",
66
"metadata": {},
77
"source": [
88
"# 3D ResNet\n",
@@ -22,7 +22,7 @@
2222
{
2323
"cell_type": "code",
2424
"execution_count": null,
25-
"id": "6ddaa8b6",
25+
"id": "f35bbda6",
2626
"metadata": {},
2727
"outputs": [],
2828
"source": [
@@ -33,7 +33,7 @@
3333
},
3434
{
3535
"cell_type": "markdown",
36-
"id": "d0cc6811",
36+
"id": "4cec1beb",
3737
"metadata": {},
3838
"source": [
3939
"Import remaining functions:"
@@ -42,7 +42,7 @@
4242
{
4343
"cell_type": "code",
4444
"execution_count": null,
45-
"id": "d2783125",
45+
"id": "24287b10",
4646
"metadata": {},
4747
"outputs": [],
4848
"source": [
@@ -64,7 +64,7 @@
6464
},
6565
{
6666
"cell_type": "markdown",
67-
"id": "7b2546a5",
67+
"id": "86d9021b",
6868
"metadata": {},
6969
"source": [
7070
"#### Setup\n",
@@ -75,7 +75,7 @@
7575
{
7676
"cell_type": "code",
7777
"execution_count": null,
78-
"id": "5ac8b66b",
78+
"id": "fc521d93",
7979
"metadata": {
8080
"attributes": {
8181
"classes": [
@@ -94,7 +94,7 @@
9494
},
9595
{
9696
"cell_type": "markdown",
97-
"id": "2ed761a4",
97+
"id": "c41abab6",
9898
"metadata": {},
9999
"source": [
100100
"Download the id to label mapping for the Kinetics 400 dataset on which the torch hub models were trained. This will be used to get the category label names from the predicted class ids."
@@ -103,7 +103,7 @@
103103
{
104104
"cell_type": "code",
105105
"execution_count": null,
106-
"id": "b0228614",
106+
"id": "9cf77219",
107107
"metadata": {},
108108
"outputs": [],
109109
"source": [
@@ -116,7 +116,7 @@
116116
{
117117
"cell_type": "code",
118118
"execution_count": null,
119-
"id": "52ce68d3",
119+
"id": "4fb9d83e",
120120
"metadata": {},
121121
"outputs": [],
122122
"source": [
@@ -131,7 +131,7 @@
131131
},
132132
{
133133
"cell_type": "markdown",
134-
"id": "c4a1167b",
134+
"id": "6e1f7064",
135135
"metadata": {},
136136
"source": [
137137
"#### Define input transform"
@@ -140,7 +140,7 @@
140140
{
141141
"cell_type": "code",
142142
"execution_count": null,
143-
"id": "b3a32f0b",
143+
"id": "e025e0e4",
144144
"metadata": {},
145145
"outputs": [],
146146
"source": [
@@ -174,7 +174,7 @@
174174
},
175175
{
176176
"cell_type": "markdown",
177-
"id": "298f6d85",
177+
"id": "9caf5604",
178178
"metadata": {},
179179
"source": [
180180
"#### Run Inference\n",
@@ -185,7 +185,7 @@
185185
{
186186
"cell_type": "code",
187187
"execution_count": null,
188-
"id": "7432a09a",
188+
"id": "58f46c1c",
189189
"metadata": {},
190190
"outputs": [],
191191
"source": [
@@ -197,7 +197,7 @@
197197
},
198198
{
199199
"cell_type": "markdown",
200-
"id": "c5bcead3",
200+
"id": "db257913",
201201
"metadata": {},
202202
"source": [
203203
"Load the video and transform it to the input format required by the model."
@@ -206,7 +206,7 @@
206206
{
207207
"cell_type": "code",
208208
"execution_count": null,
209-
"id": "912c52fd",
209+
"id": "46408422",
210210
"metadata": {},
211211
"outputs": [],
212212
"source": [
@@ -231,7 +231,7 @@
231231
},
232232
{
233233
"cell_type": "markdown",
234-
"id": "6a203be2",
234+
"id": "3d15b27c",
235235
"metadata": {},
236236
"source": [
237237
"#### Get Predictions"
@@ -240,7 +240,7 @@
240240
{
241241
"cell_type": "code",
242242
"execution_count": null,
243-
"id": "ee9a1f5c",
243+
"id": "30937e12",
244244
"metadata": {},
245245
"outputs": [],
246246
"source": [
@@ -259,7 +259,7 @@
259259
},
260260
{
261261
"cell_type": "markdown",
262-
"id": "9828a0c9",
262+
"id": "37131e5f",
263263
"metadata": {},
264264
"source": [
265265
"### Model Description\n",

0 commit comments

Comments
 (0)