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

there were 0 empty or blank utterances #5

Open
JiweiTian opened this issue Nov 7, 2023 · 0 comments
Open

there were 0 empty or blank utterances #5

JiweiTian opened this issue Nov 7, 2023 · 0 comments

Comments

@JiweiTian
Copy link

Please help fix the issue.
rootatm@DESKTOP-SHTIP30:/mnt/i/ASR/bert-text-diarization-atc-main$ bash data/databases/uwb_atcc/data_prepare_uwb_atcc_corpus.sh
there were 0 empty or blank utterances
printing the text file in: experiments/data/uwb_atcc/prep/text2_raw_spk
printing the text and tags file in: experiments/data/uwb_atcc/prep/utt2speakerid
Traceback (most recent call last):
File "/mnt/i/ASR/bert-text-diarization-atc-main/data/utils/gen_train_test.py", line 61, in
main()
File "/mnt/i/ASR/bert-text-diarization-atc-main/data/utils/gen_train_test.py", line 42, in main
x_train, x_test = train_test_split(
File "/home/rootatm/.local/lib/python3.10/site-packages/sklearn/utils/_param_validation.py", line 214, in wrapper
return func(*args, **kwargs)
File "/home/rootatm/.local/lib/python3.10/site-packages/sklearn/model_selection/_split.py", line 2649, in train_test_split
n_train, n_test = _validate_shuffle_split(
File "/home/rootatm/.local/lib/python3.10/site-packages/sklearn/model_selection/_split.py", line 2305, in _validate_shuffle_split
raise ValueError(
ValueError: With n_samples=0, test_size=None and train_size=0.8, the resulting train set will be empty. Adjust any of the aforementioned parameters.

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