Open Andy671 opened 3 years ago
Hi Andy. Appreciate the kind words and sorry for the delay.
So are you saying that the exact same configuration (2ch) works on Google Colab, but not on another environment? That is indeed strange.
It looks like this is happening for the discriminator for the generated audio, while it appears that the placeholder for the real audio is indeed stereo. Can you check the shape of the G_z
tensor? Is it mono? If so, maybe there's some issue with this line of code due to changes to the tensorflow API since I wrote it: https://github.com/chrisdonahue/wavegan/blob/master/wavegan.py#L132
Hello, @chrisdonahue thanks for the great paper and code sharing of WaveGAN! You slay! I've managed to run it on Google Colab, without any problems. BUT... The problem is I can't make it work on paid Google AI Platform Notebooks in Jupyter Lab. I spent a few days and found out that the problem is
--data_num_channels 2
. I've tried different setups including CUDA 10, CUDA 11, tensorflow-gpu==1.15.2, tensorflow-gpu==1.14.0, and a few more, but in any case, 2 channel audio just doesn't work and gives me this log (The last line seems to be very promising, as it's how I figured the problem was in 2 channel audio):--data_num_channels 1 works okay, though... Here is the full command:
I've also tried tensorflow==1.12.0 but it is so outdated that requires CUDA 9...
Operating system: Debian 10 Current tensorflow-gpu: 1.14.0 Requirements.txt of my current pip list: https://drive.google.com/file/d/1irXiAZyYHeUkNH-PYDCHjwbeaDfenCTv/view?usp=sharing
Please, help me out! How can I fix this small occasion?
I will be extremely thankful for any hint!