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

Code proplem !!: phn2num = model.args.phn2num ----- AttributeError: 'Namespace' object has no attribute 'phn2num' #167

Open
zanzero-luck opened this issue Dec 22, 2024 · 0 comments

Comments

@zanzero-luck
Copy link

i try to run the file named inference_speech_editing.py. i download giga330m.pth to my local space and load the model use the path:model = voicecraft.VoiceCraft.from_pretrained(pretrained_model_name_or_path = "/home/zhang/VoiceCraft/pretrained_models/"). The code seems will load this model by config.json. but the error will happen when i meet code :phn2num = model.args.phn2num. how this happen?

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