-
Notifications
You must be signed in to change notification settings - Fork 81
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
[Model] Implement CoGSL #170
Conversation
examples/cogsl/cogsl_trainer.py
Outdated
os.environ['TL_BACKEND'] = 'torch' | ||
|
||
import sys | ||
sys.path.insert(0, os.path.abspath('../../')) # adds path2gammagl to execute in command line. |
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.
Please remove the line 5 and line 6 as these are of no use.
|
||
|
||
# base | ||
class GCN_two(nn.Module): |
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.
Why there are GCN_one
and GCN_two
? Why not merge them together?
return out | ||
|
||
|
||
class GCN_two_ggl(nn.Module): |
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.
So, what is the difference between the GCN_two
and GCN_two_ggl
?
I think you may do the following things:
|
# Conflicts: # CONTRIBUTING.md # gammagl/models/__init__.py
No description provided.