audio-GAN icon indicating copy to clipboard operation
audio-GAN copied to clipboard

all the input arrays must have same number of dimensions

Open zhouwenkai opened this issue 8 years ago • 3 comments

When I try to run the project ,I get this error:

C:\Anaconda2\python.exe C:/Users/kaiven/PycharmProjects/GAN/simple_audio_GAN.py Using Theano backend. Epoch: 1 Traceback (most recent call last): File "C:/Users/kaiven/PycharmProjects/GAN/simple_audio_GAN.py", line 87, in X = np.concatenate((audio_batch, generated_audio)) ValueError: all the input arrays must have same number of dimensions

Process finished with exit code 1

But audio_batch and generated_audio have same number of dimensions

zhouwenkai avatar Feb 20 '17 19:02 zhouwenkai

I also facing the same issue and face the same problem.It would be great if someone find a solution for this.Thank You

annisaabuhamid avatar Oct 17 '17 14:10 annisaabuhamid

@niccanicci @zhouwenkai did you manage to get around this issue?

naveenkumarmarri avatar Oct 28 '18 16:10 naveenkumarmarri

I think if you specify the axis in the np.concatenate function, it should work.

usernaamee avatar Jan 15 '20 07:01 usernaamee