w4nderlust / cppn-tensorflow

Very Simple and Basic Implementation of Compositional Pattern Producing Network in TensorFlow

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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. color_tanh_2 color_tanh_4 color_tanh_5

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

About

Very Simple and Basic Implementation of Compositional Pattern Producing Network in TensorFlow


Languages

Language:Python 100.0%