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

No such file or directory: '/home/powerop/work/rwq/myoperate/text2audio/speaker_embeddings/v2/en_speaker_6.npz' #606

Open
ArlanCooper opened this issue Oct 8, 2024 · 0 comments

Comments

@ArlanCooper
Copy link

i use the example as the code:

from transformers import AutoProcessor, BarkModel

processor = AutoProcessor.from_pretrained("/home/powerop/work/rwq/myoperate/text2audio")
model = BarkModel.from_pretrained("/home/powerop/work/rwq/myoperate/text2audio")
voice_preset = "/home/powerop/work/rwq/myoperate/text2audio/speaker_embeddings/v2/en_speaker_6"
inputs = processor("Hello, my dog is cute", voice_preset=voice_preset)

I got the error as this :

FileNotFoundError: [Errno 2] No such file or directory: '/home/powerop/work/rwq/myoperate/text2audio/speaker_embeddings/v2/en_speaker_6.npz'

can't find the 'npz' file, how to solve this? thanks

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

1 participant