Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AssertionError #15

Open
tandongli192 opened this issue Mar 30, 2023 · 1 comment
Open

AssertionError #15

tandongli192 opened this issue Mar 30, 2023 · 1 comment

Comments

@tandongli192
Copy link

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
Copy link

Hello @tandongli192

I didn't got any such error. Please ensure you have the *.pth file and text files in the correct directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants