Skip to content
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

Fix PointTransformerConv aggregation from mean to sum #5332

Merged
merged 3 commits into from
Sep 2, 2022

Conversation

saedrna
Copy link
Contributor

@saedrna saedrna commented Sep 1, 2022

The message in PointTransformerConv is already softmax, which sum to one. The aggregation should be add rather mean.

The message in PointTransformerConv is already softmax, which sum to one. The aggregation should be `add` rather `mean`.
@codecov
Copy link

codecov bot commented Sep 1, 2022

Codecov Report

Merging #5332 (7c869d3) into master (c18bced) will decrease coverage by 0.11%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #5332      +/-   ##
==========================================
- Coverage   83.37%   83.26%   -0.12%     
==========================================
  Files         338      338              
  Lines       18637    18637              
==========================================
- Hits        15539    15518      -21     
- Misses       3098     3119      +21     
Impacted Files Coverage Δ
torch_geometric/nn/conv/point_transformer_conv.py 100.00% <100.00%> (ø)
torch_geometric/utils/scatter.py 42.50% <0.00%> (-52.50%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@rusty1s rusty1s changed the title PointTransformerConv aggregation Fix PointTransformerConv aggregation from mean to sum Sep 2, 2022
Copy link
Member

@rusty1s rusty1s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing!

@rusty1s rusty1s added nn and removed 1 - Priority P1 labels Sep 2, 2022
@rusty1s rusty1s enabled auto-merge (squash) September 2, 2022 09:18
@rusty1s rusty1s merged commit 3c02604 into pyg-team:master Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants