Skip to content

cbokpark/Pytorch-Relational-Recurrent-Neural-networks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pytorch-Relational-Recurrent-Neural-networks

Adam Santoro, Ryan Faulkner, David Raposo, Jack Rae, Mike Chrzanowski, Theophane Weber, Daan Wierstra, Oriol Vinyals, Razvan Pascanu, Timothy Lillicrap, "Relational recurrent neural networks" arXiv preprint arXiv:1806.01822 (2018).

Meta overview

This repository provides a PyTorch implementation of Relational recurrent neural networks.

Current update status

  • Supervised setting - language modeling
  • [] Supervised setting - Nth farthest problems
  • Tensorboard loggings
  • [] Langue modeling - memory efficient softmax
  • Attention visualization (LSUN Church-outdoor)
  • Implemented core , self attention blocks , data loader

Results

TBD

Prerequisites

Usage

1. Clone the repository

$ git clone https://github.com/cheonbok94/Pytorch-Relational-Recurrent-Neural-networks.git
$ cd Pytorch-Relational-Recurrent-Neural-networks
$ pip install -r requirements.txt 

2. Install datasets (CelebA or LSUN)

$ TBD

3. Train

(1) Train Language modeling
$ python train.py --vocab_file ../data/vocab-2016-09-10.txt --train_prefix='../data/1-billion-word-language-modeling-benchmark-r13output/training-monolingual.tokenized.shuffled/*' --gpu_num 0 --num_epoch 100 --gpu_accelerate --batch_size 6 --bptt 70

4. Test

$ TBD....

5.(optional) Tensorboard logging

Reference

About

Implemented Relational Recurrent neural networks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages