-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Add basic augmentation methods #5548
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5548 +/- ##
==========================================
- Coverage 83.77% 83.75% -0.02%
==========================================
Files 346 347 +1
Lines 19070 19125 +55
==========================================
+ Hits 15975 16019 +44
- Misses 3095 3106 +11
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good mostly. Left some initial comments.
Co-authored-by: Jinu Sunil <jinu.sunil@gmail.com>
Co-authored-by: Jinu Sunil <jinu.sunil@gmail.com>
for more information, see https://pre-commit.ci
Co-authored-by: Jinu Sunil <jinu.sunil@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot.
Co-authored-by: Jinu Sunil <jinu.sunil@gmail.com>
Co-authored-by: Jinu Sunil <jinu.sunil@gmail.com>
Co-authored-by: Jinu Sunil <jinu.sunil@gmail.com>
Thank you @wsad1 for your feedback. Really helpful! |
Co-authored-by: Matthias Fey <matthias.fey@tu-dortmund.de>
Co-authored-by: Matthias Fey <matthias.fey@tu-dortmund.de>
Co-authored-by: Matthias Fey <matthias.fey@tu-dortmund.de>
Co-authored-by: Matthias Fey <matthias.fey@tu-dortmund.de>
Co-authored-by: Matthias Fey <matthias.fey@tu-dortmund.de>
Co-authored-by: Matthias Fey <matthias.fey@tu-dortmund.de>
Yeah it would be nice to mention it there. |
I don't think the failing tests are not related to this PR. Sorry about that. Will fix them soon. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome. Like it! Leave some minor comments.
Co-authored-by: Matthias Fey <matthias.fey@tu-dortmund.de>
Co-authored-by: Matthias Fey <matthias.fey@tu-dortmund.de>
Co-authored-by: Matthias Fey <matthias.fey@tu-dortmund.de>
Co-authored-by: Guohao Li <lightaime@gmail.com>
for more information, see https://pre-commit.ci
Co-authored-by: Matthias Fey <matthias.fey@tu-dortmund.de>
Co-authored-by: Matthias Fey <matthias.fey@tu-dortmund.de>
* add basic augmentation methods * doc-string * test * raises * Update torch_geometric/utils/augmentation.py Co-authored-by: Jinu Sunil <jinu.sunil@gmail.com> * Update torch_geometric/utils/augmentation.py Co-authored-by: Jinu Sunil <jinu.sunil@gmail.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update torch_geometric/utils/augmentation.py Co-authored-by: Jinu Sunil <jinu.sunil@gmail.com> * fix * Update torch_geometric/utils/augmentation.py Co-authored-by: Jinu Sunil <jinu.sunil@gmail.com> * Update test/utils/test_augmentation.py Co-authored-by: Jinu Sunil <jinu.sunil@gmail.com> * Update torch_geometric/utils/augmentation.py Co-authored-by: Jinu Sunil <jinu.sunil@gmail.com> * Update torch_geometric/utils/augmentation.py Co-authored-by: Matthias Fey <matthias.fey@tu-dortmund.de> * Update torch_geometric/utils/augmentation.py Co-authored-by: Matthias Fey <matthias.fey@tu-dortmund.de> * Update torch_geometric/utils/augmentation.py Co-authored-by: Matthias Fey <matthias.fey@tu-dortmund.de> * Update torch_geometric/utils/augmentation.py Co-authored-by: Matthias Fey <matthias.fey@tu-dortmund.de> * Update torch_geometric/utils/augmentation.py Co-authored-by: Matthias Fey <matthias.fey@tu-dortmund.de> * Update torch_geometric/utils/augmentation.py Co-authored-by: Matthias Fey <matthias.fey@tu-dortmund.de> * update * update test * changelog * update mask_feature * README * Update torch_geometric/utils/augmentation.py Co-authored-by: Matthias Fey <matthias.fey@tu-dortmund.de> * Update torch_geometric/utils/augmentation.py Co-authored-by: Matthias Fey <matthias.fey@tu-dortmund.de> * Update torch_geometric/utils/augmentation.py Co-authored-by: Matthias Fey <matthias.fey@tu-dortmund.de> * update * Update torch_geometric/utils/augmentation.py Co-authored-by: Guohao Li <lightaime@gmail.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * test * add fill_value * Update torch_geometric/utils/augmentation.py Co-authored-by: Matthias Fey <matthias.fey@tu-dortmund.de> * Update torch_geometric/utils/augmentation.py Co-authored-by: Matthias Fey <matthias.fey@tu-dortmund.de> * update * fix test Co-authored-by: Jinu Sunil <jinu.sunil@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Matthias Fey <matthias.fey@tu-dortmund.de> Co-authored-by: Guohao Li <lightaime@gmail.com>
This PR added some basic augmentation methods for graphs:
TODO:add doc-stringadd testLink to #5452