magenta / ddsp

DDSP: Differentiable Digital Signal Processing
https://magenta.tensorflow.org/ddsp
Apache License 2.0
2.92k stars 341 forks source link

Broken colabs #258

Closed pietrobolcato closed 4 years ago

pietrobolcato commented 4 years ago

Hello! First of all, thanks for the work - is incredible! 🥇

I think the last updates introduced some errors in the colab notebook for timbre transfer. When training, extracting the dataset statistic does not work for me anymore, as shown here:

err training

Also, when using a trained model i get this error:

immagine

Do you know any quick soluton for this? I also tried using v0.13.0 and doesn't work! Should I rollback and use a colab notebook from the past? Thank you!

jesseengel commented 4 years ago

I found the problem was a dataset iterator in save_dataset_statistics() was using batch_size=128 and returning nothing if the dataset was smaller. I've fixed it by setting the batch_size=1 for now.