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

IndexError: cannot do a non-empty take from an empty axes. #22

Open
fish0131 opened this issue Nov 19, 2023 · 0 comments
Open

IndexError: cannot do a non-empty take from an empty axes. #22

fish0131 opened this issue Nov 19, 2023 · 0 comments

Comments

@fish0131
Copy link

When I ran the preprocess.py, I would get this error: IndexError: cannot do a non-empty take from an empty axes.

Traceback (most recent call last):
File "preprocess.py", line 54, in
main(preprocessor, args.data_path, args.output_path)
File "preprocess.py", line 39, in main
datas = preprocessor.build_from_path(data_dir, out_dir)
File "/media/fish-bsp/fish_4TB/Audio/StyleSpeech-main/preprocessors/libritts.py", line 132, in build_from_path
f0 = remove_outlier(f0)

I think the problem is from here:
Selection_024

How can I revise the code to let it run successfully? Thanks.

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

1 participant