AssertionError
Opened this issue · 1 comments
tandongli192 commented
Hi
when i execute code 'python3 preprocess_durations.py --weights_path ./pretrained_ljs.pth --filelists filelists/ljs_audio_text_train_filelist.txt.cleaned filelists/ljs_audio_text_val_filelist.txt.cleaned filelists/ljs_audio_text_test_filelist.txt.cleaned',Error reporting information is “File ".../naturalspeech/vits/preprocess_durations.py", line 202, in
_ = utils.load_checkpoint(args.weights_path, net_g, None)
File ".../naturalspeech/vits/utils.py", line 19, in load_checkpoint
assert os.path.isfile(checkpoint_path)
AssertionError”. What can i do to deal with this problem?
athenasaurav commented
Hello @tandongli192
I didn't got any such error. Please ensure you have the *.pth file and text files in the correct directory.