Skip to content

Commit

Permalink
88f109f17338d7905d6f5618f0b2b3afc689fd54
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Oct 20, 2024
1 parent c5bd917 commit 9aefaba
Show file tree
Hide file tree
Showing 75 changed files with 5,308 additions and 5,316 deletions.
Binary file not shown.
Binary file modified _downloads/11500a931a1c5f9e708dfb4dfc465efe/2_dglgraph.zip
Binary file not shown.
Binary file modified _downloads/1903c142e91864df519198e1fee658e8/6_load_data.zip
Binary file not shown.
Binary file not shown.
Binary file modified _downloads/36091057899f35ff6b2929c3f090d1b1/1_gcn.zip
Binary file not shown.
Binary file not shown.
Binary file modified _downloads/40a3cadd8f5b33a55c8d4b43619eeead/4_rgcn.zip
Binary file not shown.
Binary file not shown.
Binary file modified _downloads/59aab1379739241d2fa4280f1e7f7b0d/4_link_predict.zip
Binary file not shown.
Binary file modified _downloads/7746d538aab61caed46c14c3df400eaa/1_introduction.zip
Binary file not shown.
Binary file modified _downloads/8db7ffb9a0985efae446d8584cf63f1d/3_tree-lstm.zip
Binary file not shown.
Binary file modified _downloads/99b4e83db6fff7f810348a10ace8cb1a/7_transformer.zip
Binary file not shown.
Binary file modified _downloads/acfa3347f63d993639b037e39bcaab21/2_capsule.zip
Binary file not shown.
Binary file modified _downloads/b3bc1d9d825616020677599977e5c38a/argo_tutorial.zip
Binary file not shown.
Binary file modified _downloads/d2f7e5b2b2b0e6c91385bc9507ee6cd4/9_gat.zip
Binary file not shown.
Binary file modified _downloads/de21d2a2463df90e341f4e750a5dd0bc/6_line_graph.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified _downloads/efd5ed97d4d759d5bbbf4ce4ecb2a6dc/5_dgmg.zip
Binary file not shown.
Binary file modified _images/sphx_glr_6_line_graph_002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 19 additions & 19 deletions _sources/sg_execution_times.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Computation times
=================
**01:53.037** total execution time for 20 files **from all galleries**:
**01:51.243** total execution time for 20 files **from all galleries**:

.. container::

