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.
- Free software: GNU General Public License v3
- Documentation: https://pastafy.readthedocs.io.
Pastafy brings artificial neural network style transfer from one image to another one as described in A Neural Algorithm of Artistic Style.
After installation process is complete, call pastafy from the command line. To see a list of available options type:
-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.
- First release on PyPI.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size pastafy-0.1.0-py3.7.egg (13.2 kB)||File type Egg||Python version 3.7||Upload date||Hashes View|
|Filename, size pastafy-0.1.0.tar.gz (4.2 MB)||File type Source||Python version None||Upload date||Hashes View|