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

https://github.com/dstein64/neuralart

A library and command line utility for rendering generative art from a randomly initialized neural network.
https://github.com/dstein64/neuralart

generative-art neural-network

Last synced: about 1 year ago
JSON representation

A library and command line utility for rendering generative art from a randomly initialized neural network.

Awesome Lists containing this project

README

          

.. image:: https://github.com/dstein64/neuralart/workflows/build/badge.svg
:target: https://github.com/dstein64/neuralart/actions

neuralart
=========

A library and command line utility for rendering generative art from a randomly
initialized neural network.

Based on the following blog posts and pages from `studio otoro `__

- `Neural Network Generative Art in Javascript `__
- `Generating Abstract Patterns with TensorFlow `__
- `Neurogram `__
- `Interactive Neural Network Art `__

Requirements
------------

*neuralart* supports Python 3.x.

Linux, Mac, and Windows are supported.

Other operating systems may be compatible if the dependencies can be properly installed.

Dependencies
~~~~~~~~~~~~

- PyTorch
- Pillow

Installation
------------

`neuralart `__ is available on PyPI,
the Python Package Index.

::

$ pip install neuralart

Command Line Utility
--------------------

There is a command line utility for generating images. Use the :code:`--help`
flag for more information.

::

$ neuralart --help

Example
~~~~~~~

::

$ neuralart \
--seed 2 \
--xres 2048 \
--hidden-std 1.2 \
example.png

.. image:: https://github.com/dstein64/neuralart/blob/master/images/example-400.png?raw=true
:target: https://github.com/dstein64/neuralart/blob/master/images/example.png

Library Example Usage
---------------------

See `example.py `__.

License
-------

The code in this repository has an `MIT License `__.

See `LICENSE `__.