Update extract_feature_print.py
Browse files- extract_feature_print.py +2 -1
extract_feature_print.py
CHANGED
|
@@ -157,9 +157,10 @@ def main():
|
|
| 157 |
|
| 158 |
# Resolve model path and name
|
| 159 |
custom_mappings = {
|
| 160 |
-
"
|
| 161 |
"hubert_base": ("hubert_base.pt", "hubert"),
|
| 162 |
"contentvec_base": ("contentvec_base.pt", "contentvec"),
|
|
|
|
| 163 |
}
|
| 164 |
if os.path.split(model_path)[-1] == "Custom" and model_name in custom_mappings:
|
| 165 |
model_path, resolved_model_name = custom_mappings[model_name]
|
|
|
|
| 157 |
|
| 158 |
# Resolve model path and name
|
| 159 |
custom_mappings = {
|
| 160 |
+
"wav2vec" : ("wav2vec_small_960h.pt", "wav2vec"),
|
| 161 |
"hubert_base": ("hubert_base.pt", "hubert"),
|
| 162 |
"contentvec_base": ("contentvec_base.pt", "contentvec"),
|
| 163 |
+
"hubert_base_japanese" : ("hubert_base_japanese.pt","hubert_base_japanese")
|
| 164 |
}
|
| 165 |
if os.path.split(model_path)[-1] == "Custom" and model_name in custom_mappings:
|
| 166 |
model_path, resolved_model_name = custom_mappings[model_name]
|