All Projects → chingyaoc → Ggnn.pytorch

chingyaoc / Ggnn.pytorch

Licence: mit
A PyTorch Implementation of Gated Graph Sequence Neural Networks (GGNN)

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Ggnn.pytorch

Libfirm
graph based intermediate representation and backend for optimising compilers
Stars: ✭ 305 (-15.28%)
Mutual labels:  graph
Curvegraphview
A highly customizable and performant custom view to render curved line graph.
Stars: ✭ 321 (-10.83%)
Mutual labels:  graph
Paracel
Distributed training framework with parameter server
Stars: ✭ 335 (-6.94%)
Mutual labels:  graph
Logseq
A privacy-first, open-source platform for knowledge management and collaboration. Desktop app download link: https://github.com/logseq/logseq/releases, roadmap: https://trello.com/b/8txSM12G/roadmap
Stars: ✭ 8,210 (+2180.56%)
Mutual labels:  graph
Swiftplot
Swift library for Data Visualization 📊
Stars: ✭ 319 (-11.39%)
Mutual labels:  graph
Pathfinding
Pathfinding library for rust
Stars: ✭ 324 (-10%)
Mutual labels:  graph
Morpheus
Morpheus brings the leading graph query language, Cypher, onto the leading distributed processing platform, Spark.
Stars: ✭ 303 (-15.83%)
Mutual labels:  graph
Rdf
RDF.rb is a pure-Ruby library for working with Resource Description Framework (RDF) data.
Stars: ✭ 353 (-1.94%)
Mutual labels:  graph
Tplink Energy Monitor
An energy monitoring dashboard for TP-Link smart plugs
Stars: ✭ 316 (-12.22%)
Mutual labels:  graph
Keras Gat
Keras implementation of the graph attention networks (GAT) by Veličković et al. (2017; https://arxiv.org/abs/1710.10903)
Stars: ✭ 334 (-7.22%)
Mutual labels:  graph
Vim Flog
A lightweight and powerful git branch viewer for vim.
Stars: ✭ 314 (-12.78%)
Mutual labels:  graph
Popoto
Visual query builder for Neo4j graph database
Stars: ✭ 318 (-11.67%)
Mutual labels:  graph
Vivagraphjs
Graph drawing library for JavaScript
Stars: ✭ 3,442 (+856.11%)
Mutual labels:  graph
Constellation
A graph-focused data visualisation and interactive analysis application.
Stars: ✭ 309 (-14.17%)
Mutual labels:  graph
Graphosaurus
3D graph viewer powered by WebGL (three.js)
Stars: ✭ 340 (-5.56%)
Mutual labels:  graph
Coderchef Kitchen
The official repository for our programming kitchen which consists of 50+ delicious programming recipes having all the interesting ingredients ranging from dynamic programming, graph theory, linked lists and much more. All the articles contain beautiful images and some gif/video at times to help clear important concepts.
Stars: ✭ 306 (-15%)
Mutual labels:  graph
Algorithms.js
Atwood's Law applied to CS101 - Classic algorithms and data structures implemented in JavaScript
Stars: ✭ 3,322 (+822.78%)
Mutual labels:  graph
Communities
Library of community detection algorithms and visualization tools
Stars: ✭ 348 (-3.33%)
Mutual labels:  graph
Sourcecred
a social algorithm for computing cred
Stars: ✭ 345 (-4.17%)
Mutual labels:  graph
Nodz
Nodz : Visualize your data - Free nodes based graph generator.
Stars: ✭ 330 (-8.33%)
Mutual labels:  graph

A PyTorch Implementation of GGNN

This is a PyTorch implementation of the Gated Graph Sequence Neural Networks (GGNN) as described in the paper Gated Graph Sequence Neural Networks by Y. Li, D. Tarlow, M. Brockschmidt, and R. Zemel. This implementation gets 100% accuracy on node-selection bAbI task 4, 15, and 16. Their official implementation are available in the yujiali/ggnn repo on GitHub.

What is GGNN?

  • Solve graph-structured data and problems
  • A gated propagation model to compute node representations
  • Unroll recurrence for a fixed number of steps and use backpropogation through time
  • An output model to make predictions on nodes

Requirements

  • python==2.7
  • PyTorch>=0.2

Run

Train and test the GGNN:

python main.py --cuda (use GPUs or not)

Suggesting configurations for each task:

# task 4
python main.py --task_id 4 --state_dim 4 --niter 10
# task 15
python main.py --task_id 15 --state_dim 5 --niter 10
# task 16
python main.py --task_id 16 --state_dim 10 --niter 150

Results

I followed the paper, randomly picking only 50 training examples for training. Performances are evaluated on 50 random validation examples.

bAbI Task Performance
4 100%
15 100%
16 100%

Here's an example of bAbI deduction task (task 15)

Disclaimer

The data processing codes are from official implementation yujiali/ggnn.

TODO

  • [ ] GraphLevel Output

References

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].