Expand All @@ -33,62 +33,62 @@ Computation times
- Time
- Mem (MB)
* - :ref:`sphx_glr_tutorials_blitz_5_graph_classification.py` (``../../tutorials/blitz/5_graph_classification.py``)
- 00:55.917
- 00:54.597
- 0.0
* - :ref:`sphx_glr_tutorials_models_1_gnn_6_line_graph.py` (``../../tutorials/models/1_gnn/6_line_graph.py``)
- 00:22.472
- 00:22.374
- 0.0
* - :ref:`sphx_glr_tutorials_models_3_generative_model_5_dgmg.py` (``../../tutorials/models/3_generative_model/5_dgmg.py``)
- 00:13.354
- 00:13.641
- 0.0
* - :ref:`sphx_glr_tutorials_blitz_3_message_passing.py` (``../../tutorials/blitz/3_message_passing.py``)
- 00:07.253
- 00:07.065
- 0.0
* - :ref:`sphx_glr_tutorials_models_1_gnn_4_rgcn.py` (``../../tutorials/models/1_gnn/4_rgcn.py``)
- 00:03.819
- 00:03.811
- 0.0
* - :ref:`sphx_glr_tutorials_models_1_gnn_9_gat.py` (``../../tutorials/models/1_gnn/9_gat.py``)
- 00:02.786
- 00:02.771
- 0.0
* - :ref:`sphx_glr_tutorials_blitz_1_introduction.py` (``../../tutorials/blitz/1_introduction.py``)
- 00:02.243
- 00:02.019
- 0.0
* - :ref:`sphx_glr_tutorials_models_2_small_graph_3_tree-lstm.py` (``../../tutorials/models/2_small_graph/3_tree-lstm.py``)
- 00:02.007
- 00:01.972
- 0.0
* - :ref:`sphx_glr_tutorials_blitz_4_link_predict.py` (``../../tutorials/blitz/4_link_predict.py``)
- 00:01.461
- 00:01.418
- 0.0
* - :ref:`sphx_glr_tutorials_models_1_gnn_1_gcn.py` (``../../tutorials/models/1_gnn/1_gcn.py``)
- 00:00.759
- 00:00.708
- 0.0
* - :ref:`sphx_glr_tutorials_blitz_6_load_data.py` (``../../tutorials/blitz/6_load_data.py``)
- 00:00.602
- 00:00.507
- 0.0
* - :ref:`sphx_glr_tutorials_models_4_old_wines_2_capsule.py` (``../../tutorials/models/4_old_wines/2_capsule.py``)
- 00:00.270
- 00:00.268
- 0.0
* - :ref:`sphx_glr_tutorials_multi_2_node_classification.py` (``../../tutorials/multi/2_node_classification.py``)
- 00:00.077
- 00:00.076
- 0.0
* - :ref:`sphx_glr_tutorials_blitz_2_dglgraph.py` (``../../tutorials/blitz/2_dglgraph.py``)
- 00:00.013
- 00:00.014
- 0.0
* - :ref:`sphx_glr_tutorials_multi_1_graph_classification.py` (``../../tutorials/multi/1_graph_classification.py``)
- 00:00.003
- 0.0
* - :ref:`sphx_glr_tutorials_models_4_old_wines_7_transformer.py` (``../../tutorials/models/4_old_wines/7_transformer.py``)
- 00:00.000
- 0.0
* - :ref:`sphx_glr_tutorials_dist_2_link_prediction.py` (``../../tutorials/dist/2_link_prediction.py``)
- 00:00.000
- 0.0
* - :ref:`sphx_glr_tutorials_cpu_cpu_best_practises.py` (``../../tutorials/cpu/cpu_best_practises.py``)
- 00:00.000
- 0.0
* - :ref:`sphx_glr_tutorials_cpu_argo_tutorial.py` (``../../tutorials/cpu/argo_tutorial.py``)
* - :ref:`sphx_glr_tutorials_dist_2_link_prediction.py` (``../../tutorials/dist/2_link_prediction.py``)
- 00:00.000
- 0.0
* - :ref:`sphx_glr_tutorials_dist_1_node_classification.py` (``../../tutorials/dist/1_node_classification.py``)
- 00:00.000
- 0.0
* - :ref:`sphx_glr_tutorials_cpu_argo_tutorial.py` (``../../tutorials/cpu/argo_tutorial.py``)
- 00:00.000
- 0.0
44 changes: 22 additions & 22 deletions _sources/tutorials/blitz/1_introduction.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Loading Cora Dataset
.. code-block:: none
Downloading /root/.dgl/cora_v2.zip from https://data.dgl.ai/dataset/cora_v2.zip...
/root/.dgl/cora_v2.zip: 0%| | 0.00/132k [00:00<?, ?B/s] /root/.dgl/cora_v2.zip: 100%|██████████| 132k/132k [00:00<00:00, 3.40MB/s]
/root/.dgl/cora_v2.zip: 0%| | 0.00/132k [00:00<?, ?B/s] /root/.dgl/cora_v2.zip: 100%|██████████| 132k/132k [00:00<00:00, 9.79MB/s]
Extracting file to /root/.dgl/cora_v2_d697a464
Finished data loading and preprocessing.
NumNodes: 2708
Expand Down Expand Up @@ -321,26 +321,26 @@ Training this GCN is similar to training other PyTorch neural networks.

