"vscode:/vscode.git/clone" did not exist on "e5db40dcbce67157e005f524bf6a5bea7dcb7f34"
  1. 08 Jul, 2022 1 commit
  2. 17 Feb, 2022 1 commit
  3. 07 Oct, 2021 1 commit
    • K's avatar
      [Model] Refine GraphSAINT (#3328) · aef96dfa
      K authored
      
      
      * The start of experiments of Jiahang Li on GraphSAINT.
      
      * a nightly build
      
      * a nightly build
      
      Check the basic pipeline of codes. Next to check the details of samplers , GCN layer (forward propagation) and loss (backward propagation)
      
      * a night build
      
      * Implement GraphSAINT with torch.dataloader
      
      There're still some bugs with sampling in training procedure
      
      * Test validity
      
      Succeed in testing validity on ppi_node experiments without testing other setup.
      1. Online sampling on ppi_node experiments performs perfectly.
      2. Sampling speed is a bit slow because the operations on [dgl.subgraphs], next step is to improve this part by putting the conversion into parallelism
      3. Figuring out why offline+online sampling method performs bad, which does not make sense
      4. Doing experiments on other setup
      
      * Implement saint with torch.dataloader
      
      Use torch.dataloader to speed up saint sampling with experiments. Except experiments on too large dataset Amazon, we've done some experiments on other four datasets including ppi, flickr, reddit and yelp. Preliminary experimental results show consumed time and metrics reach not bad level. Next step is to employ more accurate profiler which is the line_profiler to test consumed period, and adjust num_workers to speed up sampling procedures on same certain datasets faster.
      
      * a nightly build
      
      * Update .gitignore
      
      * reorganize codes
      
      Reorganize some codes and comments.
      
      * a nightly build
      
      * Update .gitignore
      
      * fix bugs
      
      Fix bugs about why fully offline sampling and author's version don't work
      
      * reorganize files and codes
      
      Reorganize files and codes then do some experiments to test the performance of offline sampling and online sampling
      
      * do some experiments and update README
      
      * a nightly build
      
      * a nightly build
      
      * Update README.md
      
      * delete unnecessary files
      
      * Update README.md
      
      * a nightly update
      
      1. handle directory named 'graphsaintdata'
      2. control graph shift between gpu and cpu related to large dataset ('amazon')
      3. remove parameter 'train'
      4. refine annotations of the sampler
      5. update README.md including updating dataset info, dependencies info, etc
      
      * a nightly update
      
      explain config differences in TEST part
      remove a sampling time variant
      make 'online' an argument
      change 'norm' to 'sampler'
      explain parameters in README.md
      
      * Update README.md
      
      * a nightly build
      
      * make online an argument
      * refine README.md
      * refine codes of `collate_fn` in sampler.py, in training phase only return one subgraph, no need to check if the number of subgraphs larger than 1
      
      * Update sampler.py
      
      check the problem on flickr is about overfitting.
      
      * a nightly update
      
      Fix the overfitting problem of `flickr` dataset. We need to restrict the number of subgraphs (also the number of iterations) used in each epoch of training phase. Or it might overfit when validating at the end of each epoch. The method to limit the number is a formula specified by the author.
      
      * Set up a new flag `full` specifying if the number of subgraphs used in training phase equals to that of pre-sampled subgraphs
      
      * Modify codes and annotations related the new flag
      
      * Add a new parameter called `node_budget` in the base class `SAINTSampler` to compute the specific formula
      
      * set `gpu` as a command line argument
      
      * Update README.md
      
      * Finish the experiments on Flickr, which is done after adding new flag `full`
      
      * a nightly update
      
      * use half of edges in the original graph to do sampling
      * test dgl.random.choice with or without replacement with half of edges
      ~ next is to test what if put the calculating probability part out of __getitem__ can speed up sampling and try to implement sampling method of author
      
      * employ cython to implement edge sampling for per edge
      
      * employ cython to implement edge sampling for per edge
      * doing experiments to test consumed time and performance
      ** the consumed time decreased to approximately 480s, the performance decrease about 5 points.
      * deprecate cython implementation
      
      * Revert "employ cython to implement edge sampling for per edge"
      
      * This reverts commit 4ba4f092
      * Deprecate cython implementation
      * Reserve half-edges mechanism
      
      * a nightly update
      
      * delete unnecessary annotations
      Co-authored-by: default avatarMufei Li <mufeili1996@gmail.com>
      aef96dfa
  4. 06 Aug, 2020 1 commit
  5. 28 Jul, 2020 1 commit
    • Minjie Wang's avatar
      [Refactor][Graph] Merge DGLGraph and DGLHeteroGraph (#1862) · 44089c8b
      Minjie Wang authored
      
      
      * 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: default avatarUbuntu <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: default avatarUbuntu <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: default avataryzh119 <expye@outlook.com>
      Co-authored-by: default avatarxiang song(charlie.song) <classicxsong@gmail.com>
      Co-authored-by: default avatarUbuntu <ubuntu@ip-172-31-51-214.ec2.internal>
      Co-authored-by: default avatarUbuntu <ubuntu@ip-172-31-7-42.us-west-2.compute.internal>
      Co-authored-by: default avatarUbuntu <ubuntu@ip-172-31-1-5.us-west-2.compute.internal>
      Co-authored-by: default avatarUbuntu <ubuntu@ip-172-31-68-185.ec2.internal>
      44089c8b
  6. 08 Apr, 2020 1 commit
  7. 05 Mar, 2020 1 commit
    • Tong He's avatar
      [Model] Scene Graph Extraction Model with GluonCV (#1260) · cbee4278
      Tong He authored
      
      
      * add working scripts
      
      * add frcnn training script
      
      * remove redundent files
      
      * refactor validation computation, will optimize sgdet and training
      
      * validation finally finished
      
      * f-rcnn training
      
      * test reldn
      
      * rm file
      
      * update reldn training
      
      * data preprocess to h5
      
      * temp
      
      * use coco json
      
      * fix conflict
      
      * new obj dataset for detection
      
      * update training
      
      * before cleanup
      
      * remove abundant files
      
      * add arg parse to train
      
      * cleanup code file
      
      * update
      
      * fix
      
      * add readme
      
      * add ipynb as demo
      
      * add demo pic
      
      * update readme
      
      * add demo script
      
      * improve paths
      
      * improve readme
      
      * add docstrings
      
      * fix args description
      
      * update readme
      
      * add models from s3
      
      * update README
      Co-authored-by: default avatarMinjie Wang <minjie.wang@nyu.edu>
      cbee4278
  8. 17 Apr, 2019 1 commit
    • kitaev-chen's avatar
      [Model] Add GIN Model (#471) · a3febc06
      kitaev-chen authored
      * add gin model
      
      * convert dataset.py to data_ont_the_fly way and put it into dgl.data module
      
      * convert dataset.py to data_ont_the_fly way and put it into dgl.data module
      python code checked
      
      * modified document and reference TUDataset; checked python part and bypass cpp part due to error
      
      * change tensor to numpy in dataset and transform in collate@Dataloader
      
      * Change minor format issue
      
      Change minor format issue
      
      * moved logging; adjusted tqdm etc
      a3febc06
  9. 10 Nov, 2018 1 commit
    • Gan Quan's avatar
      [API] Readout interfaces (#124) · 40ca5de4
      Gan Quan authored
      * fixing builtin src*edge shape mismatch
      
      * bundled function refactor (?)
      
      * fixing names
      
      * readout prototype
      
      * oops
      
      * more fixes
      
      * removing readout prototype
      
      * sum_on() with SPMV, fixing batching with 0 edges
      
      * readouts with segmented sum
      
      * typo (??????)
      
      * fixes NLTK dependency (#125)
      
      * misc fixes including #126 (pushing again)
      
      * sanity check for mxnet
      
      * fixes NLTK dependency (#125) and #126
      
      * reverting to sum_nodes/edges
      40ca5de4
  10. 16 Aug, 2018 1 commit
    • Lingfan Yu's avatar
      Deep Generative Models of Graphs (#14) · 96179b0c
      Lingfan Yu authored
      * model code for generative graphs
      
      * batched version for dynamic graph generation using padding
      
      * renaming function train back to forward
      
      * remove old util function for padding DGMG
      
      * override networkx clear to reset state, add dgl.nn
      
      * Dynamic graph without batching
      
      * use relative import path
      
      * load dataset, pad batch
      
      * bug fix
      
      * experimental batch and unbatch
      
      * dgmg batched version
      
      * minor tweak
      
      * move preprocessing padding into data loading
      
      * batch graph test code
      
      * minor
      
      * batched graph class and test cases
      
      * make dgl.nn.gcn a simple layer plus minor fix
      
      * update dgmg model
      
      * test forward using attribute field
      
      * use frame append, minor changes
      
      * moving networkx operations out of forward
      
      * revert some changes
      
      * remove structural immutability check
      96179b0c
  11. 06 Aug, 2018 1 commit
    • Minjie Wang's avatar
      SPMV specialization (#32) · 2c489fad
      Minjie Wang authored
      * fix edge list order problem in cached graph.
      
      * minor fix
      
      * fix bug in edge iter
      
      * SPMV works
      
      * gcn spmv on CPU
      
      * change gcn style
      
      * fix cached graph performance; fixed gcn dataset bug
      
      * reorg dir
      
      * non-batch spmv; partial update problem with shape change
      
      * fix reorder problem; finish gcn-batch impl
      
      * pop API
      
      * GPU context
      2c489fad
  12. 10 Jul, 2018 1 commit
  13. 15 Jun, 2018 1 commit
  14. 20 Apr, 2018 1 commit