-
Notifications
You must be signed in to change notification settings - Fork 87
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: RegionalDiffusionXLPipeline.__init__() missing 2 required positional arguments: 'text_encoder_2' and 'tokenizer_2' #41
Comments
Thank you for your feedback, but the information you have provided is limited, please give more detailed configuration so that we can help you. |
Thanks for your reply. I have this message when I try to utilize the anything-v3 model, as well as the absolutereality model. Should I change the pipeline? Thanks! |
Anything-v3 is SDv1.4/1.5 based architecture, so you can use RegionalDiffusionPipeline to load the model. The reason why you got this error is because SDXL model have an extra textencoder and an extra tokenizer compare to SD v1.4/1.5 models, so if you use RegionalDiffusionXLPipeline it will report the model is missing some components. I just update the REAMDE to clarify the issuse, thank you for your gentle remind. |
Thanks for the explanation :) |
TypeError: RegionalDiffusionXLPipeline.init() missing 2 required positional arguments: 'text_encoder_2' and 'tokenizer_2'
The text was updated successfully, but these errors were encountered: