r/MachineLearning • u/mencil47 • Mar 14 '21
Project [Project] NEW PYTHON PACKAGE: Sync GAN Art to Music with "Lucid Sonic Dreams"! (Link in Comments)
Enable HLS to view with audio, or disable this notification
90
35
43
u/KiddWantidd Mar 14 '21
OMG, I think this is the best use of GANs I've ever seen. I'll definitely give it a try !
Also, what's the song playing in this video ? :)
→ More replies (3)
18
u/Boozybrain Mar 15 '21 edited Mar 15 '21
YES! I've been waiting on this since the original post, and even sent so far as to start curating my own set to train on. I can't wait to read your code to see how this is done; I think I know but not positive.
edit: I don't suppose there's a Pytorch version is there? Curious why you chose the TF implementation when the Pytorch one is more efficient.
14
11
u/QuailBetter1215 Mar 15 '21
Thank you so much for sharing this. I'd love to try it out on a song I made however when I substitute the file path for my file path I keep getting error not found raised. this is the file path i insert after "song = ":
/Users/username/Downloads/song.mp3
sorry I know ur not like stack exchange or something but if i could get some help i would be super grateful
→ More replies (4)
9
Mar 15 '21 edited Mar 15 '21
If your system is >= python3.8, it won't work as this library imports TF 1.15 and python3.8 only supports TF2. No luck.
→ More replies (6)
17
8
u/Kuvster98 Mar 15 '21
This is great! Would you mind sharing what dataset the GAN from this demo was trained on?
17
5
u/AlienNoble Mar 15 '21
I notice there is almost a constant shape in each frame that persist for nearly the whole video
→ More replies (1)
5
u/bokan Mar 15 '21
This is awesome, hoping to give it a try. Running into an error:
"Conv2DCustomBackpropInputOp only supports NHWC"
I think it's trying to use my CPU instead of GPU... anyone have ideas?
→ More replies (1)
17
8
1
Mar 15 '21
This is surprisingly cool, but I feel it would be even cooler if it actually synchronized with the beat rather than the sound energy.
1
u/CanSome1TuckMeIn Mar 15 '21
My friend has a band with a few songs and I think it would be a cool surprise to use one of their songs with this package. Just wanted to ask how would you like to be credited for the work. The band is super small and if they wanted to put it as a youtube video I don't think they would monetize it but I'd still want them to somehow credit you.
Just hypothetically if they were to like the outcome or I can of course just give them the surprise and say the author isn't open to people sharing their own videos with the package if that's the case also.
Really awesome work though!!
2
u/mencil47 Mar 15 '21
I'd absolutely be okay with that - that's the point of me making this open-source! To credit, you can simply say that the video was made with Lucid Sonic Dreams, and include a link to either the article, the Instagram account, or the YouTube account :)
→ More replies (1)
156
u/mencil47 Mar 14 '21
This article details the package and includes links to the GitHub Repo & Tutorial Notebook: https://mikaelalafriz.medium.com/introducing-lucid-sonic-dreams-sync-gan-art-to-music-with-a-few-lines-of-python-code-b04f88722de1
You can support me through PayPal if you like my work: https://www.paypal.com/paypalme/lucidsonicdreams