Hongzhi (Steve), Chen
5008af2210
[Misc] Rename number_of_edges and number_of_nodes to num_edges and num_nodes in examples. ( #5492 )
...
* pytorch_example
* fix
---------
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal >
2023-03-29 11:01:20 +08:00
Hongzhi (Steve), Chen
704bcaf6dd
examples ( #5323 )
...
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal >
2023-02-19 08:35:15 +08:00
S22
b04cf65b2b
[Bugfix] Fix sparseadam bug in metapath2vec(pytorch) ( #2607 )
...
It seems that there is a bug in Sparseadam in PyTorch, and it can be temporarily fixed by:
optimizer = optim.SparseAdam(list(self.skip_gram_model.parameters()), lr=self.initial_lr)
Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com >
2021-02-03 17:27:20 +08:00
Pein
400687d7a8
add venue label filename; delete redundant code ( #2491 )
...
Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com >
2021-01-08 17:05:33 +08:00
Pein
a8ce095724
update the code of examples/pytorch/metapath2vec.py ( #2463 )
...
Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com >
2021-01-02 01:02:01 +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
de34e15abb
fix metapath2vec on custom datasets ( #1499 )
2020-05-08 12:51:10 +08:00
Jinjing Zhou
c23a61bd5c
fix s3 link ( #1310 )
2020-03-04 21:01:29 +08:00
Quan (Andy) Gan
a9dabcc769
[Feature] Random Walk for 0.5 ( #1209 )
...
* trying to refactor IndexSelect
* partial implementation
* add index select and assign for floats as well
* move to random choice source
* more updates
* fixes
* fixes
* more fixes
* adding python impl
* fixes
* unit test
* lint
* lint x2
* lint x3
* update metapath2vec
* debugging performance
* still debugging for performance
* tuning
* switching to succvec
* redo
* revert non-uniform sampler to use vector
* still not fast
* why does this crash with OpenMP???
* because there was a data race!!!
* add documentations and remove assign op
* lint
* lint x2
* lol what have i done
* lint x3
* fix and disable gpu testing
* bugfix
* generic random walk
* reorg the random walk source code
* Update randomwalks.h
* Update randomwalks_cpu.cc
* rename file
* move internal function to anonymous ns
* reorg & docstrings
* constant restart probability
* docstring fix
* more commit
* random walk with restart, tested
* some fixes
* switch to using NDArray for choice
* massive fix & docstring
* lint x?
* lint x??
* fix
* export symbols
* skip gpu test
* addresses comments
* replaces another VecToIdArray
* add randomwalks.h to include
* replace void * with template
2020-01-31 19:52:08 +08:00
Quan (Andy) Gan
e3921d5dec
[Sampler] Metapath sampler for metapath2vec ( #861 )
...
* metapath sampler
* lint & fixes
* lint x2
* lint x3
* fix windows
* remove max_cycle argument
* add todo note
2019-09-26 16:42:33 -04:00
Zihao Ye
5b417683f6
[docfix] Update the README of metapath2vec ( #832 )
...
* upd
* fig edgebatch edges
* add test
* trigger
* upd
2019-09-05 16:43:12 +08:00
ziqiaomeng
ddeb86f91c
[Example] metapath2vec ( #764 )
...
* Prepare for metapath sampler
This file is just for reviewing metapath sampling algorithm (Python version).
* Delete metapath_sampler
* Prepare for metapath sampler
This file is just for reviewing metapath sampling algorithm (Python code).
* Add files via upload
* Create metapath2vec.md
* Add files via upload
* Delete data_handler.py
* Delete word2vec.py
* Delete word_train.py
* Add files via upload
Metapath2vec implementations. Metapath2vec++ needs negative sampler optimization.
* Delete shuffle_training.py
* Delete test.py
* Add files via upload
* Delete sampler.py
* Delete metapath_sampler.md
* Add files via upload
* Update and rename shuffle_training.py to metapath2vec.py
* Update reading_data.py
* Update metapath2vec.md
* Update metapath2vec.md
* Update metapath2vec.md
* Update metapath2vec.md
* Update metapath2vec.md
* Create label 2
* Delete label 2
* Create testing.md
* Add files via upload
* Create sample.md
* Add files via upload
* Delete sampler.py
* Add files via upload
* Delete googlescholar.8area.author.label.txt
* Delete googlescholar.8area.venue.label.txt
* Delete testing.md
* Delete id_author.txt
* Delete id_conf.txt
* Delete paper.txt
* Delete paper_author.txt
* Delete paper_conf.txt
* Delete sample.md
* Delete sampler.py
* Add files via upload
* Add files via upload
* Add files via upload
* Delete reading_data.py
* Add files via upload
* Add files via upload
* Delete metapath2vec.py
* Add files via upload
* Rename shuffle_training.py to metapath2vec.py
* Update metapath2vec.md
* Delete reading_data.py
* add comments and remov e commented codes
2019-09-02 00:03:21 -07:00