Skip to main content

NST_VGG19

Neural Style Transfer using VGG19.

collage

Original paper link.

VGG19 weights from torchvision.

Installation

pip install nst_vgg19

Usage

nst photo.jpg --style style-image.png --output result.png

Usage in python

from nst_vgg19 import NST_VGG19

# images must be Numpy arrays. Use np.array(pil_image)

style_image = load_image('style.png')
content_image_1 = load_image('img1.jpg')
content_image_2 = load_image('img2.png')

nst = NST_VGG19(style_image)

result_1 = nst(content_image_1)
result_2 = nst(content_image_2)

Metadata

Release files for nst-vgg19 0.3.1

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

Source distribution (sdist)

Source distribution for nst-vgg19 0.3.1
File Size Uploaded Provenance
nst_vgg19-0.3.1.tar.gz 7.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for nst-vgg19 0.3.1
File Interpreter ABI Platform
nst_vgg19-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 14.5 kB

Release files / nst_vgg19-0.3.1.tar.gz

Download URL nst_vgg19-0.3.1.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
946394e0b00a7443e576f7dc800e25dee0f2caab29ab3d7061fca098a4202d16
BLAKE2b-256 checksum
How to use checksums
20a69d9b351f490104ebd748f0f3d76505c3c9a82a0311f3590af4d121ba1175
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release files / nst_vgg19-0.3.1-py3-none-any.whl

Download URL nst_vgg19-0.3.1-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0dddded1a2a3f2e2ac57103c63d4733435971ab81e2f0485a816768ebe409fab
BLAKE2b-256 checksum
How to use checksums
2c54411818870c9a9f6b6b4304d4b007201ad5e4f07fc98e61b9ff580e6da5c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Security for nst-vgg19 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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