vietnam-male-voice-wavegru-tts / extract_tacotrons_model.py
ntt123's picture
update
04a69d4
raw
history blame contribute delete
216 Bytes
import pickle
import jax
dic = pickle.load(open("./mono_tts_cbhg_small_0700000.ckpt", "rb"))
del dic["optim_state_dict"]
dic = jax.device_get(dic)
pickle.dump(dic, open("./mono_tts_cbhg_small_0700000.ckpt", "wb"))