-
Notifications
You must be signed in to change notification settings - Fork 132
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
Chainer graph #398
Chainer graph #398
Conversation
still use PaddingGraphDataset for network padding pattern
624f732
to
5ec8919
Compare
device=-1, | ||
converter=None, | ||
use_default_extensions=True, | ||
resume_path=None): |
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.
MEMO. TODO (nakago) later: check again. can't we merge to run_train?
updated comment |
1 similar comment
updated comment |
Thank you! LGTM. I will check to run example later! |
Codecov Report
@@ Coverage Diff @@
## master #398 +/- ##
==========================================
- Coverage 91.22% 84.41% -6.82%
==========================================
Files 229 234 +5
Lines 11049 11449 +400
==========================================
- Hits 10080 9665 -415
- Misses 969 1784 +815 |
@knshnb |
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.
LGTM!! I checked cora
, citeseer
, and reddit
learning works (I did not check whether the accuracy is comparable to paper yet though...).
todo later.
Memo: I'd like to modify dataset methods to handle dirpath using os.path.join
so that it works with/without /
at last.
|
||
On the GPU: | ||
```angular2html | ||
PYTHONPATH=. python examples/network_graph/train_network_graph.py --dataset cora |
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.
I will add --device 0
later.
On the GPU: | ||
```angular2html | ||
PYTHONPATH=. python examples/network_graph/train_network_graph.py --dataset cora | ||
``` |
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.
todo later: I'd like to modify running this script from examples/network_graph
instead of top directory.
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.
todo later: I'd like to add --coo
option explanation, which is necessary to run reddit dataset.
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.
todo later: it seems gin_sparse
and coo=true
combination is not supported.
reddit dataset only works with --method gin and --coo true.
New features
Dataset class
NumpyTupleDataset
PaddingGraphDataset
SparseGraphDataset
SparseGraphDataset
PaddingGraphDataset (use_coo=True)