Very Simple and Basic Implementation of Compositional Pattern Producing Network in TensorFlow
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 12 commits ahead, 2 commits behind hardmaru:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
README.md
cppn.py
main.py
ops.py
rppn.py
sampler.py

README.md

cppn-tensorflow

Simplified implementation of Compositional Pattern Producing Network in TensorFlow for the purpose of abstract art generation and for future deep learning work in generative algorithms.

Examples of images generated by the simplified CPPN with tanh activation. Rainbow Dragon Eye

Examples of animations generated by the simplified CPPN interpolating between two divverent z embeddings. Morphing Morphing

Examples of animations generated by the simplified RPPN gradually increasing the k steps of recursion. Recurring

See Otoro's blog post at blog.otoro.net for more details. See my blogpost at w4nderlu.st for details on RPPN.

My contribution:

  • added a new model, RPPN (Recursive Pattern Producing Network)
  • added a generalized activation function strategy
  • added layer norm normalization
  • added cosine similary as an alternative linear layer
  • porting to Python 3 and TensorFlow 1.0
  • mp4 video generation

Requirements:

  • TensorFlow 1.0.0+
  • imageio for image generation
  • ffmpeg for video generation

License

MIT