# Lucid Sonic Dreams
Lucid Sonic Dreams syncs GAN-generated visuals to music. By default, it uses [NVLabs StyleGAN2](https://github.com/NVlabs/stylegan2), with pre-trained models lifted from [Justin Pinkney's consolidated repository](https://github.com/justinpinkney/awesome-pretrained-stylegan2). Custom weights and other GAN architectures can be used as well.
Sample output can be found on [YouTube](https://youtu.be/l-nGC-ve7sI) and [Instagram](https://www.instagram.com/lucidsonicdreams/).
## 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](https://colab.research.google.com/drive/1Y5i50xSFIuN3V4Md8TB30_GOAtts7RQD?usp=sharing) 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')
```
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
GitHub 地址:https://github.com/mikaelalafriz/lucid-s Colab 教程地址:https://colab.rehttps://colab.research.google.com/drive/1Y5i50xSFIuN3V4Md8TB30_GOAt GAN 生成图像奇幻诡谲,对此我们早已不陌生。如果它们还可以卡音效呢?github上有人就创建了一个实现类似效果的 Python 包——Lucid Sonic Dreams,只用几行代码就可以实现 AI 生成画作与音乐的同步。 (免费资源,仅做转载)
资源推荐
资源详情
资源评论
收起资源包目录
lucid-sonic-dreams.zip (34个子文件)
setup.py 1KB
LICENSE.txt 1KB
.git
index 794B
HEAD 21B
refs
heads
main 41B
tags
remotes
origin
HEAD 30B
objects
pack
pack-de8600339fc2f71e76944de110ff3525a37260bf.pack 39KB
pack-de8600339fc2f71e76944de110ff3525a37260bf.idx 3KB
info
description 73B
packed-refs 168B
info
exclude 240B
logs
HEAD 199B
refs
heads
main 199B
remotes
origin
HEAD 199B
hooks
post-update.sample 189B
prepare-commit-msg.sample 1KB
commit-msg.sample 896B
pre-receive.sample 544B
update.sample 4KB
pre-commit.sample 2KB
pre-rebase.sample 5KB
applypatch-msg.sample 478B
fsmonitor-watchman.sample 5KB
push-to-checkout.sample 3KB
pre-applypatch.sample 424B
pre-push.sample 1KB
pre-merge-commit.sample 416B
config 310B
lucidsonicdreams
__init__.py 19B
sample_effects.py 616B
main.py 29KB
helper_functions.py 3KB
setup.cfg 40B
README.md 1KB
共 34 条
- 1
资源评论
西山点子王
- 粉丝: 5
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功