.. code-block:: none
In epoch 0, loss: 1.946, val acc: 0.154 (best 0.154), test acc: 0.166 (best 0.166)
In epoch 5, loss: 1.888, val acc: 0.508 (best 0.512), test acc: 0.503 (best 0.505)
In epoch 10, loss: 1.804, val acc: 0.482 (best 0.512), test acc: 0.509 (best 0.505)
In epoch 15, loss: 1.698, val acc: 0.620 (best 0.620), test acc: 0.638 (best 0.638)
In epoch 20, loss: 1.570, val acc: 0.690 (best 0.690), test acc: 0.695 (best 0.695)
In epoch 25, loss: 1.422, val acc: 0.704 (best 0.704), test acc: 0.718 (best 0.718)
In epoch 30, loss: 1.259, val acc: 0.718 (best 0.720), test acc: 0.743 (best 0.733)
In epoch 35, loss: 1.088, val acc: 0.734 (best 0.734), test acc: 0.754 (best 0.752)
In epoch 40, loss: 0.918, val acc: 0.746 (best 0.746), test acc: 0.751 (best 0.749)
In epoch 45, loss: 0.759, val acc: 0.754 (best 0.754), test acc: 0.758 (best 0.757)
In epoch 50, loss: 0.617, val acc: 0.760 (best 0.760), test acc: 0.762 (best 0.762)
In epoch 55, loss: 0.497, val acc: 0.762 (best 0.764), test acc: 0.764 (best 0.764)
In epoch 60, loss: 0.399, val acc: 0.766 (best 0.766), test acc: 0.766 (best 0.765)
In epoch 65, loss: 0.321, val acc: 0.770 (best 0.770), test acc: 0.769 (best 0.769)
In epoch 70, loss: 0.259, val acc: 0.766 (best 0.770), test acc: 0.772 (best 0.769)
In epoch 75, loss: 0.212, val acc: 0.772 (best 0.772), test acc: 0.771 (best 0.771)
In epoch 80, loss: 0.175, val acc: 0.772 (best 0.774), test acc: 0.773 (best 0.772)
In epoch 85, loss: 0.146, val acc: 0.770 (best 0.774), test acc: 0.773 (best 0.772)
In epoch 90, loss: 0.123, val acc: 0.772 (best 0.776), test acc: 0.772 (best 0.775)
In epoch 95, loss: 0.105, val acc: 0.772 (best 0.776), test acc: 0.773 (best 0.775)
In epoch 0, loss: 1.946, val acc: 0.236 (best 0.236), test acc: 0.244 (best 0.244)
In epoch 5, loss: 1.892, val acc: 0.498 (best 0.498), test acc: 0.505 (best 0.505)
In epoch 10, loss: 1.809, val acc: 0.588 (best 0.588), test acc: 0.599 (best 0.599)
In epoch 15, loss: 1.703, val acc: 0.662 (best 0.662), test acc: 0.650 (best 0.650)
In epoch 20, loss: 1.574, val acc: 0.708 (best 0.708), test acc: 0.693 (best 0.693)
In epoch 25, loss: 1.425, val acc: 0.732 (best 0.732), test acc: 0.716 (best 0.716)
In epoch 30, loss: 1.261, val acc: 0.748 (best 0.748), test acc: 0.720 (best 0.720)
In epoch 35, loss: 1.089, val acc: 0.756 (best 0.756), test acc: 0.724 (best 0.724)
In epoch 40, loss: 0.919, val acc: 0.762 (best 0.764), test acc: 0.732 (best 0.727)
In epoch 45, loss: 0.759, val acc: 0.766 (best 0.766), test acc: 0.733 (best 0.733)
In epoch 50, loss: 0.617, val acc: 0.768 (best 0.768), test acc: 0.741 (best 0.741)
In epoch 55, loss: 0.496, val acc: 0.766 (best 0.768), test acc: 0.753 (best 0.741)
In epoch 60, loss: 0.398, val acc: 0.762 (best 0.768), test acc: 0.756 (best 0.741)
In epoch 65, loss: 0.320, val acc: 0.758 (best 0.768), test acc: 0.756 (best 0.741)
In epoch 70, loss: 0.259, val acc: 0.752 (best 0.768), test acc: 0.761 (best 0.741)
In epoch 75, loss: 0.211, val acc: 0.766 (best 0.768), test acc: 0.762 (best 0.741)
In epoch 80, loss: 0.174, val acc: 0.770 (best 0.770), test acc: 0.760 (best 0.760)
In epoch 85, loss: 0.145, val acc: 0.772 (best 0.772), test acc: 0.763 (best 0.763)
In epoch 90, loss: 0.123, val acc: 0.768 (best 0.772), test acc: 0.761 (best 0.763)
In epoch 95, loss: 0.104, val acc: 0.768 (best 0.772), test acc: 0.756 (best 0.763)
Expand Down Expand Up @@ -394,7 +394,7 @@ What’s next?
.. rst-class:: sphx-glr-timing

