Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python train.py #8

Open
develooper1994 opened this issue Jan 8, 2020 · 0 comments
Open

python train.py #8

develooper1994 opened this issue Jan 8, 2020 · 0 comments

Comments

@develooper1994
Copy link

def batch_generator(audio_path_list, batch_size):
streamers = []
for audio_path in audio_path_list:
s = pescador.Streamer(sample_generator, audio_path)
streamers.append(s)

mux = pescador.ShuffledMux(streamers)  # <--------
batch_gen = pescador.buffer_stream(mux, batch_size)

return batch_gen

File "/home/selcuk/PycharmProjects/WaveGAN-pytorch/utils.py", line 108, in batch_generator
mux = pescador.ShuffledMux(streamers)
File "/home/selcuk/anaconda3/lib/python3.7/site-packages/pescador/mux.py", line 567, in init
raise PescadorError('Cannot mux an empty collection')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant