Skip to content

Commit

Permalink
ruff fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ylzz1997 committed Jul 22, 2023
1 parent 4961bf9 commit befc459
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion preprocess_hubert_f0.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
from concurrent.futures import ProcessPoolExecutor
from glob import glob
from random import shuffle
from loguru import logger

import librosa
import numpy as np
import torch
import torch.multiprocessing as mp
from loguru import logger
from tqdm import tqdm

import diffusion.logger.utils as du
Expand Down
3 changes: 2 additions & 1 deletion train_diff.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
import argparse

import torch
from loguru import logger
from torch.optim import lr_scheduler

from diffusion.data_loaders import get_data_loaders
from diffusion.logger import utils
from diffusion.solver import train
from diffusion.unit2mel import Unit2Mel
from diffusion.vocoder import Vocoder
from loguru import logger


def parse_args(args=None, namespace=None):
"""Parse command-line arguments."""
Expand Down

0 comments on commit befc459

Please sign in to comment.