-
Notifications
You must be signed in to change notification settings - Fork 93
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
TypeError: DCAE_HF.__init__() missing 1 required positional argument: 'model_name' #53
Comments
This may be a problem with my environment. My huggingface_hub version is 0.26.2. |
If possible, could you try 0.26.1 to see if the bug will fix. |
I reinstall huggingface 0.26.1 and there seems to be no such error. Thank you for your help |
huggingface-hub 0.27.0 @lawrence-cjTypeError: DCAE_HF.init() missing 1 required positional argument: 'model_name' |
If you use the replacement I mentioned above, will this bug be fixed? So maybe this is not an error about the package version but whether the checkpoint is downloaded? In my case, when I reinstalled 0.26.1 version, this bug is fixed. But I really forget whether the model has been downloaded. |
Your meaning is that the model download weights might be incomplete or the path might be incorrect? @Aziily |
Yeah, I mean maybe when the model downloaded, the model_name argument may not be required. So after downloading, the bug no longer exists. |
thanks !I try again |
When using the code in readme for inference without pre-downloading the models' weight, it seems that there will be such error.
I add one argument value in
diffusion/model/builder.py
to fix this.To be specific, in line 88:
This seems to be an error required for correction.
The text was updated successfully, but these errors were encountered: