Spaces:
Runtime error
Runtime error
NTT123
commited on
Commit
·
3585493
1
Parent(s):
4c25647
new model
Browse files- .gitattributes +1 -1
- app.py +1 -1
- extract_model.py +2 -2
- wavegru.ckpt → wavegru_vocoder_1024_v3_1310000.ckpt +0 -0
.gitattributes
CHANGED
@@ -26,6 +26,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
26 |
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
27 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
28 |
bazelisk-linux-amd64 filter=lfs diff=lfs merge=lfs -text
|
29 |
-
wavegru.ckpt filter=lfs diff=lfs merge=lfs -text
|
30 |
wavegru_mod.so filter=lfs diff=lfs merge=lfs -text
|
31 |
pretrained_model_ljs_600k.ckpt filter=lfs diff=lfs merge=lfs -text
|
|
|
|
26 |
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
27 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
28 |
bazelisk-linux-amd64 filter=lfs diff=lfs merge=lfs -text
|
|
|
29 |
wavegru_mod.so filter=lfs diff=lfs merge=lfs -text
|
30 |
pretrained_model_ljs_600k.ckpt filter=lfs diff=lfs merge=lfs -text
|
31 |
+
wavegru_vocoder_1024_v3_1310000.ckpt filter=lfs diff=lfs merge=lfs -text
|
app.py
CHANGED
@@ -14,7 +14,7 @@ alphabet, tacotron_net, tacotron_config = load_tacotron_model(
|
|
14 |
)
|
15 |
|
16 |
|
17 |
-
wavegru_config, wavegru_net = load_wavegru_net("./wavegru.yaml", "./
|
18 |
|
19 |
wave_cpp_weight_mask = extract_weight_mask(wavegru_net)
|
20 |
wavecpp = load_wavegru_cpp(wave_cpp_weight_mask, wavegru_config["upsample_factors"][-1])
|
|
|
14 |
)
|
15 |
|
16 |
|
17 |
+
wavegru_config, wavegru_net = load_wavegru_net("./wavegru.yaml", "./wavegru_vocoder_1024_v3_1310000.ckpt")
|
18 |
|
19 |
wave_cpp_weight_mask = extract_weight_mask(wavegru_net)
|
20 |
wavecpp = load_wavegru_cpp(wave_cpp_weight_mask, wavegru_config["upsample_factors"][-1])
|
extract_model.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import pickle
|
2 |
|
3 |
-
dic = pickle.load(open("./
|
4 |
del dic["optim_state_dict"]
|
5 |
-
pickle.dump(dic, open("./
|
|
|
1 |
import pickle
|
2 |
|
3 |
+
dic = pickle.load(open("./wavegru_vocoder_1024_v3_1310000.ckpt", "rb"))
|
4 |
del dic["optim_state_dict"]
|
5 |
+
pickle.dump(dic, open("./wavegru_vocoder_1024_v3_1310000.ckpt", "wb"))
|
wavegru.ckpt → wavegru_vocoder_1024_v3_1310000.ckpt
RENAMED
File without changes
|