kevinwang676 commited on
Commit
61296a0
·
1 Parent(s): b1ece30

Update vc_infer_pipeline.py

Browse files
Files changed (1) hide show
  1. vc_infer_pipeline.py +1 -1
vc_infer_pipeline.py CHANGED
@@ -133,7 +133,7 @@ class VC(object):
133
  ) + 1
134
  f0_mel[f0_mel <= 1] = 1
135
  f0_mel[f0_mel > 255] = 255
136
- f0_coarse = np.rint(f0_mel).astype(int)
137
  return f0_coarse, f0bak # 1-0
138
 
139
  def vc(
 
133
  ) + 1
134
  f0_mel[f0_mel <= 1] = 1
135
  f0_mel[f0_mel > 255] = 255
136
+ f0_coarse = np.rint(f0_mel).astype(int16)
137
  return f0_coarse, f0bak # 1-0
138
 
139
  def vc(