Closed gogyzzz closed 5 years ago
Sorry, there seems has a bug in audio_producer.py
when finish an epoch.
you can renew an instance when finished an epoch in train.py
producer = audio_producer.AudioProducer(argv['json_path'], argv['batch_size'],
sample_rate=argv['sample_rate'],
min_duration=argv['min_duration'],
max_duration=argv['max_duration'])
Did you mean putting the code after run_epoch() ?
I found the function works well when I cut the length of number of batches.
I used the trick like below, and it works.
num of workers: 24
After iteration of 426x, all processes in iterator() function seems to be stopped.
But the next epoch won't start.