basit-text-to-spech / extract_model.py
basit123796's picture
Upload 25 files
901d6f7 verified
raw
history blame contribute delete
180 Bytes
import pickle
dic = pickle.load(open("./tacotrons_ljs_24k_v1_0300000.ckpt", "rb"))
del dic["optim_state_dict"]
pickle.dump(dic, open("./tacotrons_ljs_24k_v1_0300000.ckpt", "wb"))