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

This program simply doesn't work... #92

Open
jeanlopes opened this issue Mar 23, 2023 · 0 comments
Open

This program simply doesn't work... #92

jeanlopes opened this issue Mar 23, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@jeanlopes
Copy link

jeanlopes commented Mar 23, 2023

I pulled a docker image and just ran it.

This is the error:

2023-03-23 20:26:41 Loading model...
2023-03-23 20:26:41 Using built-in model /usr/local/lib/python3.6/dist-packages/omnizart/checkpoints/music/music_piano for transcription.
2023-03-23 20:26:49 Extracting feature...
Traceback (most recent call last):
File "/usr/local/bin/omnizart", line 5, in
entry()
File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 829, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/omnizart/cli/music/transcribe.py", line 30, in transcribe
music.app.transcribe(input_audio, model_path, output=output)
File "/usr/local/lib/python3.6/dist-packages/omnizart/music/app.py", line 108, in transcribe
harmonic=model_settings.feature.harmonic
File "/usr/local/lib/python3.6/dist-packages/omnizart/feature/wrapper_func.py", line 23, in extract_cfp_feature
z, spec, gcos, ceps, _ = cfp.extract_cfp(audio_path, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/omnizart/feature/cfp.py", line 306, in extract_cfp
return _extract_cfp(x, fs, down_fs=fs, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/omnizart/feature/cfp.py", line 234, in _extract_cfp
x, samples, max_sample, fr, fs, Hop, h, fc, tc, g, bin_per_octave
File "/usr/local/lib/python3.6/dist-packages/omnizart/feature/cfp.py", line 167, in parallel_extract
for idx, (feat_list, slice_idx) in feat_generator:
File "/usr/local/lib/python3.6/dist-packages/omnizart/utils.py", line 266, in parallel_generator
yield future.result(), future_to_input[future]
File "/usr/lib/python3.6/concurrent/futures/_base.py", line 425, in result
return self.__get_result()
File "/usr/lib/python3.6/concurrent/futures/_base.py", line 384, 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.

@jeanlopes jeanlopes changed the title This programs simply doesn't work... This program simply doesn't work... Mar 23, 2023
@yoyolicoris yoyolicoris added the bug Something isn't working label Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants