How should I take it?Thank you!
apple12358lp opened this issue · 2 comments
sox WARN rate: rate clipped 27 samples; decrease volume?
sox WARN dither: dither clipped 25 samples; decrease volume?
sox WARN rate: rate clipped 3 samples; decrease volume?
sox WARN dither: dither clipped 2 samples; decrease volume?
60%|██████████████████████████▍ | 6/10 [00:27<00:36, 9.02s/it]sox WARN rate: rate clipped 4 samples; decrease volume?
sox WARN dither: dither clipped 4 samples; decrease volume?
100%|███████████████████████████████████████████| 10/10 [00:34<00:00, 5.55s/it]
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
number of workers: 10
0%| | 0/10 [00:00<?, ?it/s]concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
File "/root/anaconda3/envs/tensorflow/lib/python3.6/concurrent/futures/process.py", line 175, in _process_worker
r = call_item.fn(*call_item.args, **call_item.kwargs)
File "preprocess.py", line 50, in get_spk_world_feats
train_paths, test_paths = split_data(paths)
File "preprocess.py", line 42, in split_data
train_indices, test_indices = train_test_split(indices, test_size=test_size, random_state=1234)
File "/root/anaconda3/envs/tensorflow/lib/python3.6/site-packages/sklearn/model_selection/_split.py", line 2100, in train_test_split
default_test_size=0.25)
File "/root/anaconda3/envs/tensorflow/lib/python3.6/site-packages/sklearn/model_selection/_split.py", line 1782, in _validate_shuffle_split
train_size)
ValueError: With n_samples=0, test_size=0.1 and train_size=None, the resulting train set will be empty. Adjust any of the aforementioned parameters.
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "preprocess.py", line 130, in
result_list = [future.result() for future in tqdm(futures)]
File "preprocess.py", line 130, in
result_list = [future.result() for future in tqdm(futures)]
File "/root/anaconda3/envs/tensorflow/lib/python3.6/concurrent/futures/_base.py", line 405, in result
return self.__get_result()
File "/root/anaconda3/envs/tensorflow/lib/python3.6/concurrent/futures/_base.py", line 357, in __get_result
raise self._exception
ValueError: With n_samples=0, test_size=0.1 and train_size=None, the resulting train set will be empty. Adjust any of the aforementioned parameters.
^CError in atexit._run_exitfuncs:
I am also facing this issue. How did you solve it @apple12358lp ?
Did you solve this issue? @apple12358lp @Husnain08