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

Missing models/ folder referenced by infer.py #94

Open
littlexx15 opened this issue Mar 11, 2025 · 3 comments
Open

Missing models/ folder referenced by infer.py #94

littlexx15 opened this issue Mar 11, 2025 · 3 comments

Comments

@littlexx15
Copy link

Hello, thank you for providing the YuEGP project!

I’m currently on the main branch and trying to run infer.py, but it references models.soundstream_hubert_new. In my local clone, there is no models/ folder or soundstream_hubert_new.py file, which leads to this error:
ModuleNotFoundError: No module named 'models'
Is there a different branch or additional resource I need to download? Or is the models/ folder supposed to be located elsewhere? I’d love to get the text-to-music inference fully working. Thank you for your help!

@HerrFrodo
Copy link

I'm facing the same issue

@WrongProtocol
Copy link

it sounds like you didnt install the xcodec package into the inference directory.
cd inference
git clone https://huggingface.co/m-a-p/xcodec_mini_infer

@HerrFrodo
Copy link

That was indeed the error. Now I feel stupid.

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