logo
Browse Source

Update

Signed-off-by: Jael Gu <mengjia.gu@zilliz.com>
main
Jael Gu 3 years ago
parent
commit
08265aa33e
  1. 3
      clmr_magnatagatune.py

3
clmr_magnatagatune.py

@ -18,7 +18,6 @@ import logging
from pathlib import Path from pathlib import Path
from typing import Union from typing import Union
import subprocess
import torchaudio import torchaudio
import torch import torch
import numpy import numpy
@ -31,6 +30,8 @@ sys.path.append(str(Path(__file__).parent))
from utils.checkpoint import load_encoder_checkpoint from utils.checkpoint import load_encoder_checkpoint
from models.sample_cnn import SampleCNN from models.sample_cnn import SampleCNN
log = logging.getLogger()
@register(output_schema=['vec']) @register(output_schema=['vec'])
class ClmrMagnatagatune(NNOperator): class ClmrMagnatagatune(NNOperator):

Loading…
Cancel
Save