资源算法bi-GGNN

bi-GGNN

2020-02-17 | |  30 |   0 |   0

A PyTorch Implementation of bilateral-GGNN for Graph Classification

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 focuses on the Graph Level output, which hasn't been exploiting from the other code base. In concrete, we focus the Graph Classification task, which requires the Graph Level output to be implemented.

We took the dataset of 104 programming problems, which comprises of 52000 cpp files from the paper Convolutional Neural Networks over Tree Structures for Programming Language Processing and parse the cpp files into the graph representation based on the details of the paper Learning to Represent Programs with Graphs.

图片.png

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==3.6

  • PyTorch>=0.2

Run

Train and test the GGNN:

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

References


上一篇:nnabla-ggnn

下一篇:GGNN_GED

用户评价
全部评价

热门资源

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • inferno-boilerplate

    This is a very basic boilerplate example for pe...