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

ImportError: cannot import name 'inference' from 'pipeline' #41

Open
jurassicjordan opened this issue Apr 25, 2024 · 3 comments
Open

ImportError: cannot import name 'inference' from 'pipeline' #41

jurassicjordan opened this issue Apr 25, 2024 · 3 comments

Comments

@jurassicjordan
Copy link

this is probably just me being really bad at coding, I'm trying to run the example inference code in README and am getting this error:
ImportError: cannot import name 'inference' from 'pipeline' (/home/jordancruz/Tools/AudioSep/pipeline.py)

am I doing something wrong?

@atreydesai
Copy link

They changed the name of the function and didn't update the README. Replace all mentions of inference with separate_audio in the example code and it will run.

@clove-angel
Copy link

Using python benchmark.py --checkpoint_path audiosep_base_4M_steps.ckpt displays an error FileNotFoundError: [Errno 2] No such file or directory: 'evaluation/data/clotho\segment-0.wav' How to use clotho in the evaluation data I downloaded through the link?

@atreydesai
Copy link

You have to download the clotho dataset here: https://paperswithcode.com/dataset/clotho

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

3 participants