Skip to main content

Pastafy

https://img.shields.io/pypi/v/pastafy.svg https://img.shields.io/travis/sfp932705/pastafy.svg Documentation Status

Pastafy anyone.

Ever pictured yourself in a pasta version? Maybe your puppy? Well now you can! Simply select a picture of yourself and a pasta style you may wish to apply.

Features

Pastafy brings artificial neural network style transfer from one image to another one as described in A Neural Algorithm of Artistic Style.

Use

After installation process is complete, call pastafy from the command line. To see a list of available options type:

pastafy -h

-h, –help show this help message and exit

-g GPU, –gpu GPU Whether to use GPU or not. Defaults to False.

-i IMG IMG, –images IMG IMG Images to be used. First one should be the content image (you) and second one the style (kitty). Alternatively, you could specify any desired content and style.

-n ITERS, –number ITERS Number of iterations. Defaults to 10.

-l LAYER, –layer LAYER Feature layer to be extracted. Defaults to 4.

-o OUTPUT, –output OUTPUT Name of output image. Defaults to a concatenation of style image name and content image name.

-r RATIO, –ratio RATIO Ratio of the weights assigned to the style and content image (Alpha Beta ratio). Defaults to 0.01.

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Inspired by the Data Science Group.

History

0.1.0 (2020-09-14)

  • First release on PyPI.

Metadata

Release files for pastafy 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pastafy 0.1.0
File Size Uploaded
pastafy-0.1.0.tar.gz 4.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for pastafy 0.1.0
File Interpreter ABI Platform
pastafy-0.1.0-py3.7.egg Legacy Egg format - - Details

Total release size: 4.2 MB

Release files / pastafy-0.1.0.tar.gz

Download URL pastafy-0.1.0.tar.gz
Size 4.2 MB
Tags Source
SHA-256 checksum
How to use checksums
2b8af8a11ffe6d21c68594ec788a06278a1b40bec9f36cbfe169a3d4ee4c66a4
BLAKE2b-256 checksum
How to use checksums
42897a92033bb3715ceb10725d3f03a3f7e88df9c3db75beebc4805f17a34c6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.6

Release files / pastafy-0.1.0-py3.7.egg

Download URL pastafy-0.1.0-py3.7.egg
Size 13.2 kB
Tags Egg
SHA-256 checksum
How to use checksums
5ce267e2890c8f8328de21cc69f68ce8eda1569cd1d9791051e1b4b8cc99ad42
BLAKE2b-256 checksum
How to use checksums
b2cf99f5ec6db0270d59bb32771ef03195c7cb49c6e3331613e0a9a6771900e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.6

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page