Tianyi
cdbeb17f2d
[Model] Simplifying Graph Convolutional Networks. ( #405 )
...
* [Model] Simplifying Graph Convolutional Networks.
* - improve code stype (use nn.Linear)
- use `bias` option
- update hyperparameter and corresponding performance
2019-02-22 15:17:26 +08:00
Hao Zhang
98ff82e527
[Doc] Tutorial for GAT ( #400 )
...
* 9_gat.py
* readme
* Update 9_gat.py
* Update 9_gat.py
* fix format
2019-02-20 22:50:55 -05:00
Zihao Ye
bfe3e9d64a
[Feature] Add switch readonly state interface ( #389 )
...
* fix rgcn tutorial
* small fix
* add switch readonly state interface
* remove trailing ws
* fix
* fix
* change signature
* change signature
* remove trailing ws
* upd
* upd interface
* upd
* rm trailing ws
* reformat
* trailing space
* upd
2019-02-20 18:51:56 -05:00
Da Zheng
111a4aa754
[Bugfix] Fix the SSE tutorial in CI. ( #401 )
...
* fix.
* add check.
* fix assert.
2019-02-20 14:55:18 -08:00
Quan (Andy) Gan
6e7f3f3d24
Find OpenMP in CMake ( #402 )
2019-02-20 17:00:15 -05:00
VoVAllen
bd9171d6cd
[Doc Fix] Fix group_apply_edges docs display
2019-02-21 00:19:39 +08:00
Quan (Andy) Gan
2e1cbd5d68
[Feature] Random walk traces generation ( #392 )
...
* random walk traces generation
* remove outdated comments
* oops put in the wrong place
* explicit inline
* moving rand_r to util
* moving random walk to public function
* per-thread seed and openmp support
* type cast styles
2019-02-20 10:41:59 -05:00
Da Zheng
f370e628cd
[Feature] add NodeFlow API ( #361 )
...
* sample layer subgraphs.
* fix.
* fix.
* add layered subgraph.
* fix lint.
* fix.
* fix tutorial.
* fix.
* remove copy_to_parent.
* add num_layers
* move sampling code to sampler.cc
* fix.
* move subgraph construction out.
* Revert "move subgraph construction out."
This reverts commit 24b3d13b0d8ed5f91847ea75a7674ee8f7d45cff.
* change to NodeFlow.
* use NodeFlow in Python.
* use NodeFlowIndex.
* add node_mapping and edge_mapping.
* remove unnecessary code in SSE tutorial.
* Revert "remove unnecessary code in SSE tutorial."
This reverts commit 093f0413d5fa2e63ca5f80c46c80a126a9fb720c.
* fix tutorial.
* move to node_flow.
* update gcn cv updater.
* import NodeFlow.
* update.
* add demo code for vanilla control variate sampler.
* update.
* update.
* add neighbor sampling.
* return flow offsets.
* update node_flow.
* add test.
* fix sampler.
* fix graph index.
* fix a bug in sampler.
* fix map_to_layer_nid and map_to_flow_eid.
* fix apply_flow.
* remove model code.
* implement flow_compute.
* fix a bug.
* reverse the csr physically.
* add mini-batch test.
* add mini batch test.
* update flow_compute.
* add prop_flows
* run on specific nodes.
* test copy
* fix a bug in creating frame in NodeFlow.
* add init gcn_cv_updater.
* fix a minor bug.
* fix gcn_cv_updater.
* fix a bug.
* fix a bug in NodeFlow.
* use new h in gcn_cv_updater.
* add layer_in_degree and layer_out_degree.
* fix gcn_cv_updater for gpu.
* temp fix in NodeFlow for diff context.
* allow enabling/disabling copy back.
* add with-updater option.
* fix a bug in computing degree.
* add with-cv option.
* rename and add comments.
* fix lint complain.
* fix lint.
* avoid assert.
* remove assert.
* fix.
* fix.
* fix.
* fix.
* fix the methods in NodeFlow.
* fix lint.
* update SSE.
* remove gcn_cv_updater.
* correct comments for the schedulers.
* update comment.
* add map_to_nodeflow_nid
* address comment.
* remove duplicated test.
* fix int.
* fix comments.
* fix lint
* fix.
* replace subgraph with NodeFlow.
* move view.
* address comments.
* fix lint.
* fix lint.
* remove static_cast.
* fix docstring.
* fix comments.
* break SampleSubgraph.
* move neighbor sampling to sampler.cc
* fix comments.
* rename.
* split neighbor_list.
* address comments.
* fix.
* remove TODO.
2019-02-19 15:49:28 -08:00
Quan (Andy) Gan
220a1e68fb
[BUG] Fixing bug in pickling readonly graphs ( #397 )
...
* fixing bug in pickling readonly graphs
* multigraph test coverage
* fixing lint (??????)
* another lint
* is_readonly interface
2019-02-19 00:14:11 -05:00
Hao Zhang
788d8dd4ad
[Model]PPI dataloader and inductive learning script. ( #395 )
...
* Create ppi.py
* Create train_ppi.py
* Update train_ppi.py
* Update train_ppi.py
* Create gat.py
* Update train.py
* Update train_ppi.py
* Update ppi.py
* Update train_ppi.py
* Update ppi.py
* Update train_ppi.py
* Update train_ppi.py
* Update ppi.py
* Update train_ppi.py
* update docs and readme
2019-02-17 16:41:30 -05:00
Zihao Ye
1ea0bcf486
[Model] fix link & beam search ( #394 )
2019-02-17 13:32:36 -05:00
Zihao Ye
ae1806f651
[Bugfix] RGCN tutorial ( #388 )
...
* fix rgcn tutorial
* small fix
* upd
2019-02-15 11:14:56 +08:00
Quan (Andy) Gan
59ec7a9c93
MSBuild instructions ( #393 )
2019-02-14 11:56:32 -05:00
Lingfan Yu
40afdf7cd5
[Bugfix] Remove unnecessary assert in from_scipy_sparse_matrix ( #391 )
2019-02-13 17:45:22 -05:00
Minjie Wang
91b7382378
[Model] update gat ( #390 )
...
* update gat: add minus max for softmax
* small fix
2019-02-13 14:53:41 -05:00
Giuseppe Futia
6c3dba867a
[Tutorial] Update prerequisites of README ( #380 )
...
* Update prerequisites of README
* dependencies for pytorch models
* dependencies for mxnet models
* minor
2019-02-11 22:58:17 -05:00
Lingfan Yu
29dd22e666
[Model] Support Multi-GPU for Transformer model ( #356 )
...
* multi-process version of transformer
* lots of fix
* fix bugs and accum gradients for multiple batches
* many fixes
* minor
* upd
* set torch device
* fix bugs
* fix and minor
* comments and clean up
* uncomment viz code
2019-02-11 20:17:45 -05:00
hbsun2113
1c63dd4f52
[Doc] fix the comment error of edge_id in graph.h ( #382 )
2019-02-11 13:14:47 -05:00
Ziyue Huang
51293a3273
[Data] reddit data loader ( #372 )
...
* reddit data loader
* upload to S3
* update
* add self loop
* address comments
* fi
2019-02-08 10:53:39 -08:00
VoVAllen
5b9147c464
[Feature] Edge Group Apply API ( #358 )
...
* add rtfd
* rrr
* update
* change env
* temp fix
* update
* fix
* fix
* add
* conf
* Move file_pattern from Makefile to conf.py
* remove yml
* fix
* fix
* fix
* fix
* remove yml
* remove yml
* add doc docker
* add dgl install script
* change name
* change dockerfile
* fix
* name
* add
* fix
* fix
* fix
* fix
* fix docker
* delete sphinx.py for doc-build backend
* Add softmax to test backend
* Add group apply function and tests
* Delete unnecessary file
* Update comments and test
* Fix lint
* remove unused bucketing code
* group apply edge bucketing code
* gen degree bucket schedule for group apply edge
* schedule and graph code
* fix compiling
* fix
* fix lint
* naming
* harder test case
* fix comments
* more comments
* tweak function name
2019-02-03 11:14:52 -05:00
Da Zheng
9cd0df7dde
[Doc] Update README in MXNet GCN. ( #373 )
...
* update readme.
* Revert "update readme."
This reverts commit cd5ea512059adadfcb22a615a2c42bba12f334a8.
* update.
2019-02-02 21:59:07 -08:00
Quan (Andy) Gan
12d706300c
[Hotfix] fixing zero shaped tensor problems for PyTorch 1.0.0 in JTNN example ( #371 )
2019-01-31 21:07:09 -05:00
Mufei Li
dedfd908c6
[Fix] Fix link in batched graph blog ( #367 )
2019-01-26 11:04:05 -05:00
VoVAllen
1989f8f43c
fix broken link ( #366 )
2019-01-26 23:17:55 +08:00
Mufei Li
3cbfc25a32
[Tutorial] Batched Graph Classification ( #360 )
...
* batched_graph_classification
* Fix
* Fix
* update tutorial with new dataset
* Final
* Fix doc for dataset
* small fix
2019-01-25 15:13:52 -05:00
Minjie Wang
abf12fc757
[Data] Synthetic dataset for graph classificaiton ( #364 )
...
* minigc dataset
* more comments
* sphinx
2019-01-25 10:47:47 -05:00
Totti97
525bb61245
[Doc] Fix a typo ( #365 )
2019-01-25 10:41:37 -05:00
Chao Ma
646d1ab186
[Bugfix] 'const size_t' (aka 'const unsigned long') is ambiguous on MacOS ( #363 )
...
[Bugfix] 'const size_t' (aka 'const unsigned long') is ambiguous on MacOS
2019-01-24 11:25:01 -05:00
GaiYu0
fea5579a50
[GraphIndex][Fix] signed and unsigned integer conversion ( #359 )
...
* signed and unsigned integer conversion
* replace long with uint64_t
* replace uint64_t with int64_t
* including cmath; gcc 8 crashes otherwise
2019-01-21 10:56:55 +08:00
Da Zheng
929742b588
[Feature] Reimplement Immutable graph index in DGL ( #342 )
...
* init.
* it's compiled.
* add immutable graph constructor.
* add immutable graph API.
* fix.
* impl get adjacency matrix.
* fix.
* fix graph_index from scipy matrix.
* add neighbor sampling.
* remap vertex ids.
* fix.
* move sampler test.
* fix tests.
* add comments
* remove mxnet-specific immutable graph.
* fix.
* fix lint.
* fix.
* try to fix windows compile error.
* fix.
* fix.
* add test.
* unify Graph and ImmutableGraph.
* fix bugs.
* fix compile.
* move immutable graph.
* fix.
* remove print.
* fix lint.
* fix
* fix lint.
* fix lint.
* fix test.
* fix comments.
* merge GraphIndex and ImmutableGraphIndex.
* temp fix.
* impl GetAdj.
* fix lint
* fix.
* fix.
* fix.
* fix.
* fix.
* use csr only for readonly graph.
* Revert "use csr only for readonly graph."
This reverts commit 8e24bb033af8504531b22849de5b7567b168e0d5.
* remove code.
* fix.
* fix.
* fix.
* fix.
* fix.
* fix.
* address comments.
* fix for comments.
* fix comments.
* revert.
* move test_graph_index to compute.
* fix.
* fix.
* impl GetAdj for coo.
* fix.
* fix tests.
* address comments.
* address comments.
* fix comment.
* address comments.
* use lambda.
* other comments.
* address comments.
* modify the semantics of edges.
* fix order.
* use DGLIdIter
* fix.
* remove NotImplemented.
* revert some code.
2019-01-17 09:59:53 +08:00
Lingfan Yu
ed1948b555
[BugFix] Make program thread-local to support multi-threading ( #338 )
...
* make program thread local
* doc string
2019-01-12 22:04:08 -05:00
VoVAllen
19e1b14031
[Docs] Move file_pattern option from Makefile to conf.py ( #352 )
...
* add rtfd
* rrr
* update
* change env
* temp fix
* update
* fix
* fix
* add
* conf
* Move file_pattern from Makefile to conf.py
* remove yml
* fix
* fix
* fix
* fix
* remove yml
* remove yml
* add doc docker
* add dgl install script
* change name
* change dockerfile
* fix
* name
* add
* fix
* fix
* fix
* fix
* add doc-build files
* remove unnecessary import os
2019-01-12 09:51:50 -05:00
Minjie Wang
ddc2faa547
[Bugfix] Fix gat residual bug ( #355 )
...
* fix gat residual bug
* fix the residual addition; output heads; add some shape notations;
* minor
* fix the output head average
* add requests package in requirement
2019-01-12 08:37:01 -05:00
Minjie Wang
efae0f97d8
[Model] Improve GAT models ( #348 )
...
* two better GAT implementations
* update numbers
* use version switch for spmm
* add missing dropout and output heads
2019-01-11 02:02:06 -05:00
Mufei Li
3a868eb04b
[Feature] Max readout and consecutive labeling for networkx ( #341 )
...
* Max readout and consecutive labeling
* Delete test_readout.py
* Delete test_basics.py
* Test case and fix
* Recover accidentally removed file
* Fix import order
* Fix test case
* Fix
* Fix
* Fix
* Fix
* Fix
* revert
* Fix
* Fix
* Fix
2019-01-10 12:58:05 -05:00
brett koonce
707334ce85
minor spelling tweaks ( #349 )
...
* minor spelling tweaks
* Update CONTRIBUTORS.md
2019-01-10 12:02:31 -05:00
Minjie Wang
192bd952de
[Doc] fix broken link in doc ( #344 )
2019-01-07 17:51:36 -05:00
Minjie Wang
b5afaeac65
[CI] Small change on the MX CPU image ( #343 )
2019-01-07 15:59:34 -05:00
Quan (Andy) Gan
e19cd62ecd
[Test] Unify tests for different backends ( #333 )
...
* test basics
* batched graph & filter, mxnet filter fix
* frame and function; bugfix
* test graph adj and inc matrices
* fixing start = 0 for mxnet
* test index
* inplace update & line graph
* multi send recv
* more tests
* oops
* more tests
* removing old test files; readonly graphs for mxnet still kept
* modifying test scripts
* adding a placeholder for pytorch to reserve directory
* torch 0.4.1 compat fixes
* moving backend out of compute to avoid nose detection
* tests guide
* mx sparse-to-dense/sparse-to-numpy is buggy
* oops
* contribution guide for unit tests
* printing incmat
* printing dlpack
* small push
* typo
* fixing duplicate entries that causes undefined behavior
* move equal comparison to backend
2019-01-05 23:32:33 -05:00
Minjie Wang
3edcaa1ed6
[Doc] small fix on the doc ref ( #337 )
2019-01-04 17:10:42 -05:00
Minjie Wang
6f9ae8d61e
[Doc] main doc page update and contribute guide ( #336 )
...
* reorg the doc mainpage
* contribute guide
2019-01-04 17:02:37 -05:00
Mufei Li
24bbdb745e
[Feature] Reversed Graph and Transform Module ( #331 )
...
* reverse a graph
* Reverse a graph
* Fix
* Revert "Fix"
This reverts commit 1728826b4f3a083b76dfc0fdecd2bbf943a971b2.
* Fix
* Fix
* Delete vcs.xml
* Delete Project_Default.xml
* Fix
* Fix
* Fix
* Remove outdated test
* Reorg transform and update reverse (#2 )
* Reorg transform and update reverse
* Fix doc and test
* Update test
* Resolve conflict
* CI oriented fix
* Remove outdated import
* Fix import
* Fix import
* define __all__ for wildcard imports
* Fix import
* Address circular imports
* Fix
* Fix test case
* Fix
* Fix
* Remove unused import
* Fix
* Fix
* Fix
2019-01-04 13:51:19 -05:00
Minjie Wang
4bd4d6e348
[Lint] Pylint ( #330 )
...
* fix lint for graph_index.py
* pylint for base.py
* pylint for batched_graph.py
* pylint for frame.py; simplify and fix bugs in frame when index is slice type
* pylint for graph.py
* pylint for immutable_graph_index.py
* pylint for init.py
* pylint for rest files in root package
* pylint for _ffi package
* pylint for function package
* pylint for runtime package
* pylint for runtime.ir package
* add pylint to ci
* fix mx tests
* fix lint errors
* fix ci
* fix as requested
* fix lint
2019-01-01 15:15:41 -05:00
Sheng Zha
1e50cd2eda
[Model][MXNet] MXNet Tree LSTM example ( #279 )
...
* TreeLSTM MXNet example
* hybridize
* add glove download
* usability
* Update README.md
2018-12-27 10:57:23 +08:00
Aston Zhang
534ea8c970
[Doc] Update index.rst ( #328 )
2018-12-26 19:29:00 -05:00
Aston Zhang
a63c335134
[DOC] provide supplementary resources ( #326 )
...
* provide supplementary resources
We encourage DL beginners to check out DGL project by providing links on both English and Chinese README :)
https://github.com/diveintodeeplearning/d2l-zh/blob/master/README.md
https://github.com/diveintodeeplearning/d2l-en/blob/master/README.md
* Update README.md
2018-12-26 16:21:25 +08:00
Aston Zhang
97a7dd11b2
Update README.txt ( #327 )
2018-12-26 16:07:19 +08:00
Lingfan Yu
2664ed2dff
[Bugfix] Fix multiple send recv ( #320 )
...
* fix bug: frame append should check itself
* more test case
* fix multi-send-recv bug
* remv msg graph and clean up
* test cases
* more test case
* fix for batchedgraph
* fix bugs: converting from a graph with edges
* fix
* add more operators to utils.Index
* clear frame executor
* change message indicator to a graph level index
* fix test cases
* guard the case that mxnet does not support concat zero shape tensor
* fix bug: avoid convert full slice to numpy
* test multi-send-recv after conversion
* fix as request (partially)
* add dtype, ctx to full_1d
* add slice data to utils.Index
* fix
* more doc string
* fix as requested
2018-12-23 21:35:49 -05:00
Hao Zhang
896dc50e70
[Model] fix bugs in pygat and mxgat. ( #323 )
...
* mxgat
* pygat
* Update gat_batch.py
* add train
* Update gat_batch.py
* Update gat.py
* Update gat_batch.py
2018-12-23 20:45:25 -05:00
Quan (Andy) Gan
75e2af7993
[CI] Jenkins on Windows builds ( #324 )
...
* Jenkins build & test on Windows
* oops
* still running nohup on Windows slaves
* ooops again
* squishing vcvars and cmake
* another try
* reverting back
* --user
* switching to msbuild
* made the graph size in cache testing bigger
* put commands into script files
* oooops
2018-12-22 00:39:29 -05:00