kevinwang676 commited on
Commit
8830df3
1 Parent(s): 532d096

Update vc_infer_pipeline.py

Browse files
Files changed (1) hide show
  1. vc_infer_pipeline.py +0 -2
vc_infer_pipeline.py CHANGED
@@ -196,8 +196,6 @@ class VC(object):
196
  with torch.no_grad():
197
  logits = model.extract_features(**inputs)
198
  feats = model.final_proj(logits[0]) if version == "v1" else logits[0]
199
- if protect < 0.5 and pitch != None and pitchf != None:
200
- feats0 = feats.clone()
201
  if (
202
  isinstance(index, type(None)) == False
203
  and isinstance(big_npy, type(None)) == False
 
196
  with torch.no_grad():
197
  logits = model.extract_features(**inputs)
198
  feats = model.final_proj(logits[0]) if version == "v1" else logits[0]
 
 
199
  if (
200
  isinstance(index, type(None)) == False
201
  and isinstance(big_npy, type(None)) == False