Skip to content

Commit 6b7d785

Browse files
committed
Automated tutorials push
1 parent 59262cf commit 6b7d785

File tree

181 files changed

+17321
-13241
lines changed

Some content is hidden

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

181 files changed

+17321
-13241
lines changed

_downloads/0662a149d54bd776924742c96eb6282d/optimization_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def forward(self, x):
7676
# (`read more <https://pytorch.org/tutorials/beginner/hyperparameter_tuning_tutorial.html>`__ about hyperparameter tuning)
7777
#
7878
# We define the following hyperparameters for training:
79-
# - **Number of Epochs** - the number times to iterate over the dataset
79+
# - **Number of Epochs** - the number of times to iterate over the dataset
8080
# - **Batch Size** - the number of data samples propagated through the network before the parameters are updated
8181
# - **Learning Rate** - how much to update models parameters at each batch/epoch. Smaller values yield slow learning speed, while large values may result in unpredictable behavior during training.
8282
#

_downloads/3195443a0ced3cabc0ad643537bdb5cd/introyt1_tutorial.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
{
3535
"cell_type": "code",
3636
"execution_count": null,
37-
"id": "4779a3f6",
37+
"id": "78f59b54",
3838
"metadata": {},
3939
"outputs": [],
4040
"source": [
@@ -50,7 +50,7 @@
5050
},
5151
{
5252
"cell_type": "markdown",
53-
"id": "c5f807f2",
53+
"id": "02dbf817",
5454
"metadata": {},
5555
"source": [
5656
"\n",

_downloads/4355e2cef7d17548f1e25f97a62828c4/template_tutorial.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
{
3232
"cell_type": "code",
3333
"execution_count": null,
34-
"id": "26c612f6",
34+
"id": "06c28189",
3535
"metadata": {},
3636
"outputs": [],
3737
"source": [
@@ -47,7 +47,7 @@
4747
},
4848
{
4949
"cell_type": "markdown",
50-
"id": "9fce16f1",
50+
"id": "53fa7317",
5151
"metadata": {},
5252
"source": [
5353
"\n",

_downloads/63a0f0fc7b3ffb15d3a5ac8db3d521ee/tensors_deeper_tutorial.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
{
3535
"cell_type": "code",
3636
"execution_count": null,
37-
"id": "c3439dbe",
37+
"id": "6ac57dab",
3838
"metadata": {},
3939
"outputs": [],
4040
"source": [
@@ -50,7 +50,7 @@
5050
},
5151
{
5252
"cell_type": "markdown",
53-
"id": "cdc0c835",
53+
"id": "3d76bbc3",
5454
"metadata": {},
5555
"source": [
5656
"\n",

_downloads/770632dd3941d2a51b831c52ded57aa2/trainingyt.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
{
3636
"cell_type": "code",
3737
"execution_count": null,
38-
"id": "14152759",
38+
"id": "cf6a15f8",
3939
"metadata": {},
4040
"outputs": [],
4141
"source": [
@@ -51,7 +51,7 @@
5151
},
5252
{
5353
"cell_type": "markdown",
54-
"id": "55289e43",
54+
"id": "68a2315c",
5555
"metadata": {},
5656
"source": [
5757
"\n",

_downloads/91d72708edab956d7293bb263e2ab53f/optimization_tutorial.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
"\n",
114114
"We define the following hyperparameters for training:\n",
115115
"\n",
116-
": - **Number of Epochs** - the number times to iterate over the\n",
116+
": - **Number of Epochs** - the number of times to iterate over the\n",
117117
" dataset\n",
118118
" - **Batch Size** - the number of data samples propagated through\n",
119119
" the network before the parameters are updated\n",

_downloads/c28f42852d456daf9af72da6c6909556/captumyt.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
{
3838
"cell_type": "code",
3939
"execution_count": null,
40-
"id": "78ac4491",
40+
"id": "eb2db942",
4141
"metadata": {},
4242
"outputs": [],
4343
"source": [
@@ -53,7 +53,7 @@
5353
},
5454
{
5555
"cell_type": "markdown",
56-
"id": "9aa1599c",
56+
"id": "72aa86af",
5757
"metadata": {},
5858
"source": [
5959
"\n",

_downloads/e2e556f6b4693c2cef716dd7f40caaf6/tensorboardyt_tutorial.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
{
3636
"cell_type": "code",
3737
"execution_count": null,
38-
"id": "744039b5",
38+
"id": "dd5a3d85",
3939
"metadata": {},
4040
"outputs": [],
4141
"source": [
@@ -51,7 +51,7 @@
5151
},
5252
{
5353
"cell_type": "markdown",
54-
"id": "5974d4a8",
54+
"id": "12b57a78",
5555
"metadata": {},
5656
"source": [
5757
"\n",

_downloads/ed9d4f94afb79f7dada6742a06c486a5/autogradyt_tutorial.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
{
3535
"cell_type": "code",
3636
"execution_count": null,
37-
"id": "7d278b80",
37+
"id": "2c6f13a9",
3838
"metadata": {},
3939
"outputs": [],
4040
"source": [
@@ -50,7 +50,7 @@
5050
},
5151
{
5252
"cell_type": "markdown",
53-
"id": "93f682a5",
53+
"id": "4c605f6a",
5454
"metadata": {},
5555
"source": [
5656
"\n",

_downloads/fe726e041160526cf828806536922cf6/modelsyt_tutorial.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
{
3535
"cell_type": "code",
3636
"execution_count": null,
37-
"id": "58c85a0a",
37+
"id": "3ef8ad90",
3838
"metadata": {},
3939
"outputs": [],
4040
"source": [
@@ -50,7 +50,7 @@
5050
},
5151
{
5252
"cell_type": "markdown",
53-
"id": "e275cb61",
53+
"id": "cbbd2394",
5454
"metadata": {},
5555
"source": [
5656
"\n",
Loading
Loading
-98 Bytes
Loading
107 Bytes
Loading
Loading
3.34 KB
Loading

_sources/advanced/dynamic_quantization_tutorial.rst.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -517,9 +517,9 @@ models run single threaded.
517517
.. code-block:: none
518518
519519
loss: 5.167
520-
elapsed time (seconds): 197.8
520+
elapsed time (seconds): 197.4
521521
loss: 5.168
522-
elapsed time (seconds): 118.4
522+
elapsed time (seconds): 117.8
523523
524524
525525
@@ -541,7 +541,7 @@ Thanks for reading! As always, we welcome any feedback, so please create an issu
541541

542542
.. rst-class:: sphx-glr-timing
543543

544-
**Total running time of the script:** ( 5 minutes 25.477 seconds)
544+
**Total running time of the script:** ( 5 minutes 24.577 seconds)
545545

546546

547547
.. _sphx_glr_download_advanced_dynamic_quantization_tutorial.py:

_sources/advanced/neural_style_tutorial.rst.txt

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -410,22 +410,21 @@ network to evaluation mode using ``.eval()``.
410410
Downloading: "https://download.pytorch.org/models/vgg19-dcbb9e9d.pth" to /var/lib/ci-user/.cache/torch/hub/checkpoints/vgg19-dcbb9e9d.pth
411411
412412
0%| | 0.00/548M [00:00<?, ?B/s]
413-
5%|5 | 28.8M/548M [00:00<00:01, 301MB/s]
414-
12%|#1 | 65.5M/548M [00:00<00:01, 350MB/s]
415-
18%|#8 | 99.9M/548M [00:00<00:01, 354MB/s]
416-
24%|##4 | 134M/548M [00:00<00:01, 305MB/s]
417-
30%|##9 | 164M/548M [00:00<00:01, 261MB/s]
418-
36%|###5 | 195M/548M [00:00<00:01, 281MB/s]
419-
43%|####2 | 233M/548M [00:00<00:01, 314MB/s]
420-
50%|####9 | 273M/548M [00:00<00:00, 343MB/s]
421-
56%|#####6 | 308M/548M [00:00<00:00, 351MB/s]
422-
63%|######3 | 348M/548M [00:01<00:00, 370MB/s]
423-
71%|####### | 388M/548M [00:01<00:00, 384MB/s]
424-
78%|#######7 | 427M/548M [00:01<00:00, 394MB/s]
425-
85%|########5 | 467M/548M [00:01<00:00, 401MB/s]
426-
92%|#########2| 506M/548M [00:01<00:00, 396MB/s]
427-
100%|#########9| 546M/548M [00:01<00:00, 402MB/s]
428-
100%|##########| 548M/548M [00:01<00:00, 357MB/s]
413+
6%|5 | 32.4M/548M [00:00<00:01, 337MB/s]
414+
13%|#2 | 71.1M/548M [00:00<00:01, 377MB/s]
415+
20%|## | 112M/548M [00:00<00:01, 400MB/s]
416+
28%|##8 | 155M/548M [00:00<00:00, 419MB/s]
417+
36%|###6 | 198M/548M [00:00<00:00, 430MB/s]
418+
44%|####3 | 240M/548M [00:00<00:00, 436MB/s]
419+
51%|#####1 | 282M/548M [00:00<00:00, 396MB/s]
420+
58%|#####8 | 320M/548M [00:00<00:00, 397MB/s]
421+
65%|######5 | 359M/548M [00:00<00:00, 388MB/s]
422+
72%|#######2 | 396M/548M [00:01<00:00, 345MB/s]
423+
78%|#######8 | 430M/548M [00:01<00:00, 320MB/s]
424+
84%|########4 | 461M/548M [00:01<00:00, 319MB/s]
425+
90%|######### | 494M/548M [00:01<00:00, 325MB/s]
426+
96%|#########5| 526M/548M [00:01<00:00, 317MB/s]
427+
100%|##########| 548M/548M [00:01<00:00, 361MB/s]
429428
430429
431430
@@ -746,22 +745,22 @@ Finally, we can run the algorithm.
746745
747746
Optimizing..
748747
run [50]:
749-
Style Loss : 4.286120 Content Loss: 4.196964
748+
Style Loss : 3.947716 Content Loss: 4.056622
750749
751750
run [100]:
752-
Style Loss : 1.156173 Content Loss: 3.044555
751+
Style Loss : 1.137567 Content Loss: 2.997336
753752
754753
run [150]:
755-
Style Loss : 0.709581 Content Loss: 2.651251
754+
Style Loss : 0.708885 Content Loss: 2.645293
756755
757756
run [200]:
758-
Style Loss : 0.473631 Content Loss: 2.488267
757+
Style Loss : 0.476111 Content Loss: 2.481911
759758
760759
run [250]:
761-
Style Loss : 0.346411 Content Loss: 2.402201
760+
Style Loss : 0.344080 Content Loss: 2.399487
762761
763762
run [300]:
764-
Style Loss : 0.264236 Content Loss: 2.346521
763+
Style Loss : 0.262263 Content Loss: 2.346738
765764
766765
767766
@@ -770,7 +769,7 @@ Finally, we can run the algorithm.
770769
771770
.. rst-class:: sphx-glr-timing
772771

773-
**Total running time of the script:** ( 0 minutes 12.000 seconds)
772+
**Total running time of the script:** ( 0 minutes 11.571 seconds)
774773

775774

776775
.. _sphx_glr_download_advanced_neural_style_tutorial.py:

_sources/advanced/numpy_extensions_tutorial.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ The backward pass computes the gradient ``wrt`` the input and the gradient ``wrt
303303
304304
.. rst-class:: sphx-glr-timing
305305

306-
**Total running time of the script:** ( 0 minutes 0.371 seconds)
306+
**Total running time of the script:** ( 0 minutes 0.374 seconds)
307307

308308

309309
.. _sphx_glr_download_advanced_numpy_extensions_tutorial.py:

_sources/advanced/python_custom_ops.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ For more detailed information, see:
487487

488488
.. rst-class:: sphx-glr-timing
489489

490-
**Total running time of the script:** ( 0 minutes 2.370 seconds)
490+
**Total running time of the script:** ( 0 minutes 2.395 seconds)
491491

492492

493493
.. _sphx_glr_download_advanced_python_custom_ops.py:

_sources/beginner/Intro_to_TorchScript_tutorial.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ model from C++.
7070
7171
2.7.0+cu126
7272
73-
<torch._C.Generator object at 0x7f3bbbd9a470>
73+
<torch._C.Generator object at 0x7fec1599a470>
7474
7575
7676

_sources/beginner/basics/autogradqs_tutorial.rst.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ documentation <https://pytorch.org/docs/stable/autograd.html#function>`__.
113113

114114
.. code-block:: none
115115
116-
Gradient function for z = <AddBackward0 object at 0x7f4c13fa22c0>
117-
Gradient function for loss = <BinaryCrossEntropyWithLogitsBackward0 object at 0x7f4c13fa2f80>
116+
Gradient function for z = <AddBackward0 object at 0x7f6f3ac75270>
117+
Gradient function for loss = <BinaryCrossEntropyWithLogitsBackward0 object at 0x7f6f3ac74dc0>
118118
119119
120120
@@ -395,7 +395,7 @@ Further Reading
395395

396396
.. rst-class:: sphx-glr-timing
397397

398-
**Total running time of the script:** ( 0 minutes 0.008 seconds)
398+
**Total running time of the script:** ( 0 minutes 0.009 seconds)
399399

400400

401401
.. _sphx_glr_download_beginner_basics_autogradqs_tutorial.py:

_sources/beginner/basics/buildmodel_tutorial.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ Further Reading
475475

476476
.. rst-class:: sphx-glr-timing
477477

478-
**Total running time of the script:** ( 0 minutes 0.514 seconds)
478+
**Total running time of the script:** ( 0 minutes 0.492 seconds)
479479

480480

481481
.. _sphx_glr_download_beginner_basics_buildmodel_tutorial.py:

_sources/beginner/basics/data_tutorial.rst.txt

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -101,30 +101,29 @@ We load the `FashionMNIST Dataset <https://pytorch.org/vision/stable/datasets.ht
101101
102102
103103
0%| | 0.00/26.4M [00:00<?, ?B/s]
104-
0%| | 65.5k/26.4M [00:00<01:13, 360kB/s]
105-
1%| | 229k/26.4M [00:00<00:38, 679kB/s]
106-
3%|3 | 885k/26.4M [00:00<00:10, 2.45MB/s]
107-
7%|7 | 1.93M/26.4M [00:00<00:05, 4.12MB/s]
108-
24%|##4 | 6.42M/26.4M [00:00<00:01, 14.6MB/s]
109-
38%|###8 | 10.1M/26.4M [00:00<00:00, 17.6MB/s]
110-
56%|#####5 | 14.7M/26.4M [00:01<00:00, 24.8MB/s]
111-
69%|######9 | 18.3M/26.4M [00:01<00:00, 27.4MB/s]
112-
85%|########4 | 22.4M/26.4M [00:01<00:00, 26.8MB/s]
113-
98%|#########8| 26.0M/26.4M [00:01<00:00, 28.9MB/s]
114-
100%|##########| 26.4M/26.4M [00:01<00:00, 19.2MB/s]
104+
0%| | 65.5k/26.4M [00:00<01:12, 362kB/s]
105+
1%| | 229k/26.4M [00:00<00:38, 681kB/s]
106+
3%|3 | 918k/26.4M [00:00<00:09, 2.62MB/s]
107+
7%|7 | 1.93M/26.4M [00:00<00:06, 4.08MB/s]
108+
25%|##5 | 6.62M/26.4M [00:00<00:01, 15.4MB/s]
109+
38%|###7 | 9.99M/26.4M [00:00<00:00, 17.2MB/s]
110+
60%|#####9 | 15.8M/26.4M [00:01<00:00, 26.9MB/s]
111+
73%|#######3 | 19.3M/26.4M [00:01<00:00, 24.7MB/s]
112+
93%|#########2| 24.5M/26.4M [00:01<00:00, 31.1MB/s]
113+
100%|##########| 26.4M/26.4M [00:01<00:00, 19.3MB/s]
115114
116115
0%| | 0.00/29.5k [00:00<?, ?B/s]
117-
100%|##########| 29.5k/29.5k [00:00<00:00, 326kB/s]
116+
100%|##########| 29.5k/29.5k [00:00<00:00, 329kB/s]
118117
119118
0%| | 0.00/4.42M [00:00<?, ?B/s]
120-
1%|1 | 65.5k/4.42M [00:00<00:12, 363kB/s]
121-
5%|5 | 229k/4.42M [00:00<00:06, 683kB/s]
122-
21%|## | 918k/4.42M [00:00<00:01, 2.63MB/s]
123-
44%|####3 | 1.93M/4.42M [00:00<00:00, 4.08MB/s]
124-
100%|##########| 4.42M/4.42M [00:00<00:00, 6.10MB/s]
119+
1%|1 | 65.5k/4.42M [00:00<00:12, 362kB/s]
120+
5%|5 | 229k/4.42M [00:00<00:06, 682kB/s]
121+
21%|##1 | 950k/4.42M [00:00<00:01, 2.19MB/s]
122+
87%|########6 | 3.83M/4.42M [00:00<00:00, 7.61MB/s]
123+
100%|##########| 4.42M/4.42M [00:00<00:00, 6.09MB/s]
125124
126125
0%| | 0.00/5.15k [00:00<?, ?B/s]
127-
100%|##########| 5.15k/5.15k [00:00<00:00, 40.2MB/s]
126+
100%|##########| 5.15k/5.15k [00:00<00:00, 59.6MB/s]
128127
129128
130129
@@ -423,7 +422,7 @@ Further Reading
423422

424423
.. rst-class:: sphx-glr-timing
425424

426-
**Total running time of the script:** ( 0 minutes 4.918 seconds)
425+
**Total running time of the script:** ( 0 minutes 4.908 seconds)
427426

428427

429428
.. _sphx_glr_download_beginner_basics_data_tutorial.py:

0 commit comments

Comments
 (0)