Browse Source
Update
Signed-off-by: Jael Gu <mengjia.gu@zilliz.com>
main
1 changed files with
1 additions and
1 deletions
-
clmr_magnatagatune.py
|
@ -77,7 +77,7 @@ class ClmrMagnatagatune(NNOperator): |
|
|
outs = features.to("cpu") |
|
|
outs = features.to("cpu") |
|
|
return outs.detach().numpy() |
|
|
return outs.detach().numpy() |
|
|
|
|
|
|
|
|
def __call__(self, data: List[AudioFrame]) -> numpy.ndarray: |
|
|
|
|
|
|
|
|
def preprocess(self, data: List[AudioFrame]) -> numpy.ndarray: |
|
|
_sr = 22050 |
|
|
_sr = 22050 |
|
|
audio_length = 59049 |
|
|
audio_length = 59049 |
|
|
|
|
|
|
|
|