auspicious3000 / autovc

AutoVC: Zero-Shot Voice Style Transfer with Only Autoencoder Loss
https://arxiv.org/abs/1905.05879
MIT License
976 stars 207 forks source link

bugfix to make_metadata.py #81

Closed JohnHerry closed 3 years ago

JohnHerry commented 3 years ago

make_metadata.py line 46 changed to:

assert len(candidates) > 0

left = 0 if tmp.shape[0] - len_crop ==0 else np.random.randint(0, tmp.shape[0] - len_crop)