An open API service indexing awesome lists of open source software.

https://github.com/naturomics/scan-tensorflow

A Tensorflow implementation of DeepMind's Symbol-Concept Association Network(SCAN: Learning Abstract Hierarchical Compositional Visual Concepts)
https://github.com/naturomics/scan-tensorflow

compositional-visual-concepts scan symbol-concept tensorflow

Last synced: about 1 year ago
JSON representation

A Tensorflow implementation of DeepMind's Symbol-Concept Association Network(SCAN: Learning Abstract Hierarchical Compositional Visual Concepts)

Awesome Lists containing this project

README

          

# SCAN in Tensorflow

[![Gitter](https://img.shields.io/gitter/room/nwjs/nw.js.svg?style=plastic)](https://gitter.im/SCAN-Tensorflow/Lobby)
[![Contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=plastic)](CONTRIBUTING.md)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg?style=plastic)](https://opensource.org/licenses/Apache-2.0)

A Tensorflow implementation of DeepMind's Symbol-Concept Association Network ([SCAN: Learning Abstract Hierarchical Compositional Visual Concepts](https://arxiv.org/abs/1707.03389)).

SCAN is a framework for learning concepts paired with visual primitived. By teaching logical operators to SCAN, it even can learn to imagine new concepts from logical operators. See [the paper](https://arxiv.org/abs/1707.03389) and [DeepMind blog](https://deepmind.com/blog/imagine-creating-new-visual-concepts-recombining-familiar-ones/) for more details.


SCAN model architecture

# Usage

## Prerequisites

* Python 3.4
* DeepMind Lab
* [Tensorflow 1.2](https://github.com/tensorflow/tensorflow/tree/r1.2)

This is my configuration, other versions might work, too. If don't, let me know.

It is worth mentioning that [the origin DeepMind Lab repo](https://github.com/deepmind/lab) hasn't been updated for months, and it doesn't support python3. On the other hand, I'm used to work on my Gentoo Linux with Python3. In order to make it work, I have forked this repo to [my github](https://github.com/naturomics/lab) and make it Gentoo and python3 supportable. If you are also using an unsupported platform or environment, see [here](https://github.com/naturomics/lab) for details.

## Instructions for runing
```shell
$ git clone https://github.com/naturomics/SCAN-tensorflow.git
$ cd SCAN-tensorflow
```

```shell
$ python main.py
```

# Results

# Author
Naturomics Liao - [@naturomics](https://github.com/naturomics)