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

NameError: name 'inverse_image' is not defined #53

Closed
alienhd opened this issue Jun 26, 2023 · 2 comments
Closed

NameError: name 'inverse_image' is not defined #53

alienhd opened this issue Jun 26, 2023 · 2 comments

Comments

@alienhd
Copy link

alienhd commented Jun 26, 2023

When trying to import a custom image file, I always receive the error message:

File "PathtoDragGAN\draggan\web.py", line 183, in on_image_change
    result = inverse_image(
NameError: name 'inverse_image' is not defined
@alienhd alienhd closed this as completed Jun 26, 2023
@alienhd alienhd closed this as not planned Won't fix, can't repro, duplicate, stale Jun 26, 2023
@alienhd alienhd reopened this Jun 26, 2023
@ulucsahin
Copy link

Have you been able to solve this issue?

@alienhd
Copy link
Author

alienhd commented Jun 30, 2023

The creator wrote:

1.1.5 has a major update which makes old inverse_image incompatible. I am still working on the new one. If you want to try custom image now. Downgrade to 1.1.0

pip install draggan==1.1.0

See: OpenGVLab/DragGAN#96

@alienhd alienhd closed this as completed Aug 4, 2023
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

2 participants