-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Test rsgcn #146
Test rsgcn #146
Conversation
Codecov Report
@@ Coverage Diff @@
## master #146 +/- ##
==========================================
+ Coverage 75.44% 76.82% +1.38%
==========================================
Files 77 78 +1
Lines 3213 3271 +58
==========================================
+ Hits 2424 2513 +89
+ Misses 789 758 -31 |
tests/models_tests/test_rsgcn.py
Outdated
).astype(numpy.int32) | ||
# adj_data = numpy.random.randint( | ||
# 0, high=2, size=(batch_size, atom_size, atom_size) | ||
# ).astype(numpy.float32) |
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.
Remove unused code.
tests/models_tests/test_rsgcn.py
Outdated
0, high=1, size=(batch_size, atom_size, atom_size) | ||
).astype(numpy.float32) | ||
adj_data = adj_data + adj_data.swapaxes(-1, -2) | ||
# adj_data = (adj_data > 1.5).astype(numpy.float32) |
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.
Remove unused code.
Regarding stochastic behavior of |
Is this change enough? |
Regarding my previous comment, it is OK to me to focus on deterministic behavior of dropout in another PR. |
Could you merge if there is no request changes? |
Example tests passed. |
I created #153 for the dropout issue. |
dropout_ratio
attribute to control dropout ratio in RSGCN.