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.
- Host: GitHub
- URL: https://github.com/dstein64/neuralart
- Owner: dstein64
- License: mit
- Created: 2018-08-13T16:20:10.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-04-30T21:42:15.000Z (about 2 years ago)
- Last Synced: 2024-10-23T03:26:51.603Z (over 1 year ago)
- Topics: generative-art, neural-network
- Language: Python
- Homepage: https://pypi.org/project/neuralart/
- Size: 2.11 MB
- Stars: 22
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
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 `__.