File size: 180 Bytes
41ba53f
 
a28cfa9
41ba53f
a28cfa9
1
2
3
4
5
6
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"))