Skip to content

johnPertoft/relation-networks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Relation Networks

This is a Tensorflow implementation of A simple neural network module for relational reasoning. Currently only the simple Sort-of-CLEVR dataset (described in paper) is implemented. This dataset simplifies the problem by considering a smaller space of questions that can be encoded as binary strings and thus bypassing the need for a model to parse natural language but still retaining the need for relational reasoning.

Sort-of-CLEVR

$ python -m rn.data.sort_of_clevr.inspect

soft-of-clevr-sample

Training

$ python -m rn.train

Results

$ python -m rn.predict --checkpoint path/to/checkpoint [--only-misclassifications] [--seed xxx]

sort-of-clevr-prediction-sample

TODO: Show accuracy and loss curves.

About

Tensorflow implementation of Relation Networks

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages