You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 13, 2022. It is now read-only.
An error occurred when I ran the following codes (egs/librispeech/asr/simple_v1/prepare.py:45) on Xiaomi's server (the one with the IP address 10.xx.x.72):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3.8/multiprocessing/spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "/usr/lib/python3.8/multiprocessing/spawn.py", line 125, in _main
prepare(preparation_data)
File "/usr/lib/python3.8/multiprocessing/spawn.py", line 236, in prepare
_fixup_main_from_path(data['init_main_from_path'])
...
File "/usr/lib/python3.8/multiprocessing/spawn.py", line 154, in get_preparation_data
_check_not_importing_main()
File "/usr/lib/python3.8/multiprocessing/spawn.py", line 134, in _check_not_importing_main
raise RuntimeError('''
RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.
This probably means that you are not using fork to start your
child processes and you have forgotten to use the proper idiom
in the main module:
if __name__ == '__main__':
freeze_support()
...
The "freeze_support()" line can be omitted if the program
is not going to be frozen to produce an executable.
Traceback (most recent call last):
File "prepare.py", line 45, in <module>
cut_set = cut_set.compute_and_store_features(
File "lhotse/lhotse/cut.py", line 1328, in compute_and_store_features
cut_set = CutSet.from_cuts(f.result() for f in futures)
File "lhotse/lhotse/cut.py", line 989, in from_cuts
return CutSet({cut.id: cut for cut in cuts})
File "lhotse/lhotse/cut.py", line 989, in <dictcomp>
return CutSet({cut.id: cut for cut in cuts})
File "lhotse/lhotse/cut.py", line 1328, in <genexpr>
cut_set = CutSet.from_cuts(f.result() for f in futures)
File "/usr/lib/python3.8/concurrent/futures/_base.py", line 439, in result
return self.__get_result()
File "/usr/lib/python3.8/concurrent/futures/_base.py", line 388, in __get_result
raise self._exception
concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.
I'm not have experience with ProcessPoolExecutor so I haven't found the reason of this error.
The text was updated successfully, but these errors were encountered:
An error occurred when I ran the following codes (
egs/librispeech/asr/simple_v1/prepare.py:45
) on Xiaomi's server (the one with the IP address 10.xx.x.72):The error message:
I'm not have experience with
ProcessPoolExecutor
so I haven't found the reason of this error.The text was updated successfully, but these errors were encountered: