Skip to content

Commit 85c8720

Browse files
committed
Automated tutorials push
1 parent 2093d74 commit 85c8720

File tree

211 files changed

+25349
-20637
lines changed

Some content is hidden

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

211 files changed

+25349
-20637
lines changed

_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": "aa160397",
37+
"id": "03d00eb0",
3838
"metadata": {},
3939
"outputs": [],
4040
"source": [
@@ -50,7 +50,7 @@
5050
},
5151
{
5252
"cell_type": "markdown",
53-
"id": "190f9950",
53+
"id": "a2258b92",
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": "48d2c3c7",
34+
"id": "4e1876e7",
3535
"metadata": {},
3636
"outputs": [],
3737
"source": [
@@ -47,7 +47,7 @@
4747
},
4848
{
4949
"cell_type": "markdown",
50-
"id": "21d0685d",
50+
"id": "57340e2a",
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": "c1aebcb0",
37+
"id": "c82232a1",
3838
"metadata": {},
3939
"outputs": [],
4040
"source": [
@@ -50,7 +50,7 @@
5050
},
5151
{
5252
"cell_type": "markdown",
53-
"id": "0e2aaa9c",
53+
"id": "aafac980",
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": "c38505ba",
38+
"id": "5e949b91",
3939
"metadata": {},
4040
"outputs": [],
4141
"source": [
@@ -51,7 +51,7 @@
5151
},
5252
{
5353
"cell_type": "markdown",
54-
"id": "78c5656f",
54+
"id": "3593a657",
5555
"metadata": {},
5656
"source": [
5757
"\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": "6a17d7ee",
40+
"id": "241f94be",
4141
"metadata": {},
4242
"outputs": [],
4343
"source": [
@@ -53,7 +53,7 @@
5353
},
5454
{
5555
"cell_type": "markdown",
56-
"id": "1a17e29f",
56+
"id": "eb62a5d6",
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": "84ecc7cc",
38+
"id": "6881b39d",
3939
"metadata": {},
4040
"outputs": [],
4141
"source": [
@@ -51,7 +51,7 @@
5151
},
5252
{
5353
"cell_type": "markdown",
54-
"id": "580590a2",
54+
"id": "4cb84077",
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": "c18fa265",
37+
"id": "5a85e8ec",
3838
"metadata": {},
3939
"outputs": [],
4040
"source": [
@@ -50,7 +50,7 @@
5050
},
5151
{
5252
"cell_type": "markdown",
53-
"id": "77d9b723",
53+
"id": "01153738",
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": "277d217e",
37+
"id": "a6756670",
3838
"metadata": {},
3939
"outputs": [],
4040
"source": [
@@ -50,7 +50,7 @@
5050
},
5151
{
5252
"cell_type": "markdown",
53-
"id": "c51520d0",
53+
"id": "52962b28",
5454
"metadata": {},
5555
"source": [
5656
"\n",
Loading
Loading

_images/sphx_glr_coding_ddpg_001.png

-1.83 KB
Loading
4.02 KB
Loading
-286 Bytes
Loading
0 Bytes
Loading
-75 Bytes
Loading
-1.08 KB
Loading
2.08 KB
Loading
-361 Bytes
Loading
-785 Bytes
Loading
3.36 KB
Loading
-2.49 KB
Loading
Loading
-3.18 KB
Loading

_sources/advanced/coding_ddpg.rst.txt

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1634,26 +1634,26 @@ modules we need.
16341634
16351635
16361636
0%| | 0/10000 [00:00<?, ?it/s]
1637-
8%|8 | 800/10000 [00:00<00:06, 1436.09it/s]
1638-
16%|#6 | 1600/10000 [00:03<00:20, 400.47it/s]
1639-
24%|##4 | 2400/10000 [00:04<00:12, 590.15it/s]
1640-
32%|###2 | 3200/10000 [00:04<00:08, 773.73it/s]
1641-
40%|#### | 4000/10000 [00:05<00:06, 936.46it/s]
1642-
48%|####8 | 4800/10000 [00:05<00:04, 1074.74it/s]
1643-
56%|#####6 | 5600/10000 [00:06<00:03, 1180.52it/s]
1644-
reward: -2.48 (r0 = -2.61), reward eval: reward: -0.01, reward normalized=-2.54/6.46, grad norm= 94.40, loss_value= 408.21, loss_actor= 14.01, target value: -15.93: 56%|#####6 | 5600/10000 [00:07<00:03, 1180.52it/s]
1645-
reward: -2.48 (r0 = -2.61), reward eval: reward: -0.01, reward normalized=-2.54/6.46, grad norm= 94.40, loss_value= 408.21, loss_actor= 14.01, target value: -15.93: 64%|######4 | 6400/10000 [00:07<00:04, 813.08it/s]
1646-
reward: -0.12 (r0 = -2.61), reward eval: reward: -0.01, reward normalized=-2.23/5.55, grad norm= 59.75, loss_value= 249.44, loss_actor= 13.52, target value: -14.12: 64%|######4 | 6400/10000 [00:08<00:04, 813.08it/s]
1647-
reward: -0.12 (r0 = -2.61), reward eval: reward: -0.01, reward normalized=-2.23/5.55, grad norm= 59.75, loss_value= 249.44, loss_actor= 13.52, target value: -14.12: 72%|#######2 | 7200/10000 [00:09<00:04, 678.33it/s]
1648-
reward: -3.47 (r0 = -2.61), reward eval: reward: -0.01, reward normalized=-2.69/6.34, grad norm= 119.62, loss_value= 349.01, loss_actor= 15.25, target value: -16.23: 72%|#######2 | 7200/10000 [00:10<00:04, 678.33it/s]
1649-
reward: -3.47 (r0 = -2.61), reward eval: reward: -0.01, reward normalized=-2.69/6.34, grad norm= 119.62, loss_value= 349.01, loss_actor= 15.25, target value: -16.23: 80%|######## | 8000/10000 [00:11<00:03, 606.90it/s]
1650-
reward: -4.16 (r0 = -2.61), reward eval: reward: -0.01, reward normalized=-2.91/5.23, grad norm= 265.29, loss_value= 256.97, loss_actor= 13.80, target value: -19.01: 80%|######## | 8000/10000 [00:11<00:03, 606.90it/s]
1651-
reward: -4.16 (r0 = -2.61), reward eval: reward: -0.01, reward normalized=-2.91/5.23, grad norm= 265.29, loss_value= 256.97, loss_actor= 13.80, target value: -19.01: 88%|########8 | 8800/10000 [00:12<00:02, 564.64it/s]
1652-
reward: -4.98 (r0 = -2.61), reward eval: reward: -5.96, reward normalized=-2.89/5.09, grad norm= 36.41, loss_value= 230.77, loss_actor= 17.59, target value: -19.00: 88%|########8 | 8800/10000 [00:15<00:02, 564.64it/s]
1653-
reward: -4.98 (r0 = -2.61), reward eval: reward: -5.96, reward normalized=-2.89/5.09, grad norm= 36.41, loss_value= 230.77, loss_actor= 17.59, target value: -19.00: 96%|#########6| 9600/10000 [00:16<00:01, 365.72it/s]
1654-
reward: -4.28 (r0 = -2.61), reward eval: reward: -5.96, reward normalized=-2.86/5.27, grad norm= 124.44, loss_value= 230.24, loss_actor= 17.83, target value: -20.33: 96%|#########6| 9600/10000 [00:17<00:01, 365.72it/s]
1655-
reward: -4.28 (r0 = -2.61), reward eval: reward: -5.96, reward normalized=-2.86/5.27, grad norm= 124.44, loss_value= 230.24, loss_actor= 17.83, target value: -20.33: : 10400it [00:19, 343.33it/s]
1656-
reward: -4.70 (r0 = -2.61), reward eval: reward: -5.96, reward normalized=-3.60/4.12, grad norm= 92.27, loss_value= 170.00, loss_actor= 22.34, target value: -25.35: : 10400it [00:20, 343.33it/s]
1637+
8%|8 | 800/10000 [00:00<00:06, 1413.52it/s]
1638+
16%|#6 | 1600/10000 [00:03<00:20, 403.13it/s]
1639+
24%|##4 | 2400/10000 [00:04<00:12, 586.58it/s]
1640+
32%|###2 | 3200/10000 [00:04<00:08, 768.34it/s]
1641+
40%|#### | 4000/10000 [00:05<00:06, 920.14it/s]
1642+
48%|####8 | 4800/10000 [00:05<00:04, 1040.30it/s]
1643+
56%|#####6 | 5600/10000 [00:06<00:03, 1121.15it/s]
1644+
reward: -2.56 (r0 = -3.32), reward eval: reward: -0.01, reward normalized=-2.85/6.79, grad norm= 86.98, loss_value= 477.54, loss_actor= 16.11, target value: -17.80: 56%|#####6 | 5600/10000 [00:07<00:03, 1121.15it/s]
1645+
reward: -2.56 (r0 = -3.32), reward eval: reward: -0.01, reward normalized=-2.85/6.79, grad norm= 86.98, loss_value= 477.54, loss_actor= 16.11, target value: -17.80: 64%|######4 | 6400/10000 [00:08<00:04, 796.06it/s]
1646+
reward: -0.20 (r0 = -3.32), reward eval: reward: -0.01, reward normalized=-3.04/5.86, grad norm= 82.28, loss_value= 291.16, loss_actor= 16.75, target value: -19.42: 64%|######4 | 6400/10000 [00:08<00:04, 796.06it/s]
1647+
reward: -0.20 (r0 = -3.32), reward eval: reward: -0.01, reward normalized=-3.04/5.86, grad norm= 82.28, loss_value= 291.16, loss_actor= 16.75, target value: -19.42: 72%|#######2 | 7200/10000 [00:09<00:04, 670.32it/s]
1648+
reward: -2.85 (r0 = -3.32), reward eval: reward: -0.01, reward normalized=-2.93/6.12, grad norm= 169.17, loss_value= 310.63, loss_actor= 15.04, target value: -18.15: 72%|#######2 | 7200/10000 [00:10<00:04, 670.32it/s]
1649+
reward: -2.85 (r0 = -3.32), reward eval: reward: -0.01, reward normalized=-2.93/6.12, grad norm= 169.17, loss_value= 310.63, loss_actor= 15.04, target value: -18.15: 80%|######## | 8000/10000 [00:11<00:03, 611.26it/s]
1650+
reward: -4.98 (r0 = -3.32), reward eval: reward: -0.01, reward normalized=-2.72/4.96, grad norm= 71.58, loss_value= 203.21, loss_actor= 16.10, target value: -17.88: 80%|######## | 8000/10000 [00:12<00:03, 611.26it/s]
1651+
reward: -4.98 (r0 = -3.32), reward eval: reward: -0.01, reward normalized=-2.72/4.96, grad norm= 71.58, loss_value= 203.21, loss_actor= 16.10, target value: -17.88: 88%|########8 | 8800/10000 [00:12<00:02, 579.99it/s]
1652+
reward: -5.15 (r0 = -3.32), reward eval: reward: -5.77, reward normalized=-2.74/4.88, grad norm= 67.79, loss_value= 177.52, loss_actor= 19.43, target value: -18.64: 88%|########8 | 8800/10000 [00:15<00:02, 579.99it/s]
1653+
reward: -5.15 (r0 = -3.32), reward eval: reward: -5.77, reward normalized=-2.74/4.88, grad norm= 67.79, loss_value= 177.52, loss_actor= 19.43, target value: -18.64: 96%|#########6| 9600/10000 [00:16<00:01, 368.64it/s]
1654+
reward: -4.63 (r0 = -3.32), reward eval: reward: -5.77, reward normalized=-2.72/4.96, grad norm= 100.61, loss_value= 233.46, loss_actor= 19.22, target value: -19.81: 96%|#########6| 9600/10000 [00:17<00:01, 368.64it/s]
1655+
reward: -4.63 (r0 = -3.32), reward eval: reward: -5.77, reward normalized=-2.72/4.96, grad norm= 100.61, loss_value= 233.46, loss_actor= 19.22, target value: -19.81: : 10400it [00:19, 348.57it/s]
1656+
reward: -4.79 (r0 = -3.32), reward eval: reward: -5.77, reward normalized=-4.03/4.05, grad norm= 168.97, loss_value= 157.23, loss_actor= 23.69, target value: -28.33: : 10400it [00:20, 348.57it/s]
16571657
16581658
16591659
@@ -1723,7 +1723,7 @@ To iterate further on this loss module we might consider:
17231723

17241724
.. rst-class:: sphx-glr-timing
17251725

1726-
**Total running time of the script:** ( 0 minutes 31.807 seconds)
1726+
**Total running time of the script:** ( 0 minutes 31.669 seconds)
17271727

17281728

17291729
.. _sphx_glr_download_advanced_coding_ddpg.py:

_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): 207.8
520+
elapsed time (seconds): 204.3
521521
loss: 5.168
522-
elapsed time (seconds): 118.5
522+
elapsed time (seconds): 115.2
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 34.789 seconds)
544+
**Total running time of the script:** ( 5 minutes 27.712 seconds)
545545

546546

547547
.. _sphx_glr_download_advanced_dynamic_quantization_tutorial.py:

_sources/advanced/neural_style_tutorial.rst.txt

Lines changed: 21 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -410,32 +410,20 @@ 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-
4%|3 | 20.9M/548M [00:00<00:02, 218MB/s]
414-
8%|7 | 42.2M/548M [00:00<00:02, 221MB/s]
415-
12%|#1 | 63.5M/548M [00:00<00:02, 222MB/s]
416-
15%|#5 | 84.9M/548M [00:00<00:02, 223MB/s]
417-
19%|#9 | 106M/548M [00:00<00:02, 223MB/s]
418-
23%|##3 | 128M/548M [00:00<00:01, 223MB/s]
419-
27%|##7 | 149M/548M [00:00<00:01, 223MB/s]
420-
31%|###1 | 170M/548M [00:00<00:01, 223MB/s]
421-
35%|###4 | 192M/548M [00:00<00:01, 224MB/s]
422-
39%|###8 | 213M/548M [00:01<00:01, 224MB/s]
423-
43%|####2 | 235M/548M [00:01<00:01, 224MB/s]
424-
47%|####6 | 256M/548M [00:01<00:01, 224MB/s]
425-
51%|##### | 277M/548M [00:01<00:01, 224MB/s]
426-
55%|#####4 | 299M/548M [00:01<00:01, 224MB/s]
427-
58%|#####8 | 320M/548M [00:01<00:01, 224MB/s]
428-
62%|######2 | 342M/548M [00:01<00:00, 224MB/s]
429-
66%|######6 | 363M/548M [00:01<00:00, 224MB/s]
430-
70%|####### | 385M/548M [00:01<00:00, 224MB/s]
431-
74%|#######4 | 406M/548M [00:01<00:00, 224MB/s]
432-
78%|#######7 | 427M/548M [00:02<00:00, 223MB/s]
433-
82%|########1 | 449M/548M [00:02<00:00, 223MB/s]
434-
86%|########5 | 470M/548M [00:02<00:00, 223MB/s]
435-
90%|########9 | 492M/548M [00:02<00:00, 223MB/s]
436-
94%|#########3| 513M/548M [00:02<00:00, 223MB/s]
437-
97%|#########7| 534M/548M [00:02<00:00, 223MB/s]
438-
100%|##########| 548M/548M [00:02<00:00, 223MB/s]
413+
7%|7 | 40.5M/548M [00:00<00:01, 424MB/s]
414+
15%|#4 | 81.0M/548M [00:00<00:01, 370MB/s]
415+
21%|##1 | 117M/548M [00:00<00:01, 365MB/s]
416+
28%|##8 | 155M/548M [00:00<00:01, 378MB/s]
417+
35%|###5 | 193M/548M [00:00<00:00, 386MB/s]
418+
43%|####3 | 237M/548M [00:00<00:00, 411MB/s]
419+
51%|#####1 | 282M/548M [00:00<00:00, 427MB/s]
420+
59%|#####8 | 322M/548M [00:00<00:00, 405MB/s]
421+
66%|######5 | 362M/548M [00:00<00:00, 391MB/s]
422+
73%|#######3 | 401M/548M [00:01<00:00, 398MB/s]
423+
80%|######## | 440M/548M [00:01<00:00, 400MB/s]
424+
88%|########7 | 480M/548M [00:01<00:00, 406MB/s]
425+
95%|#########4| 520M/548M [00:01<00:00, 408MB/s]
426+
100%|##########| 548M/548M [00:01<00:00, 403MB/s]
439427
440428
441429
@@ -756,22 +744,22 @@ Finally, we can run the algorithm.
756744
757745
Optimizing..
758746
run [50]:
759-
Style Loss : 4.072629 Content Loss: 4.158342
747+
Style Loss : 4.094805 Content Loss: 4.188426
760748
761749
run [100]:
762-
Style Loss : 1.157763 Content Loss: 3.050233
750+
Style Loss : 1.117979 Content Loss: 3.008747
763751
764752
run [150]:
765-
Style Loss : 0.714200 Content Loss: 2.651302
753+
Style Loss : 0.712450 Content Loss: 2.650858
766754
767755
run [200]:
768-
Style Loss : 0.489686 Content Loss: 2.496655
756+
Style Loss : 0.476656 Content Loss: 2.489839
769757
770758
run [250]:
771-
Style Loss : 0.354790 Content Loss: 2.407404
759+
Style Loss : 0.344013 Content Loss: 2.401936
772760
773761
run [300]:
774-
Style Loss : 0.268439 Content Loss: 2.352382
762+
Style Loss : 0.264354 Content Loss: 2.349211
775763
776764
777765
@@ -780,7 +768,7 @@ Finally, we can run the algorithm.
780768
781769
.. rst-class:: sphx-glr-timing
782770

783-
**Total running time of the script:** ( 0 minutes 36.042 seconds)
771+
**Total running time of the script:** ( 0 minutes 11.342 seconds)
784772

785773

786774
.. _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.591 seconds)
306+
**Total running time of the script:** ( 0 minutes 0.377 seconds)
307307

308308

309309
.. _sphx_glr_download_advanced_numpy_extensions_tutorial.py:

0 commit comments

Comments
 (0)