-
Notifications
You must be signed in to change notification settings - Fork 44
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
'is_inpainting_task': 'inpainting' in model.name_or_path #26
Comments
Do you run inpainting following the code in readme? Or you use your own code |
I have the same problem |
You can check whether model is NoneType. Or can you show your code? |
Same error here. Code snippets:
diffusers==0.29.0 |
A solution was already posted here but never added to the repo #3 EDIT: It looks like the codebase has changed where this solution was applied before. I'll try to update and submit a PR today.
Additionally, it seems to be expecting the pipeline to have a _num_timesteps attribute. Since there was previously a hard-coded value of 50, I assume this is num_inference_steps. I was able to solve this by doing the following before inference:
After implementing these changes it is working. |
Traceback (most recent call last):
File "/home/zznet/workspace/ai-pipe/prod-ai-pipe-replace-model/runpod_app.py", line 14, in
from pipe import text2img, getText2imgPipe, set_sampler, compel
File "/home/zznet/workspace/ai-pipe/prod-ai-pipe-replace-model/pipe.py", line 34, in
apply_hidiffusion(text2imgPipe)
File "/home/zznet/.local/lib/python3.10/site-packages/hidiffusion/hidiffusion.py", line 1959, in apply_hidiffusion
'is_inpainting_task': 'inpainting' in model.name_or_path,
TypeError: argument of type 'NoneType' is not iterable
The text was updated successfully, but these errors were encountered: