项目作者: Mayukhdeb

项目描述 :
experimenting with differentiable models of morphogenesis :microscope: :microbe:
高级语言: Jupyter Notebook
项目地址: git://github.com/Mayukhdeb/differentiable-morphogenesis.git
创建时间: 2021-02-23T18:02:36Z
项目社区:https://github.com/Mayukhdeb/differentiable-morphogenesis

开源协议:

下载


differentiable-morphogenesis

Implementing/experimenting with differentiable-morphogenesis (mostly neural cellular automata) on PyTorch




Notebooks:

Topic Link
Walkthrough of Alexander Mordvintsev‘s youtube video on neural CA Open In Colab
Cleaner implementation in case you just want to copy and paste stuff Open In Colab
[Experimental] shapeshifting/infection models Open In Colab

A brief intro

A cellular automaton is a collection of cells on a grid of specified shape that evolves through a number of discrete time steps according to a set of rules based on the states of neighboring cells. The rules are then applied iteratively for as many time steps as desired.

Now let’s ask the following question:

What if we could use a neural network to map a certain set of rules that would help us generate a very specific arrangement of “cells” ?

That is exactly what our objective is.

Infection models

These models are trained to “infect” a given CA state

Given a random point/set of points, the infection model’s effect spreads through the image and turns it into something else. Apart from random starting points, they also work on both growing and grown states of the original CA.

When I tried to recover the original image from a fully “infected” image, I ended up with a 4 legged abomination