• Stars
    star
    132
  • Rank 274,205 (Top 6 %)
  • Language
    Python
  • License
    MIT License
  • Created over 7 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Tensorflow Implementation of Visual Interaction Networks

Visual Interaction Networks

Tensorflow Implementation of Visual Interaction Networks from Google Deepmind.

Implementation is on Tensorflow r1.2.

https://arxiv.org/abs/1706.01433

"Another key part of relational reasoning involves predicting the future in a physical scene. From just a glance, humans can infer not only what objects are where, but also what will happen to them over the upcoming seconds, minutes and even longer in some cases. For example, if you kick a football against a wall, your brain predicts what will happen when the ball hits the wall and how their movements will be affected afterwards (the ball will ricochet at a speed proportional to the kick and - in most cases - the wall will remain where it is)." From an article of Deepmind

https://deepmind.com/blog/neural-approach-relational-reasoning/

alt tag

N-objects Gravity Simulations

For changing configure values, please check constants script.

cat constracts.py

For generating images and data,

python physical_engines.py

For modeling Visual Interaction Networks

python gravity_vin.py

Data

The Data are gathered from my own implemented physics engine, which is same of interaction network git repo. https://github.com/jaesik817/Interaction-networks_tensorflow

One different thing from IN physics engines is time difference between frames, which was 0.0001 in IN repo and is 0.001 in this. Because 0.0001 secs frame cannot be recognized in 32 x 32 images.

Settings

Settings are written in constants.py and gravity_vin.py. The number of objects, frames on each simulations and rollout frames are 3, 50 and 20. The training max epoches are 80000. In physical_engines code, every frames are saved as image and coded data, and those things are used in gravity_vin script. Each image has background ones from CIFAR 10 training data set as the paper.

Results

The loss decreased as followed, which is summarized value of losses on near future 8 frames and encoding-decoding losses on input images.

alt tag

The quilititive results are as followed.

True : alt tag

Modeling : alt tag

More Repositories

1

adv_attack_capsnet

Tensorflow Implementation of Adversarial Attack to Capsule Networks
Python
174
star
2

Interaction-networks_tensorflow

Tensorflow Implementation of Interaction Networks for Learning about Objects, Relations and Physics
Python
158
star
3

dreamer-torch

Pytorch version of Dreamer, which follows the original TF v2 codes.
Python
111
star
4

pathnet

Tensorflow Implementation of PathNet: Evolution Channels Gradient Descent in Super Neural Networks
Python
102
star
5

SequentialData-GAN

Tensorflow Implementation of GAN modeling for sequential data
Python
69
star
6

bmaml

This repository contains implementations of the paper, Bayesian Model-Agnostic Meta-Learning.
Python
56
star
7

programmable-agents_tensorflow

Tensorflow Implementation of Programmable Agents
Python
36
star
8

a3c-distributed_tensorflow

Distributed Tensorflow Implementation of Asynchronous Methods for Deep Reinforcement Learning
Python
31
star
9

bmaml_rl

This repository contains implementations of the paper, Bayesian Model-Agnostic Meta-Learning.
Python
19
star
10

V-MPO_torch

V-MPO torch version with DMLab30 and GTrXL
Python
12
star
11

Asynchronous-DDPG_distributed_tensorflow

Distributed Tensorflow Implementation of Asynchronous DDPG
Python
12
star
12

tree-structured-group-lasso

Python Implementation of Proximal Methods for Hierarchical Sparse Coding
Python
10
star
13

nips17_adv_attack

Tensorflow Implementation of adversarial learning based adversarial example generator
Python
9
star
14

OCRL

Object-Centric-Representation Library (OCRL): This repo is to explore OCR on various downstream tasks from supervised learning tasks to RL tasks.
Python
9
star
15

ddocker

Python
8
star
16

svpg_tensorflow

Tensorflow Implementation of Stein Variational Policy Gradients
Python
8
star
17

ASNP-RMR

This is an official Tensorflow implementation of the ASNP-RMR.
Python
7
star