diff --git a/main/_downloads/0935354946f64f2fcf766478aa4572c3/tensordict_module.zip b/main/_downloads/0935354946f64f2fcf766478aa4572c3/tensordict_module.zip index 4dccbfd59..2785ced86 100644 Binary files a/main/_downloads/0935354946f64f2fcf766478aa4572c3/tensordict_module.zip and b/main/_downloads/0935354946f64f2fcf766478aa4572c3/tensordict_module.zip differ diff --git a/main/_downloads/150528e38f6816824f1e81ed67476a9f/export.zip b/main/_downloads/150528e38f6816824f1e81ed67476a9f/export.zip index 555a28a43..63f1bb00d 100644 Binary files a/main/_downloads/150528e38f6816824f1e81ed67476a9f/export.zip and b/main/_downloads/150528e38f6816824f1e81ed67476a9f/export.zip differ diff --git a/main/_downloads/30cf47ff46cc4701c97ed46f4d91a0f2/tensordict_keys.zip b/main/_downloads/30cf47ff46cc4701c97ed46f4d91a0f2/tensordict_keys.zip index 77f505c96..220f32001 100644 Binary files a/main/_downloads/30cf47ff46cc4701c97ed46f4d91a0f2/tensordict_keys.zip and b/main/_downloads/30cf47ff46cc4701c97ed46f4d91a0f2/tensordict_keys.zip differ diff --git a/main/_downloads/315c4c52fb68082a731b192d944e2ede/tutorials_python.zip b/main/_downloads/315c4c52fb68082a731b192d944e2ede/tutorials_python.zip index 1959e577a..12a0a3614 100644 Binary files a/main/_downloads/315c4c52fb68082a731b192d944e2ede/tutorials_python.zip and b/main/_downloads/315c4c52fb68082a731b192d944e2ede/tutorials_python.zip differ diff --git a/main/_downloads/5b6beccb0b7dcf81c69b35cec5a445ee/tensorclass_imagenet.zip b/main/_downloads/5b6beccb0b7dcf81c69b35cec5a445ee/tensorclass_imagenet.zip index 6313fdf49..34bff707c 100644 Binary files a/main/_downloads/5b6beccb0b7dcf81c69b35cec5a445ee/tensorclass_imagenet.zip and b/main/_downloads/5b6beccb0b7dcf81c69b35cec5a445ee/tensorclass_imagenet.zip differ diff --git a/main/_downloads/71264da051c82d595130ca8e60350024/tensordict_shapes.zip b/main/_downloads/71264da051c82d595130ca8e60350024/tensordict_shapes.zip index ffc143876..a99957aa2 100644 Binary files a/main/_downloads/71264da051c82d595130ca8e60350024/tensordict_shapes.zip and b/main/_downloads/71264da051c82d595130ca8e60350024/tensordict_shapes.zip differ diff --git a/main/_downloads/777fb49680f0121bef451f089b823d24/tensorclass_fashion.zip b/main/_downloads/777fb49680f0121bef451f089b823d24/tensorclass_fashion.zip index 657269800..b59d38b53 100644 Binary files a/main/_downloads/777fb49680f0121bef451f089b823d24/tensorclass_fashion.zip and b/main/_downloads/777fb49680f0121bef451f089b823d24/tensorclass_fashion.zip differ diff --git a/main/_downloads/89ddb148138028541dafab3ced0e0421/tensordict_memory.zip b/main/_downloads/89ddb148138028541dafab3ced0e0421/tensordict_memory.zip index 9016d1303..9f5fc3e9f 100644 Binary files a/main/_downloads/89ddb148138028541dafab3ced0e0421/tensordict_memory.zip and b/main/_downloads/89ddb148138028541dafab3ced0e0421/tensordict_memory.zip differ diff --git a/main/_downloads/a3a53a08487286803e7e9713be78fb54/tensordict_preallocation.zip b/main/_downloads/a3a53a08487286803e7e9713be78fb54/tensordict_preallocation.zip index efc46c9be..a26f2b965 100644 Binary files a/main/_downloads/a3a53a08487286803e7e9713be78fb54/tensordict_preallocation.zip and b/main/_downloads/a3a53a08487286803e7e9713be78fb54/tensordict_preallocation.zip differ diff --git a/main/_downloads/a5659940aa3f8f568547d47752a43172/tutorials_jupyter.zip b/main/_downloads/a5659940aa3f8f568547d47752a43172/tutorials_jupyter.zip index 4aced48fd..2d53d535f 100644 Binary files a/main/_downloads/a5659940aa3f8f568547d47752a43172/tutorials_jupyter.zip and b/main/_downloads/a5659940aa3f8f568547d47752a43172/tutorials_jupyter.zip differ diff --git a/main/_downloads/bddca9d9cab285e6fedc82c7769291ef/data_fashion.zip b/main/_downloads/bddca9d9cab285e6fedc82c7769291ef/data_fashion.zip index 6a31f1b29..33c39b8df 100644 Binary files a/main/_downloads/bddca9d9cab285e6fedc82c7769291ef/data_fashion.zip and b/main/_downloads/bddca9d9cab285e6fedc82c7769291ef/data_fashion.zip differ diff --git a/main/_downloads/c1f74b953ed757c75e2d2bc64666eae1/streamed_tensordict.zip b/main/_downloads/c1f74b953ed757c75e2d2bc64666eae1/streamed_tensordict.zip index a9feb12be..1bd01f66a 100644 Binary files a/main/_downloads/c1f74b953ed757c75e2d2bc64666eae1/streamed_tensordict.zip and b/main/_downloads/c1f74b953ed757c75e2d2bc64666eae1/streamed_tensordict.zip differ diff --git a/main/_downloads/c1fc5aa7548e6b1437d36fb47bc36ce5/tensordict_slicing.zip b/main/_downloads/c1fc5aa7548e6b1437d36fb47bc36ce5/tensordict_slicing.zip index 938f54b1e..00babb38e 100644 Binary files a/main/_downloads/c1fc5aa7548e6b1437d36fb47bc36ce5/tensordict_slicing.zip and b/main/_downloads/c1fc5aa7548e6b1437d36fb47bc36ce5/tensordict_slicing.zip differ diff --git a/main/_sources/sg_execution_times.rst.txt b/main/_sources/sg_execution_times.rst.txt index 32b28cc65..b6988dd52 100644 --- a/main/_sources/sg_execution_times.rst.txt +++ b/main/_sources/sg_execution_times.rst.txt @@ -6,7 +6,7 @@ Computation times ================= -**02:33.910** total execution time for 11 files **from all galleries**: +**02:29.308** total execution time for 11 files **from all galleries**: .. container:: @@ -33,22 +33,22 @@ Computation times - Time - Mem (MB) * - :ref:`sphx_glr_tutorials_tensorclass_fashion.py` (``reference/generated/tutorials/tensorclass_fashion.py``) - - 01:03.156 + - 01:00.787 - 0.0 * - :ref:`sphx_glr_tutorials_data_fashion.py` (``reference/generated/tutorials/data_fashion.py``) - - 00:57.776 + - 00:55.623 - 0.0 * - :ref:`sphx_glr_tutorials_tensordict_module.py` (``reference/generated/tutorials/tensordict_module.py``) - - 00:18.536 + - 00:18.477 - 0.0 * - :ref:`sphx_glr_tutorials_streamed_tensordict.py` (``reference/generated/tutorials/streamed_tensordict.py``) - - 00:11.020 + - 00:11.021 - 0.0 * - :ref:`sphx_glr_tutorials_export.py` (``reference/generated/tutorials/export.py``) - - 00:01.749 + - 00:01.699 - 0.0 * - :ref:`sphx_glr_tutorials_tensorclass_imagenet.py` (``reference/generated/tutorials/tensorclass_imagenet.py``) - - 00:01.644 + - 00:01.673 - 0.0 * - :ref:`sphx_glr_tutorials_tensordict_keys.py` (``reference/generated/tutorials/tensordict_keys.py``) - 00:00.009 @@ -57,7 +57,7 @@ Computation times - 00:00.008 - 0.0 * - :ref:`sphx_glr_tutorials_tensordict_slicing.py` (``reference/generated/tutorials/tensordict_slicing.py``) - - 00:00.005 + - 00:00.004 - 0.0 * - :ref:`sphx_glr_tutorials_tensordict_memory.py` (``reference/generated/tutorials/tensordict_memory.py``) - 00:00.004 diff --git a/main/_sources/tutorials/data_fashion.rst.txt b/main/_sources/tutorials/data_fashion.rst.txt index ef08cbf6a..81cd118f8 100644 --- a/main/_sources/tutorials/data_fashion.rst.txt +++ b/main/_sources/tutorials/data_fashion.rst.txt @@ -423,156 +423,156 @@ adjust how we unpack the data to the more explicit key-based retrieval offered b is_shared=False) Epoch 1 ------------------------- - loss: 2.295148 [ 0/60000] - loss: 2.288687 [ 6400/60000] - loss: 2.264276 [12800/60000] - loss: 2.257121 [19200/60000] - loss: 2.249283 [25600/60000] - loss: 2.211193 [32000/60000] - loss: 2.216204 [38400/60000] - loss: 2.180449 [44800/60000] - loss: 2.179368 [51200/60000] - loss: 2.146407 [57600/60000] + loss: 2.297034 [ 0/60000] + loss: 2.293723 [ 6400/60000] + loss: 2.269874 [12800/60000] + loss: 2.265041 [19200/60000] + loss: 2.247218 [25600/60000] + loss: 2.226938 [32000/60000] + loss: 2.226363 [38400/60000] + loss: 2.194768 [44800/60000] + loss: 2.195367 [51200/60000] + loss: 2.161224 [57600/60000] Test Error: - Accuracy: 48.0%, Avg loss: 2.141438 + Accuracy: 43.4%, Avg loss: 2.156612 Epoch 2 ------------------------- - loss: 2.148195 [ 0/60000] - loss: 2.141373 [ 6400/60000] - loss: 2.079053 [12800/60000] - loss: 2.093180 [19200/60000] - loss: 2.041999 [25600/60000] - loss: 1.976888 [32000/60000] - loss: 1.994016 [38400/60000] - loss: 1.914325 [44800/60000] - loss: 1.923628 [51200/60000] - loss: 1.836888 [57600/60000] + loss: 2.160449 [ 0/60000] + loss: 2.160634 [ 6400/60000] + loss: 2.090734 [12800/60000] + loss: 2.112868 [19200/60000] + loss: 2.055511 [25600/60000] + loss: 2.001153 [32000/60000] + loss: 2.027912 [38400/60000] + loss: 1.945694 [44800/60000] + loss: 1.961530 [51200/60000] + loss: 1.883855 [57600/60000] Test Error: - Accuracy: 57.2%, Avg loss: 1.842130 + Accuracy: 53.6%, Avg loss: 1.881469 Epoch 3 ------------------------- - loss: 1.879584 [ 0/60000] - loss: 1.845570 [ 6400/60000] - loss: 1.727267 [12800/60000] - loss: 1.765438 [19200/60000] - loss: 1.662461 [25600/60000] - loss: 1.614136 [32000/60000] - loss: 1.628378 [38400/60000] - loss: 1.535969 [44800/60000] - loss: 1.567617 [51200/60000] - loss: 1.456037 [57600/60000] + loss: 1.905408 [ 0/60000] + loss: 1.890264 [ 6400/60000] + loss: 1.755859 [12800/60000] + loss: 1.807360 [19200/60000] + loss: 1.687582 [25600/60000] + loss: 1.644098 [32000/60000] + loss: 1.667204 [38400/60000] + loss: 1.568138 [44800/60000] + loss: 1.598023 [51200/60000] + loss: 1.490839 [57600/60000] Test Error: - Accuracy: 60.1%, Avg loss: 1.480593 + Accuracy: 61.1%, Avg loss: 1.508179 Epoch 4 ------------------------- - loss: 1.552394 [ 0/60000] - loss: 1.519605 [ 6400/60000] - loss: 1.368929 [12800/60000] - loss: 1.442735 [19200/60000] - loss: 1.331060 [25600/60000] - loss: 1.328798 [32000/60000] - loss: 1.342121 [38400/60000] - loss: 1.268073 [44800/60000] - loss: 1.305307 [51200/60000] - loss: 1.209298 [57600/60000] + loss: 1.564770 [ 0/60000] + loss: 1.547288 [ 6400/60000] + loss: 1.384363 [12800/60000] + loss: 1.462441 [19200/60000] + loss: 1.338688 [25600/60000] + loss: 1.338367 [32000/60000] + loss: 1.350146 [38400/60000] + loss: 1.280336 [44800/60000] + loss: 1.319443 [51200/60000] + loss: 1.217629 [57600/60000] Test Error: - Accuracy: 62.6%, Avg loss: 1.234078 + Accuracy: 64.0%, Avg loss: 1.243834 Epoch 5 ------------------------- - loss: 1.312373 [ 0/60000] - loss: 1.298895 [ 6400/60000] - loss: 1.127474 [12800/60000] - loss: 1.239774 [19200/60000] - loss: 1.117170 [25600/60000] - loss: 1.143492 [32000/60000] - loss: 1.166954 [38400/60000] - loss: 1.100850 [44800/60000] - loss: 1.139860 [51200/60000] - loss: 1.060362 [57600/60000] + loss: 1.309603 [ 0/60000] + loss: 1.309187 [ 6400/60000] + loss: 1.132445 [12800/60000] + loss: 1.242703 [19200/60000] + loss: 1.116270 [25600/60000] + loss: 1.142112 [32000/60000] + loss: 1.159446 [38400/60000] + loss: 1.102855 [44800/60000] + loss: 1.148942 [51200/60000] + loss: 1.061529 [57600/60000] Test Error: - Accuracy: 64.5%, Avg loss: 1.079705 + Accuracy: 65.6%, Avg loss: 1.082501 - TensorDict training done! time: 8.6095 s + TensorDict training done! time: 8.6850 s Epoch 1 ------------------------- - loss: 2.295774 [ 0/60000] - loss: 2.289083 [ 6400/60000] - loss: 2.267943 [12800/60000] - loss: 2.271904 [19200/60000] - loss: 2.251286 [25600/60000] - loss: 2.229369 [32000/60000] - loss: 2.237860 [38400/60000] - loss: 2.203740 [44800/60000] - loss: 2.204681 [51200/60000] - loss: 2.181303 [57600/60000] + loss: 2.303568 [ 0/60000] + loss: 2.292461 [ 6400/60000] + loss: 2.262461 [12800/60000] + loss: 2.258972 [19200/60000] + loss: 2.241117 [25600/60000] + loss: 2.201943 [32000/60000] + loss: 2.217089 [38400/60000] + loss: 2.180319 [44800/60000] + loss: 2.187558 [51200/60000] + loss: 2.131742 [57600/60000] Test Error: - Accuracy: 47.0%, Avg loss: 2.171147 + Accuracy: 31.7%, Avg loss: 2.140259 Epoch 2 ------------------------- - loss: 2.176008 [ 0/60000] - loss: 2.166186 [ 6400/60000] - loss: 2.107857 [12800/60000] - loss: 2.134267 [19200/60000] - loss: 2.080149 [25600/60000] - loss: 2.030640 [32000/60000] - loss: 2.056546 [38400/60000] - loss: 1.976407 [44800/60000] - loss: 1.991985 [51200/60000] - loss: 1.931681 [57600/60000] + loss: 2.164973 [ 0/60000] + loss: 2.150137 [ 6400/60000] + loss: 2.077849 [12800/60000] + loss: 2.093443 [19200/60000] + loss: 2.038481 [25600/60000] + loss: 1.973073 [32000/60000] + loss: 1.998879 [38400/60000] + loss: 1.921673 [44800/60000] + loss: 1.933168 [51200/60000] + loss: 1.831749 [57600/60000] Test Error: - Accuracy: 53.7%, Avg loss: 1.918879 + Accuracy: 48.7%, Avg loss: 1.849003 Epoch 3 ------------------------- - loss: 1.944126 [ 0/60000] - loss: 1.917355 [ 6400/60000] - loss: 1.795971 [12800/60000] - loss: 1.848915 [19200/60000] - loss: 1.745302 [25600/60000] - loss: 1.685439 [32000/60000] - loss: 1.715304 [38400/60000] - loss: 1.603045 [44800/60000] - loss: 1.642661 [51200/60000] - loss: 1.552419 [57600/60000] + loss: 1.898297 [ 0/60000] + loss: 1.863893 [ 6400/60000] + loss: 1.733816 [12800/60000] + loss: 1.774636 [19200/60000] + loss: 1.670297 [25600/60000] + loss: 1.623713 [32000/60000] + loss: 1.639363 [38400/60000] + loss: 1.557734 [44800/60000] + loss: 1.581697 [51200/60000] + loss: 1.458045 [57600/60000] Test Error: - Accuracy: 60.2%, Avg loss: 1.555570 + Accuracy: 59.3%, Avg loss: 1.494883 Epoch 4 ------------------------- - loss: 1.612758 [ 0/60000] - loss: 1.585966 [ 6400/60000] - loss: 1.427406 [12800/60000] - loss: 1.507616 [19200/60000] - loss: 1.402105 [25600/60000] - loss: 1.379785 [32000/60000] - loss: 1.396852 [38400/60000] - loss: 1.307169 [44800/60000] - loss: 1.354686 [51200/60000] - loss: 1.271429 [57600/60000] + loss: 1.569354 [ 0/60000] + loss: 1.539536 [ 6400/60000] + loss: 1.385659 [12800/60000] + loss: 1.456576 [19200/60000] + loss: 1.343820 [25600/60000] + loss: 1.342496 [32000/60000] + loss: 1.348758 [38400/60000] + loss: 1.292623 [44800/60000] + loss: 1.323011 [51200/60000] + loss: 1.209712 [57600/60000] Test Error: - Accuracy: 62.9%, Avg loss: 1.284187 + Accuracy: 63.5%, Avg loss: 1.249484 Epoch 5 ------------------------- - loss: 1.352535 [ 0/60000] - loss: 1.344217 [ 6400/60000] - loss: 1.170571 [12800/60000] - loss: 1.279448 [19200/60000] - loss: 1.167800 [25600/60000] - loss: 1.178811 [32000/60000] - loss: 1.196409 [38400/60000] - loss: 1.121528 [44800/60000] - loss: 1.170856 [51200/60000] - loss: 1.104489 [57600/60000] + loss: 1.326457 [ 0/60000] + loss: 1.315519 [ 6400/60000] + loss: 1.147514 [12800/60000] + loss: 1.252299 [19200/60000] + loss: 1.127516 [25600/60000] + loss: 1.154889 [32000/60000] + loss: 1.166634 [38400/60000] + loss: 1.122377 [44800/60000] + loss: 1.159742 [51200/60000] + loss: 1.059098 [57600/60000] Test Error: - Accuracy: 64.3%, Avg loss: 1.112184 + Accuracy: 65.0%, Avg loss: 1.092335 - Training done! time: 36.0000 s + Training done! time: 34.4519 s @@ -580,7 +580,7 @@ adjust how we unpack the data to the more explicit key-based retrieval offered b .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 57.776 seconds) + **Total running time of the script:** (0 minutes 55.623 seconds) .. _sphx_glr_download_tutorials_data_fashion.py: diff --git a/main/_sources/tutorials/export.rst.txt b/main/_sources/tutorials/export.rst.txt index 01444c0ea..a39cbb5ef 100644 --- a/main/_sources/tutorials/export.rst.txt +++ b/main/_sources/tutorials/export.rst.txt @@ -141,7 +141,7 @@ Let us run this model and see what the output looks like: .. code-block:: none - (tensor([[0., 0., 0., 0.]], grad_fn=), tensor([[-0.2587, -0.1564, 0.1451, 0.2811]], grad_fn=), tensor([[-0.2587, -0.1564]], grad_fn=), tensor([[1.0936, 1.1856]], grad_fn=), tensor([[-0.2587, -0.1564]], grad_fn=)) + (tensor([[0.0000, 0.1837, 1.0734, 0.8747]], grad_fn=), tensor([[-0.4912, 0.6789, 0.5227, 0.0275]], grad_fn=), tensor([[-0.4912, 0.6789]], grad_fn=), tensor([[1.3587, 1.0174]], grad_fn=), tensor([[-0.4912, 0.6789]], grad_fn=)) @@ -266,8 +266,8 @@ This module can be run exactly like our original module (with a lower overhead): .. code-block:: none - Time for TDModule: 680.21 micro-seconds - Time for exported module: 379.09 micro-seconds + Time for TDModule: 677.82 micro-seconds + Time for exported module: 369.31 micro-seconds @@ -450,7 +450,7 @@ distribution: .. code-block:: none - tensor([[-0.2587, -0.1564]], grad_fn=) + tensor([[-0.4912, 0.6789]], grad_fn=) @@ -657,7 +657,7 @@ Next steps and further reading .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 1.749 seconds) + **Total running time of the script:** (0 minutes 1.699 seconds) .. _sphx_glr_download_tutorials_export.py: diff --git a/main/_sources/tutorials/sg_execution_times.rst.txt b/main/_sources/tutorials/sg_execution_times.rst.txt index e2af7592f..22e59bc66 100644 --- a/main/_sources/tutorials/sg_execution_times.rst.txt +++ b/main/_sources/tutorials/sg_execution_times.rst.txt @@ -6,7 +6,7 @@ Computation times ================= -**02:33.910** total execution time for 11 files **from tutorials**: +**02:29.308** total execution time for 11 files **from tutorials**: .. container:: @@ -33,22 +33,22 @@ Computation times - Time - Mem (MB) * - :ref:`sphx_glr_tutorials_tensorclass_fashion.py` (``tensorclass_fashion.py``) - - 01:03.156 + - 01:00.787 - 0.0 * - :ref:`sphx_glr_tutorials_data_fashion.py` (``data_fashion.py``) - - 00:57.776 + - 00:55.623 - 0.0 * - :ref:`sphx_glr_tutorials_tensordict_module.py` (``tensordict_module.py``) - - 00:18.536 + - 00:18.477 - 0.0 * - :ref:`sphx_glr_tutorials_streamed_tensordict.py` (``streamed_tensordict.py``) - - 00:11.020 + - 00:11.021 - 0.0 * - :ref:`sphx_glr_tutorials_export.py` (``export.py``) - - 00:01.749 + - 00:01.699 - 0.0 * - :ref:`sphx_glr_tutorials_tensorclass_imagenet.py` (``tensorclass_imagenet.py``) - - 00:01.644 + - 00:01.673 - 0.0 * - :ref:`sphx_glr_tutorials_tensordict_keys.py` (``tensordict_keys.py``) - 00:00.009 @@ -57,7 +57,7 @@ Computation times - 00:00.008 - 0.0 * - :ref:`sphx_glr_tutorials_tensordict_slicing.py` (``tensordict_slicing.py``) - - 00:00.005 + - 00:00.004 - 0.0 * - :ref:`sphx_glr_tutorials_tensordict_memory.py` (``tensordict_memory.py``) - 00:00.004 diff --git a/main/_sources/tutorials/streamed_tensordict.rst.txt b/main/_sources/tutorials/streamed_tensordict.rst.txt index 8d33459c1..f886ea474 100644 --- a/main/_sources/tutorials/streamed_tensordict.rst.txt +++ b/main/_sources/tutorials/streamed_tensordict.rst.txt @@ -444,7 +444,7 @@ Thanks for following along with this tutorial! We hope you've found it helpful a .. rst-class:: sphx-glr-timing - **Total running time of the script:** (0 minutes 11.020 seconds) + **Total running time of the script:** (0 minutes 11.021 seconds) .. _sphx_glr_download_tutorials_streamed_tensordict.py: diff --git a/main/_sources/tutorials/tensorclass_fashion.rst.txt b/main/_sources/tutorials/tensorclass_fashion.rst.txt index d331c8d7a..cbb722d1c 100644 --- a/main/_sources/tutorials/tensorclass_fashion.rst.txt +++ b/main/_sources/tutorials/tensorclass_fashion.rst.txt @@ -94,10 +94,10 @@ the image (e.g. "Bag", "Sneaker" etc.). .. code-block:: none - 0%| | 0.00/26.4M [00:00

Computation times

-

02:33.910 total execution time for 11 files from all galleries:

+

02:29.308 total execution time for 11 files from all galleries: