Songqing Zhang
9711d75fda
[Misc] Simplify the data path's assignment in python utils ( #6058 )
...
Co-authored-by: Hongzhi (Steve), Chen <chenhongzhi.nkcs@gmail.com >
2023-08-02 12:43:13 +08:00
Hongzhi (Steve), Chen
89b321b847
[Misc] Rename number_of_edges and number_of_nodes to num_edges and num_nodes. ( #5488 )
...
* nn-only
* data-only
---------
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal >
2023-03-28 12:58:54 +08:00
Hongzhi (Steve), Chen
ab812179a3
[Misc] Auto reformat data/. ( #5318 )
...
* data
* lintrunner
---------
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal >
2023-02-19 22:50:55 +08:00
Sai Kandregula
c9c79b4401
typo fix in TUDataset docs ( #4056 )
...
Co-authored-by: decoherencer <decoherencer@users.noreply.github.com >
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
2022-06-03 13:29:32 +08:00
Mufei Li
d9c25521bc
[Data] AsGraphPredDataset ( #4073 )
...
* Update
* CI
* Update
* Update
* Fix
* Fix
2022-06-02 16:18:48 +08:00
Mufei Li
8b8fd2c0be
[Dataset] Add transform argument to built-in datasets ( #3733 )
...
* Update
* Fix
* Update
2022-02-15 16:45:47 +08:00
esang
a7b5085a5d
Add a note about the order of TUDataset ( #3549 )
2021-11-28 00:12:29 +08:00
Quan (Andy) Gan
7823ae2dbb
add TUDataset notice ( #3075 )
...
Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com >
2021-06-30 14:22:45 +08:00
Jinjing Zhou
a303f07819
fix #2952 ( #3010 )
2021-06-14 15:09:14 +08:00
Xiangkun Hu
b49cd0952f
[Bugfix] Fix feature type of 'ENZYMES' in TUDataset ( #2800 )
...
* PPIDataset
* Revert "PPIDataset"
This reverts commit 264bd0c960cfa698a7bb946dad132bf52c2d0c8a.
* Hide implementations that may cause confusions to the user
* fix number of classes in Amazon Cobuy datasets
* add four papers
* fix feature type of TU dataset
* fix readme
* remove commented codes
Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com >
2021-04-01 14:36:55 +08:00
Mufei Li
b1840f49fa
[Dataset] Change the Data Type of the Node Features in GINDataset/TUDataset from Float64 to Float32 ( #2592 )
...
* Update
* Update
* Update
* update
Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com >
Co-authored-by: Tong He <hetong007@gmail.com >
2021-02-03 21:00:45 +08:00
张天启
9a9a06eb2f
[Bug Fix] Fix undefined var bug in LegacyTUDataset ( #2543 )
...
* [Bug Fix] Fix undefined var bug in LegacyTUDataset
* upt
* [Bug Fix] Fix cache file name bug in TUDataset
Co-authored-by: Tong He <hetong007@gmail.com >
2021-01-19 13:58:01 +08:00
Henry Kenlay
8a227bfa03
[Bugfix] fix TUDataset labelling issue ( #2165 ) ( #2173 )
...
* [Bugfix] fix TUDataset labelling issue (#2165 )
* [Bugfix] fix TUDataset labelling issue (dmlc#2165)
* update docstring according to discussion
Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com >
Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com >
2020-09-11 17:05:24 +08:00
xiang song(charlie.song)
0cf99be378
hotfix ( #2163 )
...
Co-authored-by: Ubuntu <ubuntu@ip-172-31-56-220.ec2.internal >
2020-09-09 11:00:31 +08:00
Tong He
83654fdc4e
fix tu dataset ( #2064 )
2020-08-19 18:25:56 +08:00
Mufei Li
be444e52d9
[Doc/Feature] Refactor, doc update and behavior fix for graphs ( #1983 )
...
* Update graph
* Fix for dgl.graph
* from_scipy
* Replace canonical_etypes with relations
* from_networkx
* Update for hetero_from_relations
* Roll back the change of canonical_etypes to relations
* heterograph
* bipartite
* Update doc
* Fix lint
* Fix lint
* Fix test cases
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* Update
* Fix test
* Fix
* Update
* Use DGLError
* Update
* Update
* Update
* Update
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* Update
* Fix
* Update
* Fix
* Fix
* Fix
* Update
* Fix
* Update
* Fix
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Fix
* Fix
* Update
* Update
* Update
* Update
* Update
* Update
* rewrite sanity checks
* delete unnecessary checks
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Fix
* Update
* Update
* Update
* Fix
* Fix
* Fix
* Update
* Fix
* Update
* Fix
* Fix
* Update
* Fix
* Update
* Fix
Co-authored-by: xiang song(charlie.song) <classicxsong@gmail.com >
Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com >
Co-authored-by: Quan Gan <coin2028@hotmail.com >
2020-08-18 04:26:29 +08:00
Tong He
967ecb8064
[Dataset] Fix the docstring format for dgl.data section ( #1941 )
...
* PPIDataset
* Revert "PPIDataset"
This reverts commit 264bd0c960cfa698a7bb946dad132bf52c2d0c8a.
* update data rst
* update data doc and docstring
* API doc rst for dataset
* docstring
* update api doc
* add url format
* update docstring
* update citation graph
* update knowledge graph
* update gc datasets
* fix index
* Rst fix (#3 )
* Fix syntax
* syntax
* update docstring
* update doc (#4 )
* final update
* fix rdflib
* fix rdf
Co-authored-by: HuXiangkun <huxk_hit@qq.com >
Co-authored-by: Ubuntu <ubuntu@ip-172-31-51-214.ec2.internal >
Co-authored-by: xiang song(charlie.song) <classicxsong@gmail.com >
2020-08-06 14:47:49 +08:00
Tong He
39ed096630
[Dataset] Builtin LegacyTUDataset and TUDataset ( #1891 )
...
* add LegacyTUDataset and TUDataset
* update docstrings and url
* update docstrings
* add hash to fix save/load
* update docstring and use hash
Co-authored-by: xiang song(charlie.song) <classicxsong@gmail.com >
2020-08-03 14:40:36 +08:00
Minjie Wang
44089c8b4d
[Refactor][Graph] Merge DGLGraph and DGLHeteroGraph ( #1862 )
...
* Merge
* [Graph][CUDA] Graph on GPU and many refactoring (#1791 )
* change edge_ids behavior and C++ impl
* fix unittests; remove utils.Index in edge_id
* pass mx and th tests
* pass tf test
* add aten::Scatter_
* Add nonzero; impl CSRGetDataAndIndices/CSRSliceMatrix
* CSRGetData and CSRGetDataAndIndices passed tests
* CSRSliceMatrix basic tests
* fix bug in empty slice
* CUDA CSRHasDuplicate
* has_node; has_edge_between
* predecessors, successors
* deprecate send/recv; fix send_and_recv
* deprecate send/recv; fix send_and_recv
* in_edges; out_edges; all_edges; apply_edges
* in deg/out deg
* subgraph/edge_subgraph
* adj
* in_subgraph/out_subgraph
* sample neighbors
* set/get_n/e_repr
* wip: working on refactoring all idtypes
* pass ndata/edata tests on gpu
* fix
* stash
* workaround nonzero issue
* stash
* nx conversion
* test_hetero_basics except update routines
* test_update_routines
* test_hetero_basics for pytorch
* more fixes
* WIP: flatten graph
* wip: flatten
* test_flatten
* test_to_device
* fix bug in to_homo
* fix bug in CSRSliceMatrix
* pass subgraph test
* fix send_and_recv
* fix filter
* test_heterograph
* passed all pytorch tests
* fix mx unittest
* fix pytorch test_nn
* fix all unittests for PyTorch
* passed all mxnet tests
* lint
* fix tf nn test
* pass all tf tests
* lint
* lint
* change deprecation
* try fix compile
* lint
* update METIDS
* fix utest
* fix
* fix utests
* try debug
* revert
* small fix
* fix utests
* upd
* upd
* upd
* fix
* upd
* upd
* upd
* upd
* upd
* trigger
* +1s
* [kernel] Use heterograph index instead of unitgraph index (#1813 )
* upd
* upd
* upd
* fix
* upd
* upd
* upd
* upd
* upd
* trigger
* +1s
* [Graph] Mutation for Heterograph (#1818 )
* mutation add_nodes and add_edges
* Add support for remove_edges, remove_nodes, add_selfloop, remove_selfloop
* Fix
Co-authored-by: Ubuntu <ubuntu@ip-172-31-51-214.ec2.internal >
* upd
* upd
* upd
* fix
* [Transfom] Mutable transform (#1833 )
* add nodesy
* All three
* Fix
* lint
* Add some test case
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* fix
* triger
* Fix
* fix
Co-authored-by: Ubuntu <ubuntu@ip-172-31-51-214.ec2.internal >
* [Graph] Migrate Batch & Readout module to heterograph (#1836 )
* dgl.batch
* unbatch
* fix to device
* reduce readout; segment reduce
* change batch_num_nodes|edges to function
* reduce readout/ softmax
* broadcast
* topk
* fix
* fix tf and mx
* fix some ci
* fix batch but unbatch differently
* new checkk
* upd
* upd
* upd
* idtype behavior; code reorg
* idtype behavior; code reorg
* wip: test_basics
* pass test_basics
* WIP: from nx/ to nx
* missing files
* upd
* pass test_basics:test_nx_conversion
* Fix test
* Fix inplace update
* WIP: fixing tests
* upd
* pass test_transform cpu
* pass gpu test_transform
* pass test_batched_graph
* GPU graph auto cast to int32
* missing file
* stash
* WIP: rgcn-hetero
* Fix two datasety
* upd
* weird
* Fix capsuley
* fuck you
* fuck matthias
* Fix dgmg
* fix bug in block degrees; pass rgcn-hetero
* rgcn
* gat and diffpool fix
also fix ppi and tu dataset
* Tree LSTM
* pointcloud
* rrn; wip: sgc
* resolve conflicts
* upd
* sgc and reddit dataset
* upd
* Fix deepwalk, gindt and gcn
* fix datasets and sign
* optimization
* optimization
* upd
* upd
* Fix GIN
* fix bug in add_nodes add_edges; tagcn
* adaptive sampling and gcmc
* upd
* upd
* fix geometric
* fix
* metapath2vec
* fix agnn
* fix pickling problem of block
* fix utests
* miss file
* linegraph
* upd
* upd
* upd
* graphsage
* stgcn_wave
* fix hgt
* on unittests
* Fix transformer
* Fix HAN
* passed pytorch unittests
* lint
* fix
* Fix cluster gcn
* cluster-gcn is ready
* on fixing block related codes
* 2nd order derivative
* Revert "2nd order derivative"
This reverts commit 523bf6c249bee61b51b1ad1babf42aad4167f206.
* passed torch utests again
* fix all mxnet unittests
* delete some useless tests
* pass all tf cpu tests
* disable
* disable distributed unittest
* fix
* fix
* lint
* fix
* fix
* fix script
* fix tutorial
* fix apply edges bug
* fix 2 basics
* fix tutorial
Co-authored-by: yzh119 <expye@outlook.com >
Co-authored-by: xiang song(charlie.song) <classicxsong@gmail.com >
Co-authored-by: Ubuntu <ubuntu@ip-172-31-51-214.ec2.internal >
Co-authored-by: Ubuntu <ubuntu@ip-172-31-7-42.us-west-2.compute.internal >
Co-authored-by: Ubuntu <ubuntu@ip-172-31-1-5.us-west-2.compute.internal >
Co-authored-by: Ubuntu <ubuntu@ip-172-31-68-185.ec2.internal >
2020-07-28 14:30:41 +08:00
Quan (Andy) Gan
2b9d06b6e2
[Data] Retry downloading once if dataset initialization fails ( #1520 )
...
* dataloader guard
* more fixes
* sets overwrite to true by default
* Update utils.py
* fix
Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com >
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
2020-06-03 17:21:05 +08:00
Jinjing Zhou
aa17d78af7
Fix ( #1478 )
2020-04-27 20:02:34 +08:00
Da Zheng
a0721405cf
[BUGFIX] don’t import dgl in the package. ( #1382 )
...
* fix dgl data.
* remove more.
* fix.
* fix.
Co-authored-by: Ubuntu <ubuntu@ip-172-31-16-150.us-west-2.compute.internal >
2020-03-22 01:29:16 -07:00
VoVAllen
9c790b1143
[Dataset] Add CoraFull, Amazon, KarateClub, Coauthor Dataset ( #855 )
...
* convert np.ndarray to backend tensor
* add datasets
* add qm7
* add dataset
* add dataset
* fix
* change ppi
* tu dataset
* add datasets
* fix
* fix
* fix
* fix
* add docstring
* docs
* doc
2019-10-01 01:19:59 +08:00
HQ
bf3994eea6
[Model][Hotfix] DiffPool formatting fix ( #696 )
...
* formatting
* formatting
2019-07-02 15:19:57 +08:00
HQ
684a61ad09
[Model] DiffPool with both DGL and tensorized operatons ( #665 )
...
* diffpool original file added
* make diffpool fuse up and running
* minor tweak on tu dataset statistics method
* fix tu
* break
* delete break
* pre_org
* diffpool fuse reorg
* fix random shuffling
* fix bn
* add dgl layers
* early stopping
* add readme
* fix
* add diffpool preprocess script
* tweak tu dataset
* tweak
* tweak
* tweak
* tweak
* tweak
* preprocess dataset
* fix early stopping
* fix
* fix
* fix
* tweak
* readme
* code review
* code review
* dataset code review
* update README
* code review
* tu doc
2019-07-01 20:00:15 +08:00
VoVAllen
c69dbbb736
[Bug Fix] Fix TUDataset Processing bug ( #489 )
...
* add graph classification dataset
* add node label
* add TUDataset
* Modify to consistent with Qi Huang's implementation
* add docs
* Add docs
* Fix change of environment variable
* Update tu.py
* Update tu.py
* Fix error when add node with np.int64
* Fix processing bug
2019-04-11 19:30:50 +08:00
VoVAllen
00fc680aae
[Dataset] Add TUDataset ( #473 )
...
* add graph classification dataset
* add node label
* add TUDataset
* Modify to consistent with Qi Huang's implementation
* add docs
* Add docs
* Fix change of environment variable
* Update tu.py
* Update tu.py
* Fix error when add node with np.int64
2019-04-10 09:37:53 -04:00