Skip to content

Commit

Permalink
changes default repository of fcpe.pt to exp/ instead of oddly named …
Browse files Browse the repository at this point in the history
…directory
  • Loading branch information
RainaObi committed Jul 31, 2023
1 parent 4dc1a9b commit b95836c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def extract(self, audio, uv_interp=False, device=None, silence_front=0, sr=None)
_JUMP_SAFE_PAD = False
if self.transformer_f0 is None:
from encoder.fcpe.model import FCPEInfer
self.transformer_f0 = FCPEInfer(model_path='exp/f0bce_test_R004_cu0/model_270000.pt')
self.transformer_f0 = FCPEInfer(model_path='exp/fcpe.pt')
if _JUMP_SAFE_PAD:
raw_audio = audio
f0 = self.transformer_f0(audio=raw_audio, sr=self.sample_rate)
Expand Down

0 comments on commit b95836c

Please sign in to comment.