forked from mrq/DL-Art-School
Misc
This commit is contained in:
parent
fff1a59e08
commit
81e91c99de
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -5,6 +5,7 @@ datasets/*
|
|||
options/*
|
||||
codes/*.txt
|
||||
codes/wandb/*
|
||||
codes/pretrained_models/*
|
||||
data/*
|
||||
.vscode
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ if __name__ == '__main__':
|
|||
separator = Separator('spleeter:2stems')
|
||||
files = find_audio_files(src_dir, include_nonwav=True)
|
||||
for e, file in enumerate(tqdm(files)):
|
||||
if e < 3055:
|
||||
if e < 1:
|
||||
continue
|
||||
file_basis = osp.relpath(file, src_dir)\
|
||||
.replace('/', '_')\
|
||||
|
|
|
@ -54,7 +54,7 @@ if __name__ == "__main__":
|
|||
torch.backends.cudnn.benchmark = True
|
||||
want_metrics = False
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('-opt', type=str, help='Path to options YAML file.', default='../options/test_gpt_tts_lj.yml')
|
||||
parser.add_argument('-opt', type=str, help='Path to options YAML file.', default='../options/test_lrdvae_audio_mozcv.yml')
|
||||
opt = option.parse(parser.parse_args().opt, is_train=False)
|
||||
opt = option.dict_to_nonedict(opt)
|
||||
utils.util.loaded_options = opt
|
||||
|
|
Loading…
Reference in New Issue
Block a user