Syncs GAN-generated visuals to music
Project description
Lucid Sonic Dreams
Lucid Sonic Dreams syncs GAN-generated visuals to music. By default, it uses NVLabs StyleGAN2, with pre-trained models lifted from Justin Pinkney's consolidated repository. Custom weights and other GAN architectures can be used as well.
Sample output can be found on YouTube and Instagram.
Installation
This implementation has been teston on Python 3.6 and 3.7. As per NVLabs' TensorFlow implementation of StyleGAN2, TensorFlow 1.15 is required. TensorFlow 2.x is not supported.
To install, simply run:
pip install lucidsonicdreams
Usage
You may refer to the Lucid Sonic Dreams Tutorial Notebook for full parameter descriptions and sample code templates. A basic visualization snippet is also found below.
Basic Visualization
from lucidsonicdreams import LucidSonicDream
L = LucidSonicDream(song = 'song.mp3',
style = 'abstract photos')
L.hallucinate(file_name = 'song.mp4')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file lucidsonicdreams-0.4.tar.gz
.
File metadata
- Download URL: lucidsonicdreams-0.4.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eda2ebb27d525fd820c5afe5a6d2d4baea383dddd03302b74e2b24b4a7c9bdd9 |
|
MD5 | 0316084a0fc877af5a024c5724490e95 |
|
BLAKE2b-256 | 4a0191ff8de2866a78435231966bf006eca06d7624c3f7cecce5b8c9b351d97d |