Andrei Ivanov
a64ff4825a
Removing the UserWarning appearing in the mnist example. ( #6000 )
...
Co-authored-by: Hongzhi (Steve), Chen <chenhongzhi.nkcs@gmail.com >
2023-07-14 13:30:12 +08:00
Hongzhi (Steve), Chen
9a3456cd7b
[Misc] Remove redundant blank line. ( #5978 )
...
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal >
2023-07-11 10:26:47 +08:00
Ramon Zhou
e1f663f8a0
[Misc] Add comments and highlights to examples/multigpu/node_classification_sage.py ( #5956 )
...
Co-authored-by: Hongzhi (Steve), Chen <chenhongzhi.nkcs@gmail.com >
2023-07-10 22:43:14 +08:00
Zhiteng Li
43d49c1c28
[Example] Graphormer for ogbg-molhiv dataset ( #5915 )
...
Co-authored-by: Hongzhi (Steve), Chen <chenhongzhi.nkcs@gmail.com >
2023-07-10 22:40:55 +08:00
caojy1998
add152bf84
[CI] Add some notation for train_full.py and move it to a new directory ( #5863 )
...
Co-authored-by: Ubuntu <ubuntu@ip-172-31-6-31.ap-northeast-1.compute.internal >
2023-06-14 20:52:07 +08:00
Hongzhi (Steve), Chen
b5e90bc323
[Misc] Update the comment in examples/sampling/node_classification.py ( #5874 )
2023-06-14 19:06:33 +08:00
Andrei Ivanov
b35f15b7f1
[Doc]Removing useless dataset loading instructions for the P-GNN example. ( #5861 )
...
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
2023-06-13 13:20:38 +08:00
hummingg
5641594c36
AIFB -> AIFBDataset ( #5860 )
2023-06-13 01:55:33 +08:00
Rhett Ying
c9778b5522
[DistDGL] remove use of tensorpipe from examples and docs ( #5837 )
2023-06-09 08:55:53 +08:00
Rhett Ying
b6f774cd83
[Examples] fix lint ( #5838 )
2023-06-08 17:21:38 +08:00
keli-wen
3a33c8b521
[Examples] Add Sampling Examples ( #5777 )
2023-06-07 13:29:32 +08:00
Andrei Ivanov
d1247b6f32
[Misc]Improving the output of the DCRNN training script. ( #5790 )
...
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
2023-06-07 12:00:28 +08:00
Chang Liu
23772ee160
[Example][Minor] Update README/requirements from sklearn -> scikit-learn ( #5792 )
2023-06-07 10:33:31 +08:00
Rhett Ying
0202598953
[Examples] refine dist train example ( #5763 )
2023-06-06 09:25:21 +08:00
Rhett Ying
bb43d0423a
[Benchmark] relocate distributed node classification ( #5681 )
2023-06-01 14:02:34 +08:00
Rhett Ying
ac6be7d761
[Benchmark] update node classification for multigpu benchmark ( #5674 )
...
Co-authored-by: Hongzhi (Steve), Chen <chenhongzhi.nkcs@gmail.com >
2023-05-12 20:15:55 +08:00
paoxiaode
41baa0e448
[Example] GatedGCN ( #5659 )
2023-05-11 18:07:52 +08:00
Rhett Ying
d64f7c4808
[Benchmark] log train time and test accuracy, choose device ( #5662 )
2023-05-10 14:59:21 +08:00
czkkkkkk
f41934df87
[Sparse] Add conversion between DGLGraph and SparseMatrix. ( #5553 )
2023-04-20 18:00:34 +08:00
Mufei Li
de292c7a82
[Example] Sparse Example for HAN ( #5568 )
...
Co-authored-by: Ubuntu <ubuntu@ip-172-31-36-188.ap-northeast-1.compute.internal >
2023-04-19 22:31:22 +08:00
Mufei Li
a1f7498240
[Example] Fix Various Examples Related to TorchMetrics ( #5521 )
...
Co-authored-by: Ubuntu <ubuntu@ip-172-31-36-188.ap-northeast-1.compute.internal >
2023-04-10 15:54:00 +08:00
Hongzhi (Steve), Chen
5008af2210
[Misc] Rename number_of_edges and number_of_nodes to num_edges and num_nodes in examples. ( #5492 )
...
* pytorch_example
* fix
---------
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal >
2023-03-29 11:01:20 +08:00
Mufei Li
a07305301e
Update main.py ( #5460 )
2023-03-22 21:01:16 +08:00
Minjie Wang
8d99d30a82
add a link about the removed TGN example ( #5456 )
2023-03-15 22:08:38 +08:00
DominikaJedynak
b7ce4b6a0c
Tensorflow examples fix ( #5433 )
2023-03-09 10:38:19 +08:00
Tingyu Wang
bcf9923b32
[Model] Add dgl.nn.CuGraphSAGEConv model ( #5137 )
...
* add CuGraphSAGEConv model
* fix lint issues
* update model to reflect changes in make_mfg_csr(), move max_in_degree to forward()
* lintrunner
* allow reset_parameters()
* remove norm option, simplify test
* allow full graph fallback option, add example
* address comments
* address reviews
---------
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
2023-02-22 13:43:28 +08:00
Hongzhi (Steve), Chen
9fe5092c17
lintrunner ( #5326 )
...
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal >
2023-02-19 22:50:07 +08:00
Hongzhi (Steve), Chen
704bcaf6dd
examples ( #5323 )
...
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal >
2023-02-19 08:35:15 +08:00
Tingyu Wang
19b3cea166
[Model] Update CuGraphRelGraphConv to use pylibcugraphops=23.02 ( #5217 )
...
* update cugraph_relgraphconv
* update equality test
* update cugraph rgcn example
* update RelGraphConvAgg based on latest API changes
* enable fallback option to fg when fanout is large
---------
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
2023-02-15 20:11:20 +08:00
Hongzhi (Steve), Chen
b3308ae795
Cleanup mock_sparse related code. ( #5230 )
...
* remove_mock_sparse_example
* mock_sparse_test
* remove_mock_sparse
---------
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal >
2023-02-01 15:17:14 +08:00
Hongzhi (Steve), Chen
30fb03a6bc
Update example with spmatrix. ( #5219 )
...
* update
* graph
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal >
2023-01-20 15:39:55 +08:00
Xin Yao
cdfd1e382f
Delete train_sampling_unsupervised.py ( #5161 )
2023-01-12 11:15:48 -08:00
peizhou001
56ffb650fe
[API Deprecation]Deprecate contrib module ( #5114 )
2023-01-06 20:16:01 +08:00
peizhou001
436de3d120
[API Deprecation] Remove _dataloading and tgcn example ( #5118 )
2023-01-06 19:51:55 +08:00
peizhou001
c55ab2d147
deprecate candidates in dataloader ( #5117 )
2023-01-06 16:18:32 +08:00
Chang Liu
a506ebe82b
[Example][Refactor] Multi-gpu graphsage link prediction example refactor ( #5091 )
2023-01-05 20:59:39 +08:00
rudongyu
ec3934d0d1
[Example] Sparse Graph Transformer ( #5069 )
...
* gt example
* update
* update
* update
* update
* lint
* Update examples/sparse/graph_transformer.py
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
2023-01-05 08:50:38 +08:00
Mufei Li
9169fc3541
[Sparse] Polish sparse matrix creation functions ( #5093 )
...
* update
* Update
* Update
* Update
* Update
Co-authored-by: Ubuntu <ubuntu@ip-172-31-36-188.ap-northeast-1.compute.internal >
2023-01-03 22:59:57 +08:00
Mufei Li
37bd092587
[Sparse] Namespace migration and doc update ( #5088 )
...
* update
* lint
* lint
* comments
Co-authored-by: Ubuntu <ubuntu@ip-172-31-36-188.ap-northeast-1.compute.internal >
2022-12-29 20:34:29 +08:00
Minjie Wang
025e43210f
[Sparse] Add tests for sparse examples; Migrate from mock_sparse to mock_sparse2 ( #5073 )
...
* pass gcn
* example tests
* pass gcnii, hgnn, sgc, sign
* black
* test file
* add torchmetrics
* migrate appnp, c_and_s, twirls
* fix style
* minor fix
* fix hypergraphatt and twirls
* pass gat
* fix torchmetric
* lintrunner
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
2022-12-29 08:55:25 +08:00
Hongzhi (Steve), Chen
bda6a816be
rename ( #5058 )
...
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal >
2022-12-28 13:27:52 +08:00
paoxiaode
6bd8175890
[Sparse] GCNII example ( #5008 )
2022-12-18 14:44:22 +08:00
Hongzhi (Steve), Chen
236fac4fb9
[Misc] Small fix in sparse GCN example ( #5006 )
...
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal >
2022-12-12 15:30:49 +08:00
paoxiaode
e28f07812b
[Sparse] GCN Example ( #4996 )
...
* add GCN sparse matrix example
* refine GCN example
* refine GCN example
* change train function
* [Bugfix] Turn off `use_alternate_stream` when TensorAdaptor is not enabled (#4987 )
* turn off use_alternate_stream when tensoradaptor is not enabled
* add docstring
* Update (#4997 )
Co-authored-by: Ubuntu <ubuntu@ip-172-31-36-188.ap-northeast-1.compute.internal >
* refine GCN example
* add GCN sparse matrix example
* refine GCN example
* refine GCN example
* change train function
* refine GCN example
* add highlight comment
* refine code
* refine code
* refine by black and flake8
* refine the comment to 80 char length
* refine the comment
* refine comment
Co-authored-by: Xin Yao <xiny@nvidia.com >
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
Co-authored-by: Ubuntu <ubuntu@ip-172-31-36-188.ap-northeast-1.compute.internal >
2022-12-09 09:19:38 +08:00
Minjie Wang
c604366d4c
[Sparse][Example] Add TWIRLS example in sparse API ( #4922 )
...
* add twirls
* update attention part
* update; add val_like to mock_sparse
* black
2022-12-05 16:56:21 +08:00
Dylan
b84de903a2
GCN example correction ( #4969 ) ( #4976 )
...
Correction like mentioned in #4969
I noticed that there is a normalisation step on line 97 while the normalised values are not used downstream. Even if this was meant to show the normalisation step, it would not be calculating the normalisation step described in the CGN paper. The paper considers both in and out degrees while the normalisation in the code only describes normalisation using the in degrees.
In the end, the normalised values are assigned to g.ndata["norm"] but these values are not used afterwards.
Having a normalisation step here is also unnecessary since the GraphConv layer that is used already takes care of the normalisation. https://docs.dgl.ai/en/0.9.x/_modules/dgl/nn/pytorch/conv/graphconv.html#GraphConv
It confused me for a second thinking that I had to do the normalisation myself but this is already handled by the GraphConf.
2022-12-05 10:00:57 +08:00
Tingyu Wang
943abba3fb
[Example] add entity_sample example of using CuGraphRelGraphConv ( #4827 )
...
* add entity_sample example
* update message
* address review, update api call
* Update examples/pytorch/rgcn/entity_sample_cugraph_relgraphconv.py
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
* Update examples/pytorch/rgcn/entity_sample_cugraph_relgraphconv.py
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
* Update examples/pytorch/rgcn/entity_sample_cugraph_relgraphconv.py
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
* address review
* move example and add description
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
2022-12-01 21:09:14 +08:00
Mufei Li
a5a0d9ed9d
[Sparse] C&S Example ( #4963 )
...
* Update
* Update
* Update
* Update
Co-authored-by: Ubuntu <ubuntu@ip-172-31-36-188.ap-northeast-1.compute.internal >
2022-12-01 18:35:53 +08:00
peizhou001
611393021a
[API Deprecation] Remove candidates in DGLGraph ( #4946 )
2022-12-01 16:41:53 +08:00
Quan (Andy) Gan
1edc92336b
[Example] Hypergraph attention ( #4941 )
...
* hypergraph attention
* address comments
2022-11-28 20:12:37 +08:00