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

[BUG] Extending the Picture is not working #569

Open
martin-neumann-gurus opened this issue Sep 20, 2024 · 7 comments
Open

[BUG] Extending the Picture is not working #569

martin-neumann-gurus opened this issue Sep 20, 2024 · 7 comments

Comments

@martin-neumann-gurus
Copy link

Model
PowerPaint-V1-stable-diffusion-inpainting

Describe the bug
I am trying to extend a picture. I manage to download the model. But when starting IOPaint I get the error:
Uh! Oh! Something went wrong.
Request failed with status code 500

I can still load an image and select the Extender. When pressing Paint I get another error:
Something went wrong: 'ModelManager' object has no attribute 'model'

System Info
Software version used

  • iopaint: 1.4.2
  • pytorch:
  • CUDA:
@Kittyskj
Copy link

Same Error with lama 500 plus this error

2024-09-22 23:15:18.279 | WARNING | iopaint.runtime:check_device:67 - CUDA is not available, use cpu instead
C:\Users\Corupa\AppData\Local\Programs\Python\Python312\Lib\site-packages\iopaint\model\ldm.py:279: FutureWarning: torch.cuda.amp.autocast(args...) is deprecated. Please use torch.amp.autocast('cuda', args...) instead.
@torch.cuda.amp.autocast()

@Kittyskj
Copy link

Model PowerPaint-V1-stable-diffusion-inpainting

Describe the bug I am trying to extend a picture. I manage to download the model. But when starting IOPaint I get the error: Uh! Oh! Something went wrong. Request failed with status code 500

I can still load an image and select the Extender. When pressing Paint I get another error: Something went wrong: 'ModelManager' object has no attribute 'model'

System Info Software version used

  • iopaint: 1.4.2
  • pytorch:
  • CUDA:

Inspect please with F12 and recording + please add pytorch and cuda version

@martin-neumann-gurus
Copy link
Author

The console gives me this output:
[extension] Script Started Object
:8080/api/v1/inputimage:1

   Failed to load resource: the server responded with a status of 404 (Not Found)Understand this error

:8080/favicon.ico:1

   Failed to load resource: the server responded with a status of 404 (Not Found)Understand this error

:8080/api/v1/medias?tab=input:1

   Failed to load resource: the server responded with a status of 500 (Internal Server Error)Understand this error

localhost/:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was receivedUnderstand this error
content.js:1 [extension] Script Started Object
content.js:1 [extension] Bardeen already loaded
log @ content.js:1
Show 1 more frame
Show lessUnderstand this error
2localhost/:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was receivedUnderstand this error
index-ydVO5PAq.js:160 [useEffect] centerView
index-ydVO5PAq.js:160 [on file load] image size: 763x765, scale: 0.984313725490196, initialCentered: false
index-ydVO5PAq.js:160 [on file load] set canvas size
index-ydVO5PAq.js:160 [on file load] centerView
index-ydVO5PAq.js:160 [on file load] image size: 763x765, scale: 0.984313725490196, initialCentered: false
index-ydVO5PAq.js:160 [on file load] set canvas size
index-ydVO5PAq.js:160 [on file load] centerView
index-ydVO5PAq.js:160 [useEffect] centerView
index-ydVO5PAq.js:160 [on file load] image size: 763x765, scale: 0.984313725490196, initialCentered: true
index-ydVO5PAq.js:160 [on file load] set canvas size
index-ydVO5PAq.js:160 [useEffect] centerView
index-ydVO5PAq.js:160 [on file load] image size: 763x765, scale: 0.984313725490196, initialCentered: true
index-ydVO5PAq.js:160 [on file load] set canvas size
index-ydVO5PAq.js:44

   POST http://localhost:8080/api/v1/inpaint 500 (Internal Server Error)

WF @ index-ydVO5PAq.js:44
await in WF
runInpainting @ index-ydVO5PAq.js:60
m @ index-ydVO5PAq.js:100
lD @ index-ydVO5PAq.js:37
uD @ index-ydVO5PAq.js:37
dD @ index-ydVO5PAq.js:37
bE @ index-ydVO5PAq.js:37
M5 @ index-ydVO5PAq.js:37
(anonymous) @ index-ydVO5PAq.js:37
Yw @ index-ydVO5PAq.js:40
n5 @ index-ydVO5PAq.js:37
i0 @ index-ydVO5PAq.js:37
Sw @ index-ydVO5PAq.js:37
RD @ index-ydVO5PAq.js:37Understand this error
[Violation] Forced reflow while executing JavaScript took 38ms
[Violation] Forced reflow while executing JavaScript took 65ms

So seems that the API request is not working correctly.
Now I do not know where to look up the pytorch and CUDA version. If you tell me more I can look that up.

@Kittyskj
Copy link

You can see the version when program starting. But in case of this error i don't know what to do, we need wait developer

@martin-neumann-gurus
Copy link
Author

2024-09-24
These are the version numbers I am getting, but I do not know which ones you need to know.

@Kittyskj
Copy link

Kittyskj commented Oct 1, 2024

No response 😕

@Kittyskj
Copy link

@Sanster

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