-
Notifications
You must be signed in to change notification settings - Fork 3.6k
[Example] Add Pytorch Geometric Example #4568
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
115cc62
add example for Pytorch Geometric
tchaton cd595f4
remove hydra
tchaton d2500ce
add docstring
tchaton 3f68072
remove description
tchaton 2c054c0
rename folder
tchaton dd1093a
update script to not break test
tchaton ccbc95e
Merge branch 'master' into ecosystem_examples
tchaton 6145bd9
remove .lock
tchaton c0ca670
Merge branch 'master' into ecosystem_examples
tchaton ed8b9e0
Merge branch 'master' into ecosystem_examples
tchaton c5b8658
Merge branch 'ecosystem_examples' of https://github.com/PyTorchLightn…
tchaton e7747da
add Pytorch Geometric to doc
tchaton 3f0df39
add docstring at the begining
tchaton 291764c
add comments
tchaton 2e75321
Merge branch 'master' into ecosystem_examples
tchaton 366232d
Merge branch 'master' into ecosystem_examples
tchaton 8a5623e
Merge branch 'master' into ecosystem_examples
tchaton 83c9deb
Merge branch 'master' into ecosystem_examples
tchaton 9e58b36
Merge branch 'master' into ecosystem_examples
tchaton 8fd078e
Merge branch 'master' into ecosystem_examples
tchaton 5947123
Merge branch 'master' into ecosystem_examples
tchaton ea06b28
Merge branch 'master' into ecosystem_examples
tchaton 75cd4c4
Merge branch 'master' into ecosystem_examples
tchaton e653101
Merge branch 'master' into ecosystem_examples
tchaton 4a0a502
Merge branch 'master' into ecosystem_examples
tchaton 104e096
Merge branch 'master' into ecosystem_examples
tchaton 3de0cef
Merge branch 'master' into ecosystem_examples
tchaton 5739c3d
Update pl_examples/pytorch_ecosystem/pytorch_geometric/README.md
tchaton a0cded4
Update pl_examples/pytorch_ecosystem/pytorch_geometric/README.md
tchaton e990667
Update pl_examples/pytorch_ecosystem/pytorch_geometric/cora_dna.py
tchaton 860367d
Merge branch 'master' into ecosystem_examples
tchaton e0679e7
Merge branch 'master' into ecosystem_examples
tchaton 3ab225b
add toml
Borda 1477eb0
Merge branch 'master' into ecosystem_examples
tchaton File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| Pytorch Ecosystem Examples | ||
| ========================== | ||
|
|
||
| - `Pytorch Geometric: Deep learning on Graphs and other irregular structures <https://github.com/PyTorchLightning/pytorch-lightning/tree/master/pl_examples/pytorch_ecosystem/pytorch_geometric/README.md>`_. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| # [Pytorch Geometric](https://github.com/rusty1s/pytorch_geometric) examples with Lighting | ||
|
|
||
| ### Introduction | ||
|
|
||
| PyTorch Geometric (PyG) is a geometric deep learning extension library for PyTorch. It relies on lower level libraries such as | ||
|
|
||
| * PyTorch Cluster: A package consists of a small extension library of highly optimized graph cluster algorithms in Pytorch | ||
| * PyTorch Sparse: A package consists of a small extension library of optimized sparse matrix operations with autograd support in Pytorch | ||
| * PyTorch Scatter: A package consists of a small extension library of highly optimized sparse update (scatter and segment) operations for the use in PyTorch | ||
|
|
||
| ## Setup | ||
|
|
||
| ``` | ||
| pyenv install 3.7.8 | ||
| pyenv local 3.7.8 | ||
| python -m venv | ||
| source .venv/bin/activate | ||
| poetry install | ||
| ``` | ||
|
|
||
| Run example | ||
|
|
||
| ``` | ||
| python cora_dna.py | ||
| ``` | ||
|
|
||
| ## Current example lists | ||
|
|
||
| | `DATASET` | `MODEL` | `TASK` | DATASET DESCRIPTION | MODEL DESCRIPTION | | | ||
| | :---: | :---: | :---: | :---: | :---: | :---: | | ||
| | Cora | DNA | Node Classification | The citation network datasets "Cora", "CiteSeer" and "PubMed" from the "Revisiting Semi-Supervised Learning with Graph Embeddings" <https://arxiv.org/abs/1603.08861> | The dynamic neighborhood aggregation operator from the "Just Jump: Towards Dynamic Neighborhood Aggregation in Graph Neural Networks" | ||
|
|
||
|
|
||
| ## DATASET SIZES | ||
|
|
||
| ``` | ||
| 16M ./cora | ||
| ``` | ||
Empty file.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.