Update train/process_ckpt.py
Browse files- train/process_ckpt.py +1 -1
train/process_ckpt.py
CHANGED
|
@@ -49,7 +49,7 @@ def savee(ckpt, sr, if_f0, name, epoch, version, hps):
|
|
| 49 |
def show_info(path):
|
| 50 |
try:
|
| 51 |
a = torch.load(path, map_location="cpu")
|
| 52 |
-
return "
|
| 53 |
a.get("info", "None"),
|
| 54 |
a.get("sr", "None"),
|
| 55 |
a.get("f0", "None"),
|
|
|
|
| 49 |
def show_info(path):
|
| 50 |
try:
|
| 51 |
a = torch.load(path, map_location="cpu")
|
| 52 |
+
return "Model information: %s\nSampling rate: %s\nWhether the model inputs pitch guidance: %s\nVersion: %s" % (
|
| 53 |
a.get("info", "None"),
|
| 54 |
a.get("sr", "None"),
|
| 55 |
a.get("f0", "None"),
|