[BUG]--output-dir bug
Closed this issue · 8 comments
Model
lama
Describe the bug
when using file manager to inpaint , the saved image is not in the specified directory
Screenshots
.
System Info
Software version used
- Platform: Windows-10-10.0.22631-SP0
- Python version: 3.11.0
- torch: 2.0.0+cu118
- torchvision: 0.15.0+cu118
- Pillow: 9.5.0
- diffusers: 0.27.2
- transformers: 4.46.2
- opencv-python: 4.10.0.84
- accelerate: 1.1.1
- iopaint: 1.5.1
- rembg: N/A
INFO: 127.0.0.1:55198 - "POST /api/v1/gen-info HTTP/1.1" 200 OK
2024-11-13 00:26:26.366 | INFO | iopaint.schema:validate_field:419 - Generate random seed: 50818476
2024-11-13 00:26:26.396 | INFO | iopaint.model.base:__call__:97 - Run crop strategy
2024-11-13 00:26:27.306 | INFO | iopaint.api:api_inpaint:275 - process time: 910.32ms
INFO: 127.0.0.1:55198 - "POST /api/v1/inpaint HTTP/1.1" 200 OK
INFO: 127.0.0.1:55198 - "POST /api/v1/save_image HTTP/1.1" 200 OK
logs say the image is saved but its nowhere to be found (im using cuda version of torch as mentioned in the installation)
Same problem here. After clicking the "Save Image" button, the UI shows "Save Image success," but the image isn't saved, and a deprecation error occurs.
The output folder is accessible - when there are images in the input folder, a thumbnails folder is automatically created in the specified output folder.
The CTRL+C and CTRL+S shortcuts do not work in the UI, neither to save nor to copy the image.
I deleted the entire folder and performed a clean install, but the result remains the same, regardless of the model or checkpoint used.
Tested on Chrome and Firefox.
2024-11-13 19:23:45.326 | INFO | iopaint.runtime:setup_model_dir:80 - Model directory: D:\IOPaint\Models
- Platform: Windows-10-10.0.22631-SP0
- Python version: 3.10.6
- torch: 2.1.2+cu118
- torchvision: 0.16.2+cu118
- Pillow: 9.5.0
- diffusers: 0.27.2
- transformers: 4.46.2
- opencv-python: 4.10.0.84
- accelerate: 1.1.1
- iopaint: 1.5.1
- rembg: 2.0.59
2024-11-13 19:23:46.968 | INFO | iopaint.cli:start:159 - Image will be saved to D:\IOPaint\Output
D:\IOPaint\installer\lib\site-packages\diffusers\models\unet_2d_condition.py:20: FutureWarning: UNet2DConditionOutput
is deprecated and will be removed in version 0.29. Importing UNet2DConditionOutput
from diffusers.models.unet_2d_condition
is deprecated and this will be removed in a future version. Please use from diffusers.models.unets.unet_2d_condition import UNet2DConditionOutput
, instead.
deprecate("UNet2DConditionOutput", "0.29", deprecation_message)
D:\IOPaint\installer\lib\site-packages\diffusers\models\unet_2d_condition.py:25: FutureWarning: UNet2DConditionModel
is deprecated and will be removed in version 0.29. Importing UNet2DConditionModel
from diffusers.models.unet_2d_condition
is deprecated and this will be removed in a future version. Please use from diffusers.models.unets.unet_2d_condition import UNet2DConditionModel
, instead.
deprecate("UNet2DConditionModel", "0.29", deprecation_message)
D:\IOPaint\installer\lib\site-packages\diffusers\models\unet_2d_blocks.py:249: FutureWarning: AutoencoderTinyBlock
is deprecated and will be removed in version 0.29. Importing AutoencoderTinyBlock
from diffusers.models.unet_2d_blocks
is deprecated and this will be removed in a future version. Please use from diffusers.models.unets.unet_2d_blocks import AutoencoderTinyBlock
, instead.
deprecate("AutoencoderTinyBlock", "0.29", deprecation_message)
D:\IOPaint\installer\lib\site-packages\diffusers\models\unet_2d_blocks.py:254: FutureWarning: UNetMidBlock2D
is deprecated and will be removed in version 0.29. Importing UNetMidBlock2D
from diffusers.models.unet_2d_blocks
is deprecated and this will be removed in a future version. Please use from diffusers.models.unets.unet_2d_blocks import UNetMidBlock2D
, instead.
deprecate("UNetMidBlock2D", "0.29", deprecation_message)
D:\IOPaint\installer\lib\site-packages\diffusers\models\unet_2d_blocks.py:259: FutureWarning: UNetMidBlock2DCrossAttn
is deprecated and will be removed in version 0.29. Importing UNetMidBlock2DCrossAttn
from diffusers.models.unet_2d_blocks
is deprecated and this will be removed in a future version. Please use from diffusers.models.unets.unet_2d_blocks import UNetMidBlock2DCrossAttn
, instead.
deprecate("UNetMidBlock2DCrossAttn", "0.29", deprecation_message)
D:\IOPaint\installer\lib\site-packages\diffusers\models\unet_2d_blocks.py:264: FutureWarning: UNetMidBlock2DSimpleCrossAttn
is deprecated and will be removed in version 0.29. Importing UNetMidBlock2DSimpleCrossAttn
from diffusers.models.unet_2d_blocks
is deprecated and this will be removed in a future version. Please use from diffusers.models.unets.unet_2d_blocks import UNetMidBlock2DSimpleCrossAttn
, instead.
deprecate("UNetMidBlock2DSimpleCrossAttn", "0.29", deprecation_message)
D:\IOPaint\installer\lib\site-packages\diffusers\models\unet_2d_blocks.py:269: FutureWarning: AttnDownBlock2D
is deprecated and will be removed in version 0.29. Importing AttnDownBlock2D
from diffusers.models.unet_2d_blocks
is deprecated and this will be removed in a future version. Please use from diffusers.models.unets.unet_2d_blocks import AttnDownBlock2D
, instead.
deprecate("AttnDownBlock2D", "0.29", deprecation_message)
D:\IOPaint\installer\lib\site-packages\diffusers\models\unet_2d_blocks.py:274: FutureWarning: CrossAttnDownBlock2D
is deprecated and will be removed in version 0.29. Importing AttnDownBlock2D
from diffusers.models.unet_2d_blocks
is deprecated and this will be removed in a future version. Please use from diffusers.models.unets.unet_2d_blocks import CrossAttnDownBlock2D
, instead.
deprecate("CrossAttnDownBlock2D", "0.29", deprecation_message)
D:\IOPaint\installer\lib\site-packages\diffusers\models\unet_2d_blocks.py:279: FutureWarning: DownBlock2D
is deprecated and will be removed in version 0.29. Importing DownBlock2D
from diffusers.models.unet_2d_blocks
is deprecated and this will be removed in a future version. Please use from diffusers.models.unets.unet_2d_blocks import DownBlock2D
, instead.
deprecate("DownBlock2D", "0.29", deprecation_message)
D:\IOPaint\installer\lib\site-packages\diffusers\models\unet_2d_blocks.py:284: FutureWarning: AttnDownEncoderBlock2D
is deprecated and will be removed in version 0.29. Importing AttnDownEncoderBlock2D
from diffusers.models.unet_2d_blocks
is deprecated and this will be removed in a future version. Please use from diffusers.models.unets.unet_2d_blocks import AttnDownEncoderBlock2D
, instead.
deprecate("AttnDownEncoderBlock2D", "0.29", deprecation_message)
D:\IOPaint\installer\lib\site-packages\diffusers\models\unet_2d_blocks.py:289: FutureWarning: AttnSkipDownBlock2D
is deprecated and will be removed in version 0.29. Importing AttnSkipDownBlock2D
from diffusers.models.unet_2d_blocks
is deprecated and this will be removed in a future version. Please use from diffusers.models.unets.unet_2d_blocks import AttnSkipDownBlock2D
, instead.
deprecate("AttnSkipDownBlock2D", "0.29", deprecation_message)
D:\IOPaint\installer\lib\site-packages\diffusers\models\unet_2d_blocks.py:294: FutureWarning: SkipDownBlock2D
is deprecated and will be removed in version 0.29. Importing SkipDownBlock2D
from diffusers.models.unet_2d_blocks
is deprecated and this will be removed in a future version. Please use from diffusers.models.unets.unet_2d_blocks import SkipDownBlock2D
, instead.
deprecate("SkipDownBlock2D", "0.29", deprecation_message)
D:\IOPaint\installer\lib\site-packages\diffusers\models\unet_2d_blocks.py:299: FutureWarning: ResnetDownsampleBlock2D
is deprecated and will be removed in version 0.29. Importing ResnetDownsampleBlock2D
from diffusers.models.unet_2d_blocks
is deprecated and this will be removed in a future version. Please use from diffusers.models.unets.unet_2d_blocks import ResnetDownsampleBlock2D
, instead.
deprecate("ResnetDownsampleBlock2D", "0.29", deprecation_message)
D:\IOPaint\installer\lib\site-packages\diffusers\models\unet_2d_blocks.py:304: FutureWarning: SimpleCrossAttnDownBlock2D
is deprecated and will be removed in version 0.29. Importing SimpleCrossAttnDownBlock2D
from diffusers.models.unet_2d_blocks
is deprecated and this will be removed in a future version. Please use from diffusers.models.unets.unet_2d_blocks import SimpleCrossAttnDownBlock2D
, instead.
deprecate("SimpleCrossAttnDownBlock2D", "0.29", deprecation_message)
D:\IOPaint\installer\lib\site-packages\diffusers\models\unet_2d_blocks.py:309: FutureWarning: KDownBlock2D
is deprecated and will be removed in version 0.29. Importing KDownBlock2D
from diffusers.models.unet_2d_blocks
is deprecated and this will be removed in a future version. Please use from diffusers.models.unets.unet_2d_blocks import KDownBlock2D
, instead.
deprecate("KDownBlock2D", "0.29", deprecation_message)
D:\IOPaint\installer\lib\site-packages\diffusers\models\unet_2d_blocks.py:314: FutureWarning: KCrossAttnDownBlock2D
is deprecated and will be removed in version 0.29. Importing KCrossAttnDownBlock2D
from diffusers.models.unet_2d_blocks
is deprecated and this will be removed in a future version. Please use from diffusers.models.unets.unet_2d_blocks import KCrossAttnDownBlock2D
, instead.
deprecate("KCrossAttnDownBlock2D", "0.29", deprecation_message)
D:\IOPaint\installer\lib\site-packages\diffusers\models\unet_2d_blocks.py:319: FutureWarning: AttnUpBlock2D
is deprecated and will be removed in version 0.29. Importing AttnUpBlock2D
from diffusers.models.unet_2d_blocks
is deprecated and this will be removed in a future version. Please use from diffusers.models.unets.unet_2d_blocks import AttnUpBlock2D
, instead.
deprecate("AttnUpBlock2D", "0.29", deprecation_message)
D:\IOPaint\installer\lib\site-packages\diffusers\models\unet_2d_blocks.py:324: FutureWarning: CrossAttnUpBlock2D
is deprecated and will be removed in version 0.29. Importing CrossAttnUpBlock2D
from diffusers.models.unet_2d_blocks
is deprecated and this will be removed in a future version. Please use from diffusers.models.unets.unet_2d_blocks import CrossAttnUpBlock2D
, instead.
deprecate("CrossAttnUpBlock2D", "0.29", deprecation_message)
D:\IOPaint\installer\lib\site-packages\diffusers\models\unet_2d_blocks.py:329: FutureWarning: UpBlock2D
is deprecated and will be removed in version 0.29. Importing UpBlock2D
from diffusers.models.unet_2d_blocks
is deprecated and this will be removed in a future version. Please use from diffusers.models.unets.unet_2d_blocks import UpBlock2D
, instead.
deprecate("UpBlock2D", "0.29", deprecation_message)
D:\IOPaint\installer\lib\site-packages\diffusers\models\unet_2d_blocks.py:334: FutureWarning: UpDecoderBlock2D
is deprecated and will be removed in version 0.29. Importing UpDecoderBlock2D
from diffusers.models.unet_2d_blocks
is deprecated and this will be removed in a future version. Please use from diffusers.models.unets.unet_2d_blocks import UpDecoderBlock2D
, instead.
deprecate("UpDecoderBlock2D", "0.29", deprecation_message)
D:\IOPaint\installer\lib\site-packages\diffusers\models\unet_2d_blocks.py:339: FutureWarning: AttnUpDecoderBlock2D
is deprecated and will be removed in version 0.29. Importing AttnUpDecoderBlock2D
from diffusers.models.unet_2d_blocks
is deprecated and this will be removed in a future version. Please use from diffusers.models.unets.unet_2d_blocks import AttnUpDecoderBlock2D
, instead.
deprecate("AttnUpDecoderBlock2D", "0.29", deprecation_message)
D:\IOPaint\installer\lib\site-packages\diffusers\models\unet_2d_blocks.py:344: FutureWarning: AttnSkipUpBlock2D
is deprecated and will be removed in version 0.29. Importing AttnSkipUpBlock2D
from diffusers.models.unet_2d_blocks
is deprecated and this will be removed in a future version. Please use from diffusers.models.unets.unet_2d_blocks import AttnSkipUpBlock2D
, instead.
deprecate("AttnSkipUpBlock2D", "0.29", deprecation_message)
D:\IOPaint\installer\lib\site-packages\diffusers\models\unet_2d_blocks.py:349: FutureWarning: SkipUpBlock2D
is deprecated and will be removed in version 0.29. Importing SkipUpBlock2D
from diffusers.models.unet_2d_blocks
is deprecated and this will be removed in a future version. Please use from diffusers.models.unets.unet_2d_blocks import SkipUpBlock2D
, instead.
deprecate("SkipUpBlock2D", "0.29", deprecation_message)
D:\IOPaint\installer\lib\site-packages\diffusers\models\unet_2d_blocks.py:354: FutureWarning: ResnetUpsampleBlock2D
is deprecated and will be removed in version 0.29. Importing ResnetUpsampleBlock2D
from diffusers.models.unet_2d_blocks
is deprecated and this will be removed in a future version. Please use from diffusers.models.unets.unet_2d_blocks import ResnetUpsampleBlock2D
, instead.
deprecate("ResnetUpsampleBlock2D", "0.29", deprecation_message)
D:\IOPaint\installer\lib\site-packages\diffusers\models\unet_2d_blocks.py:359: FutureWarning: SimpleCrossAttnUpBlock2D
is deprecated and will be removed in version 0.29. Importing SimpleCrossAttnUpBlock2D
from diffusers.models.unet_2d_blocks
is deprecated and this will be removed in a future version. Please use from diffusers.models.unets.unet_2d_blocks import SimpleCrossAttnUpBlock2D
, instead.
deprecate("SimpleCrossAttnUpBlock2D", "0.29", deprecation_message)
D:\IOPaint\installer\lib\site-packages\diffusers\models\unet_2d_blocks.py:364: FutureWarning: KUpBlock2D
is deprecated and will be removed in version 0.29. Importing KUpBlock2D
from diffusers.models.unet_2d_blocks
is deprecated and this will be removed in a future version. Please use from diffusers.models.unets.unet_2d_blocks import KUpBlock2D
, instead.
deprecate("KUpBlock2D", "0.29", deprecation_message)
D:\IOPaint\installer\lib\site-packages\diffusers\models\unet_2d_blocks.py:369: FutureWarning: KCrossAttnUpBlock2D
is deprecated and will be removed in version 0.29. Importing KCrossAttnUpBlock2D
from diffusers.models.unet_2d_blocks
is deprecated and this will be removed in a future version. Please use from diffusers.models.unets.unet_2d_blocks import KCrossAttnUpBlock2D
, instead.
deprecate("KCrossAttnUpBlock2D", "0.29", deprecation_message)
D:\IOPaint\installer\lib\site-packages\diffusers\models\unet_2d_blocks.py:375: FutureWarning: KAttentionBlock
is deprecated and will be removed in version 0.29. Importing KAttentionBlock
from diffusers.models.unet_2d_blocks
is deprecated and this will be removed in a future version. Please use from diffusers.models.unets.unet_2d_blocks import KAttentionBlock
, instead.
deprecate("KAttentionBlock", "0.29", deprecation_message)
{
"host": "127.0.0.1",
"port": 8080,
"inbrowser": true,
"model": "zits",
"no_half": false,
"low_mem": false,
"cpu_offload": false,
"disable_nsfw_checker": false,
"local_files_only": false,
"cpu_textencoder": false,
"device": "cuda",
"input": "D:\IOPaint\Input",
"mask_dir": "D:\IOPaint\Mask",
"output_dir": "D:\IOPaint\Output",
"quality": 95,
"enable_interactive_seg": false,
"interactive_seg_model": "sam2_1_tiny",
"interactive_seg_device": "cuda",
"enable_remove_bg": true,
"remove_bg_model": "briaai/RMBG-1.4",
"enable_anime_seg": false,
"enable_realesrgan": true,
"realesrgan_device": "cuda",
"realesrgan_model": "realesr-general-x4v3",
"enable_gfpgan": true,
"gfpgan_device": "cuda",
"enable_restoreformer": true,
"restoreformer_device": "cuda"
}
2024-11-13 19:23:48.488 | INFO | iopaint.api:_build_file_manager:360 - Input is directory, initialize file manager D:\IOPaint\Input
2024-11-13 19:23:48.492 | INFO | iopaint.plugins:build_plugins:38 - Initialize RemoveBG plugin
2024-11-13 19:23:49.907 | INFO | iopaint.plugins:build_plugins:46 - Initialize RealESRGAN plugin: realesr-general-x4v3, cuda
2024-11-13 19:23:49.909 | INFO | iopaint.plugins.realesrgan:_init_model:438 - RealESRGAN model path: D:\IOPaint\Models\torch\hub\checkpoints\realesr-general-x4v3.pth
2024-11-13 19:23:50.045 | INFO | iopaint.plugins:build_plugins:56 - Initialize GFPGAN plugin
2024-11-13 19:23:50.047 | INFO | iopaint.plugins:build_plugins:58 - Use realesrgan as GFPGAN background upscaler
2024-11-13 19:23:50.058 | INFO | iopaint.plugins.gfpgan_plugin:init:21 - GFPGAN model path: D:\IOPaint\Models\torch\hub\checkpoints\GFPGANv1.4.pth
2024-11-13 19:23:50.980 | INFO | iopaint.plugins:build_plugins:69 - Initialize RestoreFormer plugin
2024-11-13 19:23:50.983 | INFO | iopaint.plugins.restoreformer:init:21 - RestoreFormer model path: D:\IOPaint\Models\torch\hub\checkpoints\RestoreFormer.pth
Working with z of shape (1, 256, 16, 16) = 65536 dimensions.
2024-11-13 19:23:51.760 | INFO | iopaint.model_manager:init_model:46 - Loading model: zits
2024-11-13 19:23:51.762 | INFO | iopaint.helper:load_jit_model:107 - Loading model from: D:\IOPaint\Models\torch\hub\checkpoints\zits-wireframe-0717.pt
2024-11-13 19:23:52.028 | INFO | iopaint.helper:load_jit_model:107 - Loading model from: D:\IOPaint\Models\torch\hub\checkpoints\zits-edge-line-0717.pt
2024-11-13 19:23:52.276 | INFO | iopaint.helper:load_jit_model:107 - Loading model from: D:\IOPaint\Models\torch\hub\checkpoints\zits-structure-upsample-0717.pt
2024-11-13 19:23:52.290 | INFO | iopaint.helper:load_jit_model:107 - Loading model from: D:\IOPaint\Models\torch\hub\checkpoints\zits-inpaint-0717.pt
INFO: Started server process [45844]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://127.0.0.1:8080 (Press CTRL+C to quit)
INFO: 127.0.0.1:56205 - "GET /socket.io/?EIO=4&transport=polling&t=PCcn8Ed HTTP/1.1" 200 OK
INFO: 127.0.0.1:56206 - "GET /api/v1/model HTTP/1.1" 200 OK
INFO: 127.0.0.1:56208 - "GET /api/v1/inputimage HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:56205 - "GET /api/v1/server-config HTTP/1.1" 200 OK
INFO: 127.0.0.1:56207 - "GET /api/v1/server-config HTTP/1.1" 200 OK
INFO: 127.0.0.1:56207 - "POST /socket.io/?EIO=4&transport=polling&t=PCcn8GE&sid=KYwIFb1TCGPfDVaXAAAA HTTP/1.1" 200 OK
INFO: 127.0.0.1:56206 - "GET /socket.io/?EIO=4&transport=polling&t=PCcn8GE.0&sid=KYwIFb1TCGPfDVaXAAAA HTTP/1.1" 200 OK
INFO: ('127.0.0.1', 56209) - "WebSocket /socket.io/?EIO=4&transport=websocket&sid=KYwIFb1TCGPfDVaXAAAA" [accepted]
INFO: connection open
INFO: 127.0.0.1:56206 - "GET /socket.io/?EIO=4&transport=polling&t=PCcn8Gj&sid=KYwIFb1TCGPfDVaXAAAA HTTP/1.1" 200 OK
INFO: 127.0.0.1:56207 - "GET /api/v1/medias?tab=input HTTP/1.1" 200 OK
INFO: 127.0.0.1:56207 - "GET /socket.io/?EIO=4&transport=polling&t=PCcn8eg HTTP/1.1" 200 OK
INFO: 127.0.0.1:56207 - "POST /socket.io/?EIO=4&transport=polling&t=PCcn8eo&sid=EKiG_RI-cj37KvffAAAC HTTP/1.1" 200 OK
INFO: 127.0.0.1:56206 - "GET /socket.io/?EIO=4&transport=polling&t=PCcn8ep&sid=EKiG_RI-cj37KvffAAAC HTTP/1.1" 200 OK
INFO: ('127.0.0.1', 56212) - "WebSocket /socket.io/?EIO=4&transport=websocket&sid=EKiG_RI-cj37KvffAAAC" [accepted]
INFO: connection open
INFO: 127.0.0.1:56207 - "GET /socket.io/?EIO=4&transport=polling&t=PCcn8fE&sid=EKiG_RI-cj37KvffAAAC HTTP/1.1" 200 OK
INFO: connection closed
2024-11-13 19:24:04.402 | INFO | iopaint.model_manager:init_model:46 - Loading model: stabilityai/stable-diffusion-xl-base-1.0
Loading pipeline components...: 100%|████████████████████████████████████████████████████| 7/7 [00:01<00:00, 6.36it/s]
INFO: 127.0.0.1:56207 - "POST /api/v1/model HTTP/1.1" 200 OK
INFO: 127.0.0.1:56207 - "GET /api/v1/server-config HTTP/1.1" 200 OK
INFO: 127.0.0.1:56206 - "GET /api/v1/media_thumbnail_file?tab=input&filename=hk01.jpg&width=512&height=288 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56207 - "GET /api/v1/media_thumbnail_file?tab=input&filename=lk04.jpg&width=512&height=293 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56208 - "GET /api/v1/media_thumbnail_file?tab=input&filename=lk03.jpg&width=512&height=768 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56242 - "GET /api/v1/media_thumbnail_file?tab=input&filename=lk02.jpg&width=512&height=549 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56243 - "GET /api/v1/media_thumbnail_file?tab=input&filename=gs01.jpeg&width=512&height=328 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56244 - "GET /api/v1/media_thumbnail_file?tab=input&filename=hk05.jpg&width=512&height=768 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56242 - "POST /api/v1/gen-info HTTP/1.1" 200 OK
2024-11-13 19:24:26.643 | INFO | iopaint.schema:validate_field:419 - Generate random seed: 59301550
100%|██████████████████████████████████████████████████████████████████████████████████| 17/17 [00:03<00:00, 4.47it/s]
2024-11-13 19:24:31.316 | INFO | iopaint.api:api_inpaint:275 - process time: 4651.12ms
INFO: 127.0.0.1:56242 - "POST /api/v1/inpaint HTTP/1.1" 200 OK
INFO: 127.0.0.1:56242 - "POST /api/v1/save_image HTTP/1.1" 200 OK
Everything is up to date - output from win_update.bat:
Looking in indexes: https://pypi.org/simple, https://pypi.tuna.tsinghua.edu.cn/simple, https://mirrors.cloud.tencent.com/pypi/simple
Requirement already satisfied: iopaint in D:\Iopaint\installer\lib\site-packages (1.5.1)
Requirement already satisfied: peft==0.7.1 in D:\Iopaint\installer\lib\site-packages (from iopaint) (0.7.1)
Requirement already satisfied: typer-config==1.4.0 in D:\Iopaint\installer\lib\site-packages (from iopaint) (1.4.0)
Requirement already satisfied: safetensors in D:\Iopaint\installer\lib\site-packages (from iopaint) (0.4.5)
Requirement already satisfied: opencv-python in D:\Iopaint\installer\lib\site-packages (from iopaint) (4.10.0.84)
Requirement already satisfied: easydict in D:\Iopaint\installer\lib\site-packages (from iopaint) (1.13)
Requirement already satisfied: python-multipart in D:\Iopaint\installer\lib\site-packages (from iopaint) (0.0.17)
Requirement already satisfied: torch>=2.0.0 in D:\Iopaint\installer\lib\site-packages (from iopaint) (2.1.2+cu118)
Requirement already satisfied: diffusers==0.27.2 in D:\Iopaint\installer\lib\site-packages (from iopaint) (0.27.2)
Requirement already satisfied: transformers>=4.35.1 in D:\Iopaint\installer\lib\site-packages (from iopaint) (4.46.2)
Requirement already satisfied: omegaconf in D:\Iopaint\installer\lib\site-packages (from iopaint) (2.3.0)
Requirement already satisfied: controlnet-aux==0.0.3 in D:\Iopaint\installer\lib\site-packages (from iopaint) (0.0.3)
Requirement already satisfied: uvicorn in D:\Iopaint\installer\lib\site-packages (from iopaint) (0.32.0)
Requirement already satisfied: huggingface-hub==0.25.2 in D:\Iopaint\installer\lib\site-packages (from iopaint) (0.25.2)
Requirement already satisfied: gradio==4.21.0 in D:\Iopaint\installer\lib\site-packages (from iopaint) (4.21.0)
Requirement already satisfied: Pillow==9.5.0 in D:\Iopaint\installer\lib\site-packages (from iopaint) (9.5.0)
Requirement already satisfied: piexif==1.1.3 in D:\Iopaint\installer\lib\site-packages (from iopaint) (1.1.3)
Requirement already satisfied: pydantic>=2.5.2 in D:\Iopaint\installer\lib\site-packages (from iopaint) (2.9.2)
Requirement already satisfied: fastapi==0.108.0 in D:\Iopaint\installer\lib\site-packages (from iopaint) (0.108.0)
Requirement already satisfied: typer in D:\Iopaint\installer\lib\site-packages (from iopaint) (0.13.0)
Requirement already satisfied: rich in D:\Iopaint\installer\lib\site-packages (from iopaint) (12.5.1)
Requirement already satisfied: yacs in D:\Iopaint\installer\lib\site-packages (from iopaint) (0.1.8)
Requirement already satisfied: loguru in D:\Iopaint\installer\lib\site-packages (from iopaint) (0.7.2)
Requirement already satisfied: accelerate in D:\Iopaint\installer\lib\site-packages (from iopaint) (1.1.1)
Requirement already satisfied: python-socketio==5.7.2 in D:\Iopaint\installer\lib\site-packages (from iopaint) (5.7.2)
Requirement already satisfied: filelock in D:\Iopaint\installer\lib\site-packages (from controlnet-aux==0.0.3->iopaint) (3.16.1)
Requirement already satisfied: scipy in D:\Iopaint\installer\lib\site-packages (from controlnet-aux==0.0.3->iopaint) (1.14.1)
Requirement already satisfied: torchvision in D:\Iopaint\installer\lib\site-packages (from controlnet-aux==0.0.3->iopaint) (0.16.2+cu118)
Requirement already satisfied: scikit-image in D:\Iopaint\installer\lib\site-packages (from controlnet-aux==0.0.3->iopaint) (0.24.0)
Requirement already satisfied: importlib-metadata in D:\Iopaint\installer\lib\site-packages (from controlnet-aux==0.0.3->iopaint) (8.5.0)
Requirement already satisfied: numpy in D:\Iopaint\installer\lib\site-packages (from controlnet-aux==0.0.3->iopaint) (1.26.4)
Requirement already satisfied: timm in D:\Iopaint\installer\lib\site-packages (from controlnet-aux==0.0.3->iopaint) (1.0.11)
Requirement already satisfied: einops in D:\Iopaint\installer\lib\site-packages (from controlnet-aux==0.0.3->iopaint) (0.8.0)
Requirement already satisfied: regex!=2019.12.17 in D:\Iopaint\installer\lib\site-packages (from diffusers==0.27.2->iopaint) (2024.11.6)
Requirement already satisfied: requests in D:\Iopaint\installer\lib\site-packages (from diffusers==0.27.2->iopaint) (2.28.1)
Requirement already satisfied: starlette<0.33.0,>=0.29.0 in D:\Iopaint\installer\lib\site-packages (from fastapi==0.108.0->iopaint) (0.32.0.post1)
Requirement already satisfied: typing-extensions>=4.8.0 in D:\Iopaint\installer\lib\site-packages (from fastapi==0.108.0->iopaint) (4.12.2)
Requirement already satisfied: markupsafe~=2.0 in D:\Iopaint\installer\lib\site-packages (from gradio==4.21.0->iopaint) (2.1.5)
Requirement already satisfied: pandas<3.0,>=1.0 in D:\Iopaint\installer\lib\site-packages (from gradio==4.21.0->iopaint) (2.2.3)
Requirement already satisfied: altair<6.0,>=4.2.0 in D:\Iopaint\installer\lib\site-packages (from gradio==4.21.0->iopaint) (5.4.1)
Requirement already satisfied: httpx>=0.24.1 in D:\Iopaint\installer\lib\site-packages (from gradio==4.21.0->iopaint) (0.27.2)
Requirement already satisfied: ffmpy in D:\Iopaint\installer\lib\site-packages (from gradio==4.21.0->iopaint) (0.4.0)
Requirement already satisfied: aiofiles<24.0,>=22.0 in D:\Iopaint\installer\lib\site-packages (from gradio==4.21.0->iopaint) (23.2.1)
Requirement already satisfied: gradio-client==0.12.0 in D:\Iopaint\installer\lib\site-packages (from gradio==4.21.0->iopaint) (0.12.0)
Requirement already satisfied: importlib-resources<7.0,>=1.3 in D:\Iopaint\installer\lib\site-packages (from gradio==4.21.0->iopaint) (6.4.5)
Requirement already satisfied: pydub in D:\Iopaint\installer\lib\site-packages (from gradio==4.21.0->iopaint) (0.25.1)
Requirement already satisfied: jinja2<4.0 in D:\Iopaint\installer\lib\site-packages (from gradio==4.21.0->iopaint) (3.1.4)
Requirement already satisfied: matplotlib~=3.0 in D:\Iopaint\installer\lib\site-packages (from gradio==4.21.0->iopaint) (3.9.2)
Requirement already satisfied: semantic-version~=2.0 in D:\Iopaint\installer\lib\site-packages (from gradio==4.21.0->iopaint) (2.10.0)
Requirement already satisfied: packaging in D:\Iopaint\installer\lib\site-packages (from gradio==4.21.0->iopaint) (24.2)
Requirement already satisfied: orjson~=3.0 in D:\Iopaint\installer\lib\site-packages (from gradio==4.21.0->iopaint) (3.10.11)
Requirement already satisfied: ruff>=0.2.2 in D:\Iopaint\installer\lib\site-packages (from gradio==4.21.0->iopaint) (0.7.3)
Requirement already satisfied: pyyaml<7.0,>=5.0 in D:\Iopaint\installer\lib\site-packages (from gradio==4.21.0->iopaint) (6.0.2)
Requirement already satisfied: tomlkit==0.12.0 in D:\Iopaint\installer\lib\site-packages (from gradio==4.21.0->iopaint) (0.12.0)
Requirement already satisfied: tqdm>=4.42.1 in D:\Iopaint\installer\lib\site-packages (from huggingface-hub==0.25.2->iopaint) (4.64.1)
Requirement already satisfied: fsspec>=2023.5.0 in D:\Iopaint\installer\lib\site-packages (from huggingface-hub==0.25.2->iopaint) (2024.10.0)
Requirement already satisfied: psutil in D:\Iopaint\installer\lib\site-packages (from peft==0.7.1->iopaint) (6.1.0)
Requirement already satisfied: bidict>=0.21.0 in D:\Iopaint\installer\lib\site-packages (from python-socketio==5.7.2->iopaint) (0.23.1)
Requirement already satisfied: python-engineio>=4.3.0 in D:\Iopaint\installer\lib\site-packages (from python-socketio==5.7.2->iopaint) (4.10.1)
Requirement already satisfied: websockets<12.0,>=10.0 in D:\Iopaint\installer\lib\site-packages (from gradio-client==0.12.0->gradio==4.21.0->iopaint) (11.0.3)
Requirement already satisfied: pydantic-core==2.23.4 in D:\Iopaint\installer\lib\site-packages (from pydantic>=2.5.2->iopaint) (2.23.4)
Requirement already satisfied: annotated-types>=0.6.0 in D:\Iopaint\installer\lib\site-packages (from pydantic>=2.5.2->iopaint) (0.7.0)
Requirement already satisfied: networkx in D:\Iopaint\installer\lib\site-packages (from torch>=2.0.0->iopaint) (3.4.2)
Requirement already satisfied: sympy in D:\Iopaint\installer\lib\site-packages (from torch>=2.0.0->iopaint) (1.13.1)
Requirement already satisfied: tokenizers<0.21,>=0.20 in D:\Iopaint\installer\lib\site-packages (from transformers>=4.35.1->iopaint) (0.20.3)
Requirement already satisfied: click>=8.0.0 in D:\Iopaint\installer\lib\site-packages (from typer->iopaint) (8.1.7)
Requirement already satisfied: shellingham>=1.3.0 in D:\Iopaint\installer\lib\site-packages (from typer->iopaint) (1.5.4)
Requirement already satisfied: pygments<3.0.0,>=2.6.0 in D:\Iopaint\installer\lib\site-packages (from rich->iopaint) (2.11.2)
Requirement already satisfied: commonmark<0.10.0,>=0.9.0 in D:\Iopaint\installer\lib\site-packages (from rich->iopaint) (0.9.1)
Requirement already satisfied: h11>=0.8 in D:\Iopaint\installer\lib\site-packages (from uvicorn->iopaint) (0.14.0)
Requirement already satisfied: colorama>=0.3.4 in D:\Iopaint\installer\lib\site-packages (from loguru->iopaint) (0.4.5)
Requirement already satisfied: win32-setctime>=1.0.0 in D:\Iopaint\installer\lib\site-packages (from loguru->iopaint) (1.1.0)
Requirement already satisfied: antlr4-python3-runtime==4.9.* in D:\Iopaint\installer\lib\site-packages (from omegaconf->iopaint) (4.9.3)
Requirement already satisfied: jsonschema>=3.0 in D:\Iopaint\installer\lib\site-packages (from altair<6.0,>=4.2.0->gradio==4.21.0->iopaint) (4.23.0)
Requirement already satisfied: narwhals>=1.5.2 in D:\Iopaint\installer\lib\site-packages (from altair<6.0,>=4.2.0->gradio==4.21.0->iopaint) (1.13.3)
Requirement already satisfied: certifi in D:\Iopaint\installer\lib\site-packages (from httpx>=0.24.1->gradio==4.21.0->iopaint) (2022.9.24)
Requirement already satisfied: anyio in D:\Iopaint\installer\lib\site-packages (from httpx>=0.24.1->gradio==4.21.0->iopaint) (4.6.2.post1)
Requirement already satisfied: sniffio in D:\Iopaint\installer\lib\site-packages (from httpx>=0.24.1->gradio==4.21.0->iopaint) (1.3.1)
Requirement already satisfied: idna in D:\Iopaint\installer\lib\site-packages (from httpx>=0.24.1->gradio==4.21.0->iopaint) (3.4)
Requirement already satisfied: httpcore==1.* in D:\Iopaint\installer\lib\site-packages (from httpx>=0.24.1->gradio==4.21.0->iopaint) (1.0.6)
Requirement already satisfied: cycler>=0.10 in D:\Iopaint\installer\lib\site-packages (from matplotlib~=3.0->gradio==4.21.0->iopaint) (0.12.1)
Requirement already satisfied: kiwisolver>=1.3.1 in D:\Iopaint\installer\lib\site-packages (from matplotlib~=3.0->gradio==4.21.0->iopaint) (1.4.7)
Requirement already satisfied: fonttools>=4.22.0 in D:\Iopaint\installer\lib\site-packages (from matplotlib~=3.0->gradio==4.21.0->iopaint) (4.54.1)
Requirement already satisfied: contourpy>=1.0.1 in D:\Iopaint\installer\lib\site-packages (from matplotlib~=3.0->gradio==4.21.0->iopaint) (1.3.0)
Requirement already satisfied: pyparsing>=2.3.1 in D:\Iopaint\installer\lib\site-packages (from matplotlib~=3.0->gradio==4.21.0->iopaint) (3.2.0)
Requirement already satisfied: python-dateutil>=2.7 in D:\Iopaint\installer\lib\site-packages (from matplotlib~=3.0->gradio==4.21.0->iopaint) (2.9.0.post0)
Requirement already satisfied: tzdata>=2022.7 in D:\Iopaint\installer\lib\site-packages (from pandas<3.0,>=1.0->gradio==4.21.0->iopaint) (2024.2)
Requirement already satisfied: pytz>=2020.1 in D:\Iopaint\installer\lib\site-packages (from pandas<3.0,>=1.0->gradio==4.21.0->iopaint) (2024.2)
Requirement already satisfied: simple-websocket>=0.10.0 in D:\Iopaint\installer\lib\site-packages (from python-engineio>=4.3.0->python-socketio==5.7.2->iopaint) (1.1.0)
WARNING: typer 0.13.0 does not provide the extra 'all'
Requirement already satisfied: zipp>=3.20 in D:\Iopaint\installer\lib\site-packages (from importlib-metadata->controlnet-aux==0.0.3->iopaint) (3.21.0)
Requirement already satisfied: charset-normalizer<3,>=2 in D:\Iopaint\installer\lib\site-packages (from requests->diffusers==0.27.2->iopaint) (2.0.4)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in D:\Iopaint\installer\lib\site-packages (from requests->diffusers==0.27.2->iopaint) (1.26.12)
Requirement already satisfied: imageio>=2.33 in D:\Iopaint\installer\lib\site-packages (from scikit-image->controlnet-aux==0.0.3->iopaint) (2.36.0)
Requirement already satisfied: lazy-loader>=0.4 in D:\Iopaint\installer\lib\site-packages (from scikit-image->controlnet-aux==0.0.3->iopaint) (0.4)
Requirement already satisfied: tifffile>=2022.8.12 in D:\Iopaint\installer\lib\site-packages (from scikit-image->controlnet-aux==0.0.3->iopaint) (2024.9.20)
Requirement already satisfied: mpmath<1.4,>=1.1.0 in D:\Iopaint\installer\lib\site-packages (from sympy->torch>=2.0.0->iopaint) (1.3.0)
Requirement already satisfied: exceptiongroup>=1.0.2 in D:\Iopaint\installer\lib\site-packages (from anyio->httpx>=0.24.1->gradio==4.21.0->iopaint) (1.2.2)
Requirement already satisfied: attrs>=22.2.0 in D:\Iopaint\installer\lib\site-packages (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.21.0->iopaint) (24.2.0)
Requirement already satisfied: jsonschema-specifications>=2023.03.6 in D:\Iopaint\installer\lib\site-packages (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.21.0->iopaint) (2024.10.1)
Requirement already satisfied: referencing>=0.28.4 in D:\Iopaint\installer\lib\site-packages (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.21.0->iopaint) (0.35.1)
Requirement already satisfied: rpds-py>=0.7.1 in D:\Iopaint\installer\lib\site-packages (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.21.0->iopaint) (0.21.0)
Requirement already satisfied: six>=1.5 in D:\Iopaint\installer\lib\site-packages (from python-dateutil>=2.7->matplotlib~=3.0->gradio==4.21.0->iopaint) (1.16.0)
Requirement already satisfied: wsproto in D:\Iopaint\installer\lib\site-packages (from simple-websocket>=0.10.0->python-engineio>=4.3.0->python-socketio==5.7.2->iopaint) (1.2.0)
Press any key to continue . . .
Same thing happened to me
I'm seeing the same.
If you remove the output AND input directory from the setup, when you save you will be prompted with standard file dialog. In this way it is possible to save.
I noticed that when saving via the file dialog, IOPaint is appending '_cleanup' to the file name before the extension. If this is new behavior then maybe the related code is where the bug is.
Same problem, images are not saving to output_dir.
Also on every start of "start-web-config" the Image Quality setting jumps back to 95%, even if you set it to 100% before.
- Platform: Windows-10-10.0.19045-SP0
- Python version: 3.10.10
- torch: 2.1.2+cu118
- torchvision: 0.16.2+cu118
- Pillow: 9.5.0
- diffusers: 0.27.2
- transformers: 4.46.2
- opencv-python: 4.10.0.84
- accelerate: 1.1.1
- iopaint: 1.5.2
- rembg: 2.0.59
I'm seeing the same. If you remove the output directory from the setup, when you save you will be prompted with standard file dialog. In this way it is possible to save. I noticed that when saving via the file dialog, IOPaint is appending '_cleanup' to the file name before the extension. If this is new behavior then maybe the related code is where the bug is.
Unfortunatelly not for me. i clean the path in setting, save it, then i get following error:
2024-11-16 17:50:42.613 | ERROR | iopaint.cli:start:155 - invalid --output-dir: --output-dir must be set when --input is a directory
I'm seeing the same. If you remove the output directory from the setup, when you save you will be prompted with standard file dialog. In this way it is possible to save. I noticed that when saving via the file dialog, IOPaint is appending '_cleanup' to the file name before the extension. If this is new behavior then maybe the related code is where the bug is.
Unfortunatelly not for me. i clean the path in setting, save it, then i get following error: 2024-11-16 17:50:42.613 | ERROR | iopaint.cli:start:155 - invalid --output-dir: --output-dir must be set when --input is a directory
Sorry, unset both input and output directories and you should see the dialog. I updated my original comment.
There is another potential clue to this problem with the path. When saving the config from setup I see this log message:
024-11-21 05:41:21.265 | INFO | iopaint.web_config:save_config:127 - [05:41:21] Successful save config to: C:\Users\myuser\projects\IOPaint-v1.1\win_config.bat..\installer_config.json
Note that .bat filename followed by .. and then the config file name. That is unusual.