wavegan icon indicating copy to clipboard operation
wavegan copied to clipboard

Add Generate Script

Open robdmac opened this issue 6 years ago • 2 comments

This wraps the audio generation into a script and generates an audio file reminiscent of (and to make comparisons with) the tensorflow-wavenet repo: https://github.com/ibab/tensorflow-wavenet/blob/master/generate.py

robdmac avatar Mar 05 '19 05:03 robdmac

Thanks for the PR and sorry it has taken me a while to get back to you. I like the idea of having this generate script, but it would make sense to also have one for SpecGAN. Can you possibly rename this to wavegan_generate.py and add a corresponding one for specgan? If that is too much effort, I can leave this PR open and get around to writing the code.

Also would be nice to add an argument specifying the number of samples to generate.

chrisdonahue avatar Mar 14 '19 20:03 chrisdonahue

ej, i'm having issues with the generating script i've installed wavenet through pip and pip3 but when I run the script through P3 I get

ImportError: cannot import name 'WaveNetModel'

so I suppose the code isn't for P3 and when I run it through P2

ImportError: cannot import name ABC

and I can't seem to find a way to install abc which package is this refering to ?

itsKaspar avatar Jun 28 '19 20:06 itsKaspar