**Total running time of the script:** (0 minutes 2.243 seconds)
**Total running time of the script:** (0 minutes 2.019 seconds)


.. _sphx_glr_download_tutorials_blitz_1_introduction.py:
Expand Down
36 changes: 18 additions & 18 deletions _sources/tutorials/blitz/2_dglgraph.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,11 @@ You can assign and retrieve node and edge features via ``ndata`` and

.. code-block:: none
tensor([[ 0.1608, 0.2708, -0.1178, -0.3529],
[-0.5908, -0.4476, 1.2832, 0.3689],
[-0.9026, 0.1520, 0.2994, 0.6633],
[-0.2375, 0.9356, 2.2289, 0.9310],
[ 1.1168, 0.9765, -1.5600, 0.0044]])
tensor([[ 0.6426, -0.2214, 0.6190, -0.0646],
[-0.9322, 0.8016, 2.4516, -1.4537],
[-0.9316, 0.3833, 0.4636, -0.9297],
[ 1.5936, -0.7172, -0.0852, -0.9570],
[-0.6231, 0.7283, 0.0623, -0.7913]])
Expand Down Expand Up @@ -320,18 +320,18 @@ to the subgraph:

.. code-block:: none
tensor([[-0.7074, -1.7754, -0.3619],
[-1.2930, -1.2476, -0.2298],
[-0.1369, 1.0710, 2.4148]])
tensor([[ 0.1608, 0.2708, -0.1178, -0.3529],
[-0.9026, 0.1520, 0.2994, 0.6633]])
tensor([[-0.7074, -1.7754, -0.3619],
[-1.2930, -1.2476, -0.2298],
[ 1.3130, -0.3904, -0.6975],
[ 1.2083, 0.9581, 0.6242]])
tensor([[ 0.1608, 0.2708, -0.1178, -0.3529],
[-0.5908, -0.4476, 1.2832, 0.3689],
[-0.2375, 0.9356, 2.2289, 0.9310]])
tensor([[-1.0349, -1.1049, 0.7170],
[-1.1247, -0.8151, 1.3590],
[ 0.5967, 0.0898, 1.6356]])
tensor([[ 0.6426, -0.2214, 0.6190, -0.0646],
[-0.9316, 0.3833, 0.4636, -0.9297]])
tensor([[-1.0349, -1.1049, 0.7170],
[-1.1247, -0.8151, 1.3590],
[ 1.0594, -0.1625, 0.1124],
[ 1.1485, 0.1165, -0.0783]])
tensor([[ 0.6426, -0.2214, 0.6190, -0.0646],
[-0.9322, 0.8016, 2.4516, -1.4537],
[ 1.5936, -0.7172, -0.0852, -0.9570]])
Expand Down Expand Up @@ -457,7 +457,7 @@ What’s next?
.. rst-class:: sphx-glr-timing

**Total running time of the script:** (0 minutes 0.013 seconds)
**Total running time of the script:** (0 minutes 0.014 seconds)


.. _sphx_glr_download_tutorials_blitz_2_dglgraph.py:
Expand Down
Loading

0 comments on commit 9aefaba

Please sign in to comment.