Skip to main content

Image generators from the Magenta project

Project description



Models
######

arbitrary-stylize
#################

*Fast artistic style transfer using arbitrary painting styles*

Operations
==========

generate
^^^^^^^^

*Generate a stylized using model pretrained on PNB and DRD images*

Flags
-----

**content-images**
*Path to content images (include glob pattern matching images) (required)*

**image-size**
*Size of images (1024)*

**interpolation-weights**
*Interpolation weights ([1.0])

This value is a list of float values inside square brackets. Each value is
a weight for interpolation between the parameters of the identity
transform and the style parameters of the style image.

The larger the weight is the strength of stylization is more. Weight of
1.0 means the normal style transfer and weight of 0.0 means identity
transform.  *

**style-images**
*Path to style images (include glob pattern matching images) (required)*

References
==========

- https://github.com/tensorflow/magenta/tree/master/magenta/models/arbitrary_image_stylization
- https://arxiv.org/abs/1705.06830
- https://arxiv.org/abs/1610.07629
- https://arxiv.org/abs/1603.08155
- https://arxiv.org/abs/1508.06576

pretrained-stylize
##################

*Implementation of 'A Learned Representation for Artistic Style'*

Operations
==========

generate
^^^^^^^^

*Generate a stylized image using a pretrained models*

Flags
-----

**image**
*Image to stylize (required)*

**style**
*Style to apply (monet or varied) (required)

Choices:
monet Use Monet style
varied Use varied style

*

References
==========

- https://github.com/tensorflow/magenta/tree/master/magenta/models/image_stylization
- https://arxiv.org/abs/1610.07629


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

gpkg.magenta.image-0.5.0.dev1-py2.py3-none-any.whl (5.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file gpkg.magenta.image-0.5.0.dev1-py2.py3-none-any.whl.

File metadata

  • Download URL: gpkg.magenta.image-0.5.0.dev1-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.2

File hashes

Hashes for gpkg.magenta.image-0.5.0.dev1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b13c41845f3100b8a35b9da3851e18c031aed2da7e57496672fcf4c56a165cd3
MD5 e5797fcdff6e31687a4af3f5604d3bee
BLAKE2b-256 b46a60d12b992f9c4008ce1054c98d63c3e08e5d8735736c31350c11f78391b0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page