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

about data prepare #12

Open
bbrookie opened this issue Nov 9, 2020 · 1 comment
Open

about data prepare #12

bbrookie opened this issue Nov 9, 2020 · 1 comment

Comments

@bbrookie
Copy link

bbrookie commented Nov 9, 2020

Thank you for your open source code
When I run run_prepare_shared.sh, I ran into some problems. If I set the nj parameter on line 90 to 100 , the following problems will occur:
~/projects/EEND-master/egs/mini_librispeech/v1/utils/validate_data_dir.sh: no such directory data/simu/data/train_clean_5_ns2_beta2_500 run.pl: job failed, log is in data/simu/.work/random_mixture_train_clean_5_ns2_beta2_500.log utils/split_scp.pl: You are splitting into too many pieces! [reduce $nj (100) to be smaller than the number of lines (5) in data/simu/.work/mixture_train_clean_5_ns2_beta2_500.scp]
But if I set nj to 3, I will only get very little mixed audio.

Another problem is that no matter if I set nj to 3 or 100,There will always be an error record in this file(data/simu/.work/random_mixture_train_clean_5_ns2_beta2_500.log),which is:
Traceback (most recent call last): File "../../../eend/bin/random_mixture.py", line 123, in <module> rir = rirs[random.choice(all_rirs)] File "/home/tp/anaconda3/envs/EEND/lib/python3.7/random.py", line 261, in choice raise IndexError('Cannot choose from an empty sequence') from None IndexError: Cannot choose from an empty sequence

Can you help me answer how I should set the nj value, and how can I avoid problems in the log?Looking forward to your answer. Thanks!
@axuan731
Copy link

I have the same problem, do u know how to solve it? 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

2 participants