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

[Bug]: using specific model in docker not working #147

Open
1 task done
acimail01 opened this issue Nov 5, 2024 · 0 comments
Open
1 task done

[Bug]: using specific model in docker not working #147

acimail01 opened this issue Nov 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@acimail01
Copy link

Describe the bug

download model to host folder

docker run --rm -it -v ${PWD}:/workdir beveradb/audio-separator --model_file_dir "./tmp/audio-separator/h" --model_filename htdemucs_6s.yaml --download_model_only

using model from folder

docker run --rm -it -v ${PWD}:/workdir beveradb/audio-separator --model_file_dir "./tmp/audio-separator/h" --model_filename htdemucs_6s.yaml mysong.mp3

Model download works, but separation command fails.
The audio separation does not work.

Have you searched for existing issues? 🔎

  • I have searched and found no existing issues.

Screenshots or Videos

No response

Logs

Traceback (most recent call last):
  File "/usr/local/bin/audio-separator", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/local/lib/python3.11/site-packages/audio_separator/utils/cli.py", line 208, in main
    output_files = separator.separate(audio_file, primary_output_name=args.primary_output_name, secondary_output_name=args.secondary_output_name)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/audio_separator/separator/separator.py", line 774, in separate
    output_files = self.model_instance.separate(audio_file_path, primary_output_name, secondary_output_name)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

System Info

Operating System: 
Python version: 
Other...

Additional Information

No response

@acimail01 acimail01 added the bug Something isn't working label Nov 5, 2024
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

1 participant