102

GitHub - uber-common/differentiable-plasticity: Implementations of the algorithm...

 6 years ago
source link: https://github.com/uber-common/differentiable-plasticity
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

Differentiable plasticity

This repo contains implementations of the algorithms described in Differentiable plasticity: training plastic networks with gradient descent, a research paper from Uber AI Labs.

There are four different experiments included here:

  • simple: Binary pattern memorization and completion. Read this one first!
  • images: Natural image memorization and completion
  • omniglot: One-shot learning in the Omniglot task
  • maze: Maze exploration task (reinforcement learning)

We strongly recommend studying the simple/simple.py program first, as it is deliberately kept as simple as possible while showing full-fledged differentiable plasticity learning.

The code requires Python 3 and PyTorch 0.3.0 or later. The images code also requires scikit-learn. By default our code requires a GPU, but most programs can be run on CPU by simply uncommenting the relevant lines (for others, remove all occurrences of .cuda()).

To comment, please open an issue. We will not be accepting pull requests but encourage further study of this research. To learn more, check out our accompanying article on the Uber Engineering Blog.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK