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

TypeError in Colab demo #2

Closed
wandrzej opened this issue Aug 4, 2021 · 5 comments
Closed

TypeError in Colab demo #2

wandrzej opened this issue Aug 4, 2021 · 5 comments

Comments

@wandrzej
Copy link

wandrzej commented Aug 4, 2021

All 3 blocks for image generation produce this error:
TypeError: image_editing_denoising_step_flexible_mask() got an unexpected keyword argument 'return_pred_xstart'

@weihaox
Copy link

weihaox commented Aug 5, 2021

Delete line 106 return_pred_xstart=False in colab_utils/utils.py.

截屏2021-08-05 下午11 29 33

@AK391
Copy link

AK391 commented Aug 5, 2021

@weihaox still getting the error did you restart the notebook?

@weihaox
Copy link

weihaox commented Aug 5, 2021

@weihaox still getting the error did you restart the notebook?

Yes, you need to restart the notebook. It seems that modifications in colab would take some time to become effective. You can add some print command to see if the modified script is working.

@chenlin9
Copy link
Collaborator

chenlin9 commented Aug 6, 2021

Thank you for starting the discussion. The issue in the notebook should be fixed now.
We updated colab_utils/utils.py line 106, return_pred_xstart=False is now removed.
Let us know if there are any other issues with the notebook! Thank you!

@chenlin9
Copy link
Collaborator

chenlin9 commented Aug 6, 2021

Delete line 106 return_pred_xstart=False in colab_utils/utils.py.

截屏2021-08-05 下午11 29 33

Yeah, that seems to be the issue. Thank you for pointing that out!

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

5 participants