Sanster / iopaint-docs

https://iopaint-docs.vercel.app
MIT License
3 stars 2 forks source link

Premium Version Error #5

Open RFedz007989 opened 7 months ago

RFedz007989 commented 7 months ago

Hi,

I am getting this error when done processing through Windows 1 Click Installer, not able to save Image to output directory nor able to download manually...

I am getting this below mentioned error

127.0.0.1:11711 - "POST /api/v1/save_image HTTP/1.1" 405 Method Not Allowed

Pls Assist...

Thank You

Sanster commented 7 months ago

Thank you for your support! I've checked out the code and found the issue, you can resolve this by configuring the Input directory.

IMG_2532

RFedz007989 commented 7 months ago

Thank you for your support! I've checked out the code and found the issue, you can resolve this by configuring the Input directory.

IMG_2532

Thanks I will do as you said.

But now I am getting this error which is not allowing the process to start.

(RuntimeError: mat1 and mat2 must have the same dtype, but got Half and Float INFO: 127.0.0.1:13335 - "POST /api/v1/inpaint HTTP/1.1" 500 Internal Server Error)

Pls Fix this. Thank You

Sanster commented 7 months ago

Which model are you using? I'll take a look at the code.

RFedz007989 commented 7 months ago

Which model are you using? I'll take a look at the code.

I am using Stable diffusion Inpainting Model (Absolutereality safetensor) which was already there by default.

Sanster commented 7 months ago

Hi, I have fixed this issue in iopaint==1.1.1. You can run win_config.bat to upgrade.

RFedz007989 commented 7 months ago

Hi, I have fixed this issue in iopaint==1.1.1. You can run win_config.bat to upgrade.

Hi, I am still getting this error

(RuntimeError: mat1 and mat2 must have the same dtype, but got Half and Float INFO: 127.0.0.1:7269 - "POST /api/v1/inpaint HTTP/1.1" 500 Internal Server Error)

RFedz007989 commented 7 months ago

Hi, I have fixed this issue in iopaint==1.1.1. You can run win_config.bat to upgrade.

Hi, I am still getting this error

(RuntimeError: mat1 and mat2 must have the same dtype, but got Half and Float INFO: 127.0.0.1:7269 - "POST /api/v1/inpaint HTTP/1.1" 500 Internal Server Error)

Whenever I try to load SDXL models it gives me error (Failed to load Code 500 Internal Server Error)

Sanster commented 7 months ago
  1. Can you please upload the installer_config.json configuration file to help me locate the issue?

  2. When an error occurs, there will be more detailed error messages in the command line. Could you please take a screenshot for me?

    image
RFedz007989 commented 7 months ago
  1. Can you please upload the installer_config.json configuration file to help me locate the issue?
  2. When an error occurs, there will be more detailed error messages in the command line. Could you please take a screenshot for me?
image
  1. Can you please upload the installer_config.json configuration file to help me locate the issue?
  2. When an error occurs, there will be more detailed error messages in the command line. Could you please take a screenshot for me?
image

OK I will

RFedz007989 commented 7 months ago

installer_config.json

Pls check

RFedz007989 commented 7 months ago

Hi,

I uploaded 2 screenshots, as the length of it wasn't fitting in one screenshot. This error I encountered while loading SDXL Model. Hope this will help to fix the issue... 01 02

Thank You

Sanster commented 7 months ago

RuntimeError: mat1 and mat2 must have the same dtype, but got Half and Float

I reproduced this error when enabling ControlNet (no problem when it was disabled). It has been fixed in iopaint==1.1.2.

load single file(ckpt/safetensors) SDXL Model error

This issue is likely caused by not placing the sdxl file into the corresponding directory. You need to place the sdxl model into the stable_diffusion_xl directory in order for IOPaint to distinguish between sd and sdxl files.

- some cache_dir 
  |- stable_diffusion
      ├── sd-v1-5-inpainting.ckpt
      ├── sd-v1-5-inpainting.safetensors
      └── v1-5-pruned-emaonly.safetensors
  |- stable_diffusion_xl
      ├── sd_xl_base_1.0.safetensors
      └── sd_xl_base_1.0_inpainting_0.1.safetensors
RFedz007989 commented 7 months ago

RuntimeError: mat1 and mat2 must have the same dtype, but got Half and Float

I reproduced this error when enabling ControlNet (no problem when it was disabled). It has been fixed in iopaint==1.1.2.

load single file(ckpt/safetensors) SDXL Model error

This issue is likely caused by not placing the sdxl file into the corresponding directory. You need to place the sdxl model into the stable_diffusion_xl directory in order for IOPaint to distinguish between sd and sdxl files.

- some cache_dir 
  |- stable_diffusion
      ├── sd-v1-5-inpainting.ckpt
      ├── sd-v1-5-inpainting.safetensors
      └── v1-5-pruned-emaonly.safetensors
  |- stable_diffusion_xl
      ├── sd_xl_base_1.0.safetensors
      └── sd_xl_base_1.0_inpainting_0.1.safetensors

Thanks a lot. It's working just fine now without any bugs Thanks for fixing this asap If I get any issues I will for sure notify you. Have a Wonderful Weekend :)

Thank You

RFedz007989 commented 7 months ago

Hi,

I tried Segment Anything & just wanted to say that Left Positive Click (Green) is working Good, but when comes to right negative click (Red) doesn't work means when I right click for negative it shows Red point color, but when I click it reflects as Positive infact I clicked on Negative. can you pls check this.

I short left positive click is working fine, but right negative click is not working...

Thank You

Sanster commented 7 months ago
RFedz007989 commented 7 months ago
  • Can you upload a test image for me to try?
  • It might also be a problem with the SAM model's performance. You could try using a larger model. The default model used by IOPaint is vit_b. The larger the model, the better the performance. The size of the models is as follows: mobile_sam < vit_b < vit_l < vit_h.

Thanks I prefer using this vit_h I uploaded an Image. Pls try If possible pls record a very small clip when you are doing Negative point (Red) Thank You

Sanster commented 7 months ago

I have added several new SAM models. You can try them out and see how they work.

Here is a video demonstration of using Negative Point

https://github.com/Sanster/iopaint-docs/assets/3998421/03a6b61d-67ef-4d20-9bf6-2ced958a5685

RFedz007989 commented 7 months ago

I have added several new SAM models. You can try them out and see how they work.

  • sam_hq_vit_b
  • sam_hq_vit_l
  • sam_hq_vit_h

Here is a video demonstration of using Negative Point

sam.mp4

Thank You very much for demo video of how to use negative point. It's working good now.

RFedz007989 commented 6 months ago

Can you pls tell how to use Instruct2pix, as I am not able to locate in IOpaint tool. Thank You