All Projects → inmoonlight → Relation-Network

inmoonlight / Relation-Network

Licence: MIT license
Tensorflow implementation of Relation Network (bAbI dataset)

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Relation-Network

babi tools
Augmentation scripts for the bAbI Dialog Tasks dataset
Stars: ✭ 14 (-56.25%)
Mutual labels:  babi-dataset
RelationNetworks-CLEVR
A pytorch implementation for "A simple neural network module for relational reasoning", working on the CLEVR dataset
Stars: ✭ 83 (+159.38%)
Mutual labels:  relation-network
RMN
Relation Memory Network
Stars: ✭ 17 (-46.87%)
Mutual labels:  relation-network
FigureQA-baseline
TensorFlow implementation of the CNN-LSTM, Relation Network and text-only baselines for the paper "FigureQA: An Annotated Figure Dataset for Visual Reasoning"
Stars: ✭ 28 (-12.5%)
Mutual labels:  relation-network
Relation-Network-PyTorch
Implementation of Relation Network and Recurrent Relational Network using PyTorch v1.3. Original papers: (RN) https://arxiv.org/abs/1706.01427 (RRN): https://arxiv.org/abs/1711.08028
Stars: ✭ 17 (-46.87%)
Mutual labels:  relation-network

A simple neural network module for relational reasoning

paper link: https://papers.nips.cc/paper/7082-a-simple-neural-network-module-for-relational-reasoning.pdf

Tensorflow implementation of Relation Network on bAbI dataset

Result

Accuracy Success / Fail
Task 1 1 S
Task 2 0.935 F
Task 3 0.871 F
Task 4 1 S
Task 5 0.995 S
Task 6 1 S
Task 7 0.998 S
Task 8 0.999 S
Task 9 1 S
Task 10 1 S
Task 11 0.996 S
Task 12 1 S
Task 13 1 S
Task 14 1 S
Task 15 1 S
Task 16 0.497 F
Task 17 0.991 S
Task 18 0.994 S
Task 19 0.979 S
Task 20 1 S

total: 17/20

Prerequisites

  • Python 3.5+
  • Tensorflow-gpu 1.1+
  • Numpy
  • argparse
  • itertools
  • os
  • pickle
  • re
  • sys
  • datetime
  • time

Usage

  1. Load data
$ python preprocessing.py --path 'path-where-tasks_1-20_v1-2-located'
  1. Run model
$ python train.py
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].