mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-02-02 16:23:58 +03:00
WIP LLVC
This commit is contained in:
parent
c2b031efa5
commit
6bda815669
@ -52,6 +52,7 @@ class LLVCInferencer:
|
||||
inputTensor = torch.cat([self.front_ctx, inputTensor])
|
||||
self.front_ctx = inputTensor[-L * 2 :]
|
||||
|
||||
# すさまじい勢いでメモリリークしていく。。。?要調査
|
||||
audio1, self.enc_buf, self.dec_buf, self.out_buf, self.convnet_pre_ctx = self.model(
|
||||
inputTensor.unsqueeze(0).unsqueeze(0),
|
||||
self.enc_buf,
|
||||
|
Loading…
Reference in New Issue
Block a user