Israt Nisa
2accfc5dd1
replace with pow ( #4662 )
2022-09-29 22:42:34 -04:00
Israt Nisa
765d725e15
[Sparse] GAT example using sparse operator ( #4645 )
...
* GAT example
* Complete GAT and Add README
* Update
Co-authored-by: Israt Nisa <nisisrat@amazon.com >
Co-authored-by: czkkkkkk <zekucai@gmail.com >
2022-09-29 21:45:04 +08:00
czkkkkkk
9ceb63db78
[Sparse] Add Hetero RGCN example ( #4650 )
...
* Add Hetero RGCN example
* Remove HeteroGraphWrapper and move model to entity_classify.py
* Add README
2022-09-29 14:42:56 +08:00
czkkkkkk
ec5e7bc564
[Sparse] Add gcn example ( #4634 )
2022-09-28 21:30:52 +08:00
Hongzhi (Steve), Chen
0b9df9d798
[Misc] Black auto fix. ( #4652 )
...
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal >
2022-09-28 10:28:24 +08:00
Hongzhi (Steve), Chen
f19f05ce66
[Misc] Black auto fix. ( #4651 )
...
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal >
2022-09-28 10:28:04 +08:00
Chang Liu
99f726ff93
Fix MNIST examples ( #4632 )
2022-09-27 15:41:18 +08:00
Chang Liu
7f50a6da2e
[Example][Bugfix] Fix mlp example ( #4631 )
...
* Fix mlp example
* Remove unused file
2022-09-27 15:11:00 +08:00
Hongzhi (Steve), Chen
23d09057e3
[Misc] Black auto fix. ( #4642 )
...
* [Misc] Black auto fix.
* sort
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal >
2022-09-26 21:47:11 +08:00
Hongzhi (Steve), Chen
a9f2acf323
[Misc] Black auto fix. ( #4641 )
...
* [Misc] Black auto fix.
* sort
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal >
2022-09-26 21:46:32 +08:00
Chang Liu
533afa851e
[Example][Refactor] Graphsage link prediction example refactor ( #4526 )
...
* Refactor link pred example for graphsage
* Use ogb evaluator + README update
* Update
* Add comments
2022-09-23 16:45:32 +08:00
Tong He
33c8abb9f4
[Doc] Update Readme for example Hilander ( #4587 )
...
The example was updated in https://github.com/dmlc/dgl/pull/3972 but the README file was not. This PR updates it to reflect the correct environment requirement.
Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com >
2022-09-22 13:54:13 +08:00
Ereboas
92bff4d2bb
[Example] SEAL+NGNN for ogbl ( #4550 )
...
* Use black for formatting
* limit line width to 80 characters.
* Use a backslash instead of directly concatenating
* file structure adjustment.
* file structure adjustment(2)
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
2022-09-22 13:09:27 +08:00
YanJun-Zhao
ec4271bf87
[Example] Refactor GNNExplainer Example ( #4560 )
...
* debug
* debug
* readme
* fix readme
* fix readme
* Update
* Update
* update
* fix bug of syn2
Co-authored-by: Ubuntu <ubuntu@ip-172-31-9-26.ap-northeast-1.compute.internal >
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
2022-09-21 13:34:39 +08:00
Rhett Ying
1bc77c5e61
[examples]educe memory consumption ( #4558 )
...
* [examples]educe memory consumption
* reffine help message
* refine
2022-09-15 19:27:20 +08:00
Chang Liu
fce9614089
[Example][Refactor] Refactor graphsage multigpu and full-graph example ( #4430 )
...
* Add refactors for multi-gpu and full-graph example
* Fix format
* Update
* Update
* Update
2022-09-05 09:05:56 +08:00
rudongyu
b9290e8b2d
[Example] SEAL for OGBL ( #4291 )
...
* [Example] SEAL for OGBL
* update index
* update
* fix readme typo
* add seal sampler
* modify set ops
* prefetch
* efficiency test
* update
* optimize
* fix ScatterAdd dtype issue
* update sampler style
* update
Co-authored-by: Quan Gan <coin2028@hotmail.com >
2022-08-31 11:48:07 +08:00
Zhiteng Li
97b2ab53e2
[Example] directional_GSN for ogbg-molpcba ( #4405 )
...
* version-1
* version-2
* version-3
* update examples/README
* Update .gitignore
* update performance in README, delete scripts
* 1st approving review
* 2nd approving review
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
2022-08-26 15:37:54 +08:00
Chang Liu
40a2f3c760
[Example][Refactor] Refactor RGCN example ( #4327 )
...
* Refactor full graph entity classification
* Refactor rgcn with sampling
* README update
* Update
* Results update
* Respect default setting of self_loop=false in entity.py
* Update
* Update README
* Update for multi-gpu
* Update
2022-08-25 13:19:32 +08:00
peizhou001
d077d3719c
[EXAMPLE]Add multi gpu graph predication GIN+virtualnode example ( #4385 )
...
* add multigpu folder for related examples
2022-08-19 09:38:19 +08:00
Rhett Ying
e14860d9cc
[Example][Bug] fix device index for dist train on GPUs ( #4403 )
2022-08-18 13:00:21 +08:00
Ereboas
49c8179548
[Example] NGNN for ogbl ( #4328 )
...
* NGNN for ogbl
* modify doc organization.
* merge similar parts
* 1st approving review.
* minor changes
* Remove the "Usage" section.
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
2022-08-13 19:11:45 +08:00
YJ-Zhao
a88e7f7e28
[Example]rgcn-ogbn-mag ( #4331 )
...
* rgcn-ogbn-mag
* Add link in README.md
* correct code-format,add the reset_parameters function to the HeteroEmbedding module
* add the annotation in hetero.py
* add a unit test
* modify format
* Update
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
Co-authored-by: Ubuntu <ubuntu@ip-172-31-50-143.us-west-2.compute.internal >
2022-08-10 20:12:31 +08:00
Chang Liu
9a16a5e03d
[Example][Refactor] Refactor GIN example ( #4280 )
...
* Refactor GIN example
* Update
* Update README
* Minor update
* README update
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
2022-08-01 13:40:28 +08:00
Wey Gu
ee91863eb0
[Example] Fixed device type in GraphSAGE inference ( #4306 )
...
* Fixed device type in inference
* change buffer_device instead
2022-07-28 13:25:09 +08:00
Chang Liu
4f7972957b
[Bugfix] Fix dataloader pytorch cuda indexing ( #4297 )
...
* Modify to repro crash
* Revert to orig. scenario and add fix
* Update
Co-authored-by: Xin Yao <xiny@nvidia.com >
2022-07-26 16:59:58 +08:00
Chang Liu
6e1be69a84
[Example][Refactor] Refactor GAT example ( #4240 )
...
* Refactor gat example
* Add ppi support
* Minor update
* Update
* Update
* Change valid_xxx to val_xxx
* Readme Update
* Update
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
2022-07-22 16:48:46 +08:00
Tianyue Cao
05aca98d6a
[Example] Progressive Sample Selection (PSS). ( #4263 )
...
* upload PSS
* upload PSS
* upload PSS
* pss code reformat
* fix bug
* update README
* update train bash
* remove vit
* update README
* delete InfoPlotter
* delete Smooth_AP_loss.py
* update README
* update README
Co-authored-by: Tianjun Xiao <xiaotj1990327@gmail.com >
2022-07-21 08:08:33 +08:00
Chang Liu
701b746b82
[Example][Bugfix] graphsage node classification example ( #4260 )
...
* Fix node_classification.py
* Minor update
Co-authored-by: nv-dlasalle <63612878+nv-dlasalle@users.noreply.github.com >
2022-07-19 11:28:35 -07:00
Chang Liu
e26d206437
[Example][Bugfix] Fix link pred example in graphsage ( #4255 )
2022-07-14 08:30:51 +08:00
Chang Liu
c56e27a807
[Bugfix] Accessing data from the indexes stored in same device ( #4242 )
...
* First update to fix two examples
* Update to fix RGCN/graphsage example and dataloader
* Update
2022-07-13 09:02:07 +08:00
Xin Yao
3e26c3d198
fix caregnn ( #4211 )
...
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
2022-07-08 16:16:30 +08:00
Chang Liu
52d43127f7
[Example][Bugfix] Fix arma example ( #4218 )
...
* Fix arma example
* Update
Co-authored-by: Xin Yao <xiny@nvidia.com >
2022-07-08 12:25:21 +08:00
Chang Liu
28b0904779
[Example][Bugfix] Fix dimenet example ( #4219 )
...
Co-authored-by: Xin Yao <xiny@nvidia.com >
2022-07-07 14:52:10 +08:00
Chang Liu
0d1b2c5a2c
[Example] Update README file of eges example ( #4220 )
2022-07-07 09:14:40 +08:00
Chang Liu
885be1784b
[Example][Refactor] Refactor GCN example ( #4160 )
...
* Refactor GCN example
* Refactor GCN based on graphsage
* Readme update
* Minor update
* update
* Remove user-defined GCN implementation
* README update
* Update
* Update CONTRIBUTORS.md
* update task_example_test
Co-authored-by: Xin Yao <xiny@nvidia.com >
2022-07-05 15:58:31 +08:00
Chang Liu
0f0e7c7fad
[Example][Bugfix] Bugfix for dgi example ( #4201 )
2022-07-02 12:48:17 +08:00
Chang Liu
a9768cb38f
[Example][Refactor] Minor update on the golden example ( #4197 )
...
* minor update on golden example
* update
* update
* Update README
Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com >
2022-07-01 14:34:45 +08:00
Chang Liu
b76d0ed1db
[Example][Refactor] Regolden graphsage example for future guide ( #4186 )
...
* Regolden graphsage example to guide others
* update golden
* update
* Update example and propagate to original folder
* Update to remove ^M (windows DOS) character
* update
* Merge file changes and update README
* Minor comment update
Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com >
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
2022-06-30 21:56:13 +08:00
Chang Liu
a6bd96aa96
Fix example crashes due to DGL API update ( #4194 )
...
Co-authored-by: Xin Yao <xiny@nvidia.com >
2022-06-30 21:10:44 +08:00
Lucas Prieto
548c85fff6
[BugFix] Fix Correct&Smooth ( #4102 ) ( #4158 )
...
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
Co-authored-by: Xin Yao <xiny@nvidia.com >
2022-06-23 18:11:15 +08:00
Chang Liu
598d746e59
[Example][Bugfix] Remove all torchtext legacy-related APIs for pytorch/pinsage example ( #4130 )
...
* Remove all torchtext legacy-related APIs
* Remove unused BagOfWordsPretrained class, and fix some typos
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
2022-06-23 16:06:18 +08:00
Xin Yao
077e002fe5
[Bugfix][Rework] Automatically unpin tensors pinned by DGL (rework #3997 ) ( #4135 )
...
* Explicitly unpin tensoradapter allocated arrays
* Undo unrelated change
* Add unit test
* update unit test
* add pinned_by_dgl flag to NDArray::Container
* use dgl.ndarray for holding the pinning status
* update multi-gpu uva inference
* reinterpret cast NDArray::Container* to DLTensor* in MoveAsDLTensor
* update unpin column and examples
* add unit test for unpin column
Co-authored-by: Dominique LaSalle <dlasalle@nvidia.com >
Co-authored-by: nv-dlasalle <63612878+nv-dlasalle@users.noreply.github.com >
2022-06-23 13:56:54 +08:00
Chang Liu
549df65a77
[Bugfix] Fix example case: examples/pytorch/ogb/ogbn-proteins and examples/pytorch/ogb/ogbn-products ( #4080 )
...
* [Bugfix] Fix ogbn-gat-proteins/products examples
* Remove unused BatchSampler definition
* Remove comments to ease reading/reviewing
* Remove dataloader wrapper
2022-06-09 15:45:28 +08:00
Sai Kandregula
a3ea4873d3
[Example] Remove Bias in Linear layer because of BatchNorm1d usage ( #4071 )
...
* typo fix in TUDataset docs
* remove bias in Linear layer because of BatchNorm1d
Co-authored-by: decoherencer <decoherencer@users.noreply.github.com >
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
2022-06-04 17:16:20 +08:00
Chang Liu
d31448dd24
[Bugfix] Fix GCMC examples ( #4082 )
...
* [Example][Bug] Fix GCMC examples
* Revert the change of model.py from #74f01405
2022-06-04 11:19:33 +08:00
RecLusIve-F
0f2ff47de6
[Example] Add BGRL example ( #4077 )
...
* Add BGRL example
* Update README.md
* Update utils.py
* Update
* Update utils.py
2022-06-03 23:13:30 +08:00
Chang Liu
9e46423e4f
[Bugfix] Fix cluster-gat examples ( #4068 )
...
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
2022-06-02 21:39:59 +08:00
Mufei Li
bef993076e
[Bugfix] Fix PinSAGE Benchmark ( #4058 )
...
* Update
* Update
* Update dgl.data.rst
* CI
2022-05-28 00:31:57 +08:00
彭齐荣
d1124b7bef
[Example][BugFix] Fix Lightning GraphSAGE examples (dmlc#4046) ( #4053 )
2022-05-26 12:40:40 +08:00