PhoenixStormJr commited on
Commit
8b8bd90
·
verified ·
1 Parent(s): b26651d

Update train/process_ckpt.py

Browse files
Files changed (1) hide show
  1. 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 "模型信息:%s\n采样率:%s\n模型是否输入音高引导:%s\n版本:%s" % (
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"),