NokiMo
Furkan Gözükara
Furkan Gözükara

patreon


Virtual Try-on (IDM-VTON) 1 Click Installers - Try Any Clothing Immediately On Anyone - Windows - RunPod - Massed Compute - Kaggle

new app here : https://www.patreon.com/posts/122718239

new app : https://www.patreon.com/posts/122718239

new version : https://www.patreon.com/posts/122718239

this post is deprecated

-

-

-

--

-

-

--

-

-

-

--

-

-

-

-

-

-

-

--

-

Patreon exclusive posts index to find our scripts easily, Patreon scripts updates history to see which updates arrived to which scripts and amazing Patreon special generative scripts list that you can use in any of your task.

Join discord to get help, chat, discuss and also tell me your discord username to get your special rank : SECourses Discord

Please also Star, Watch and Fork our Stable Diffusion & Generative AI  GitHub repository and join our Reddit subreddit and follow me on LinkedIn (my real profile)

=======

Latest installer zip file

23 December 2024 Update

Windows Requirements

General Instructions for Cloud

Extra Usage Info

12 May 2024 Update

3 May 2024 Update

30 April 2024 Update

28 April 2024 Update

27 April 2024 Update

Virtual Try-on (IDM-VTON) 1 Click Installers - Try Any Clothing Immediately On Anyone - Windows - RunPod - Massed Compute - Kaggle Virtual Try-on (IDM-VTON) 1 Click Installers - Try Any Clothing Immediately On Anyone - Windows - RunPod - Massed Compute - Kaggle Virtual Try-on (IDM-VTON) 1 Click Installers - Try Any Clothing Immediately On Anyone - Windows - RunPod - Massed Compute - Kaggle

Comments

new app published : https://www.patreon.com/posts/122718239

Furkan Gözükara

new app published : https://www.patreon.com/posts/122718239

Furkan Gözükara

new app published : https://www.patreon.com/posts/122718239

Furkan Gözükara

stop your session and start again. before doing that select T4 GPU and make internet on

Furkan Gözükara

Hi, I am trying to run the first cell and I received this error message: Cell: !yes | apt-get update --allow-releaseinfo-change !yes | apt install libgoogle-perftools-dev !git clone https://github.com/FurkanGozukara/IDM-VTON %cd IDM-VTON Error Message: After this operation, 9,822 kB of additional disk space will be used. Ign:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libunwind-dev amd64 1.3.2-2build2.13m Ign:2 http://archive.ubuntu.com/ubuntu jammy/main amd64 libgoogle-perftools-dev amd64 2.9.1-0ubuntu33m Ign:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libunwind-dev amd64 1.3.2-2build2.133m Ign:2 http://archive.ubuntu.com/ubuntu jammy/main amd64 libgoogle-perftools-dev amd64 2.9.1-0ubuntu33m Ign:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libunwind-dev amd64 1.3.2-2build2.133m Ign:2 http://archive.ubuntu.com/ubuntu jammy/main amd64 libgoogle-perftools-dev amd64 2.9.1-0ubuntu33m Err:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libunwind-dev amd64 1.3.2-2build2.133m Temporary failure resolving 'archive.ubuntu.com' Err:2 http://archive.ubuntu.com/ubuntu jammy/main amd64 libgoogle-perftools-dev amd64 2.9.1-0ubuntu33m Temporary failure resolving 'archive.ubuntu.com' E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libu/libunwind/libunwind-dev_1.3.2-2build2.1_amd64.deb Temporary failure resolving 'archive.ubuntu.com' E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/google-perftools/libgoogle-perftools-dev_2.9.1-0ubuntu3_amd64.deb Temporary failure resolving 'archive.ubuntu.com' E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? yes: standard output: Broken pipe Cloning into 'IDM-VTON'... fatal: unable to access 'https://github.com/FurkanGozukara/IDM-VTON/': Could not resolve host: github.com [Errno 2] No such file or directory: 'IDM-VTON' /kaggle/working What is the problem here ? How can I fix the problem ? Thank you!

Nam Lê Hoàng

Hello Furkan. The manual mask doesn't work. Is there a way to repair?

Christian Hijar

it looks like worked what is the error?

Furkan Gözükara

Hey Furkan I followed the winodows tutorial and run the code in choice of cpu offloading. the overall logs are below Modify this file and add --share if you want Gradio share Options VRAM usages are as below. Fastest is FP16 and no cpu offloading (1+1) 1+1 = 16.5 GB, 1+2 = 12 GB , 1+3 = 10 GB, 2+1 = 15 GB, 2+2 = 10.3 GB , 2+3 = 8.2 GB Please select an option: 1. Default - Faster but higher VRAM 2. Enable CPU Offloading - Reduces VRAM but slightly slower same quality Enter your choice (1-2): 2 Please select an option: 1. Default Precision - Higher quality higher VRAM 2. FP8 Precision - Slightly lower quality medium VRAM 3. FP4 Precision - More slightly lower quality lower VRAM Enter your choice (1-3): 2 INFO: Could not find files for the given pattern(s). * Running on local URL: http://127.0.0.1:7860 To create a public link, set `share=True` in `launch()`. The config attributes {'decay': 0.9999, 'inv_gamma': 1.0, 'min_decay': 0.0, 'optimization_step': 37000, 'power': 0.6666666666666666, 'update_after_step': 0, 'use_ema_warmup': False} were passed to UNet2DConditionModel, but are not expected and will be ignored. Please verify your config.json configuration file. config.json: 100%|████████████████████████████████████████████████████████████████████████████| 631/631 [00:00

Suleman Ali

edit the bat file and remove this line : set HF_HUB_ENABLE_HF_TRANSFER=1

Furkan Gözükara

hi! I have this error: The config attributes {'decay': 0.9999, 'inv_gamma': 1.0, 'min_decay': 0.0, 'optimization_step': 37000, 'power': 0.6666666666666666, 'update_after_step': 0, 'use_ema_warmup': False} were passed to UNet2DConditionModel, but are not expected and will be ignored. Please verify your config.json configuration file. diffusion_pytorch_model.safetensors: 22%|███████████████▎ | 2.31G/10.3G [02:13<07:41, 17.3MB/s] Traceback (most recent call last): File "E:\___SECourses\virtual_try_on_v16\IDM-VTON\venv\lib\site-packages\huggingface_hub\file_download.py", line 515, in http_get hf_transfer.download( Exception: Error while removing corrupted file: Proces nie może uzyskać dostępu do pliku, ponieważ jest on używany przez inny proces. (os error 32) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "E:\___SECourses\virtual_try_on_v16\IDM-VTON\venv\lib\site-packages\gradio\queueing.py", line 625, in process_events response = await route_utils.call_process_api( File "E:\___SECourses\virtual_try_on_v16\IDM-VTON\venv\lib\site-packages\gradio\route_utils.py", line 322, in call_process_api output = await app.get_blocks().process_api( File "E:\___SECourses\virtual_try_on_v16\IDM-VTON\venv\lib\site-packages\gradio\blocks.py", line 2051, in process_api result = await self.call_function( File "E:\___SECourses\virtual_try_on_v16\IDM-VTON\venv\lib\site-packages\gradio\blocks.py", line 1598, in call_function prediction = await anyio.to_thread.run_sync( # type: ignore File "E:\___SECourses\virtual_try_on_v16\IDM-VTON\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "E:\___SECourses\virtual_try_on_v16\IDM-VTON\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 2461, in run_sync_in_worker_thread return await future File "E:\___SECourses\virtual_try_on_v16\IDM-VTON\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 962, in run result = context.run(func, *args) File "E:\___SECourses\virtual_try_on_v16\IDM-VTON\venv\lib\site-packages\gradio\utils.py", line 883, in wrapper response = f(*args, **kwargs) File "E:\___SECourses\virtual_try_on_v16\IDM-VTON\app_VTON.py", line 85, in start_tryon UNet_Encoder = UNet2DConditionModel_ref.from_pretrained( File "E:\___SECourses\virtual_try_on_v16\IDM-VTON\venv\lib\site-packages\huggingface_hub\utils\_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "E:\___SECourses\virtual_try_on_v16\IDM-VTON\venv\lib\site-packages\diffusers\models\modeling_utils.py", line 758, in from_pretrained model_file = _get_model_file( File "E:\___SECourses\virtual_try_on_v16\IDM-VTON\venv\lib\site-packages\huggingface_hub\utils\_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "E:\___SECourses\virtual_try_on_v16\IDM-VTON\venv\lib\site-packages\diffusers\utils\hub_utils.py", line 308, in _get_model_file model_file = hf_hub_download( File "E:\___SECourses\virtual_try_on_v16\IDM-VTON\venv\lib\site-packages\huggingface_hub\utils\_deprecation.py", line 101, in inner_f return f(*args, **kwargs) File "E:\___SECourses\virtual_try_on_v16\IDM-VTON\venv\lib\site-packages\huggingface_hub\utils\_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "E:\___SECourses\virtual_try_on_v16\IDM-VTON\venv\lib\site-packages\huggingface_hub\file_download.py", line 1232, in hf_hub_download return _hf_hub_download_to_cache_dir( File "E:\___SECourses\virtual_try_on_v16\IDM-VTON\venv\lib\site-packages\huggingface_hub\file_download.py", line 1381, in _hf_hub_download_to_cache_dir _download_to_tmp_and_move( File "E:\___SECourses\virtual_try_on_v16\IDM-VTON\venv\lib\site-packages\huggingface_hub\file_download.py", line 1915, in _download_to_tmp_and_move http_get( File "E:\___SECourses\virtual_try_on_v16\IDM-VTON\venv\lib\site-packages\huggingface_hub\file_download.py", line 526, in http_get raise RuntimeError( RuntimeError: An error occurred while downloading using `hf_transfer`. Consider disabling HF_HUB_ENABLE_HF_TRANSFER for better error handling. How to disable hf transfer? Thanks

Arek Wawrzyniak

fixed please use v16 zip file

Furkan Gözükara

i am getting a lot of error while running the kaggle notebook any solution?

Kumar sachin Singh

error fixed with v15. but dont install into space char having folders. install like into h:\ai_stuff\vton

Furkan Gözükara

Hi Furkan I am currently having this issue with VTON after following all directions accurately. The process gets stuck on transformers, is this an issue with huggingface? File "H:\AI Stuff\Virtual Try On\IDM-VTON\venv\lib\site-packages\peft\peft_model.py", line 37, in from transformers import Cache, DynamicCache, EncoderDecoderCache, PreTrainedModel ImportError: cannot import name 'EncoderDecoderCache' from 'transformers' (H:\AI Stuff\Virtual Try On\IDM-VTON\venv\lib\site-packages\transformers\__init__.py) I have reinstalled it twice but getting the same issue

Robert Morton

please check the authors github repository but as long as you dont provide as SaaS i dont think they would care

Furkan Gözükara

Ananmay Jain

sadly to make amd work you need extra stuff and i dont know what since i dont own amd gpu. but i have installers for cloud i recommend massed compute

Furkan Gözükara

Nirav Patel

you are welcome. actually i wanted to auto crop into 768x1024 but it had failed in past :D

Furkan Gözükara

There are no words to express how awesome you are ✊ Many thanks for the immediate fix🙏

Alexander Pereira

just fixed for you please use : Windows_Update.bat

Furkan Gözükara

Thanks man, this is lightning speed response!

Alexander Pereira

true i have reported this issue . let me check if fixed or not so i can apply

Furkan Gözükara

Hi Furkan, this is great, thanks! One issue I am experiencing with Gradio though, is that when I upload my 'human' image, it covers the masking tools interface entirely. I am using Chrome Version 131.0.6778.69 (Official Build) (64-bit). This issue remains when I zoom in or out with the browser. My images are prepared to be 768x1024. I'm not sure what I can do to be able to use manual masking due to this issue. Do you have any advice for me to resolve this? https://videoshare.nextlevelbros.com/conversations/1e90a54b-6b45-5e98-833c-484ad04b1d40

Alexander Pereira

sadly i dont know atm but i may check later

Furkan Gözükara

hi, thank you so much for your work! Is there any way to import a mask from an editor like photoshop?

K. H.

wow nice

Furkan Gözükara

I was able to fix it thanks to this comment on your thread: "https://github.com/gradio-app/gradio/issues/9694#issuecomment-2413536440"

BigVI

you are welcome i am waiting answer

Furkan Gözükara

Thank you so much for spending time on this, let's hope someone fixes it in a future update

BigVI

i have been spending hours to make it work. it will auto expand crop image but after that the image editing feature disappears : https://github.com/gradio-app/gradio/issues/9889

Furkan Gözükara

Yes, I think if the frame is extended vertically beyond 1024px, like 1280px then it will show

BigVI

ok so the masking tool bar has to be 1024x768 right? i think i can make it will test now

Furkan Gözükara

Yes, here's a link, thanks! https://ibb.co/NrZ5w9X

BigVI

sadly i dont have

Furkan Gözükara

Do you have any material for retraining the IDM-VTON?

vijay kumaran

i am not really expert of this but can you send me example images of how it is now and how it should be? i will ask gradio team

Furkan Gözükara

I'm not opposed to drawing my own mask, but the masking tool disappears after I select an image that's 768x1024px, on 1:1 images it does show the masking tool below the image, is there a way to edit the code and extend the iframe so the masking tool stays visible?

BigVI

I agree with that. IDM vton working on next version could be fixed perhaps

Furkan Gözükara

Hi Dr. Furkan, thank you for this, it is working well, except for the masking interface. When I load a 768x1024px image, the masking interface disappears and the auto-masking isn't great, usually it will mask too much. Can this be fixed in a new version?

BigVI

sadly i don't know how can it be done or can be done at all. also masked image shouldnt add any additional timing you mean like calculation of some other perhaps embeddings etc?

Furkan Gözükara

Amna Khawaja

please follow this video exactly as it is and then reinstall : https://youtu.be/DrhUHnYfwC0

Furkan Gözükara

please follow this video exactly as it is and then reinstall : https://youtu.be/DrhUHnYfwC0

Furkan Gözükara

It didn't work out. File "E:\CLOTH\IDM-VTON\venv\lib\site-packages\diffusers\utils\hub_utils.py", line 353, in _get_model_file raise EnvironmentError( OSError: Can't load the model for 'yisol/IDM-VTON'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'yisol/IDM-VTON' is the correct path to a directory containing a file named diffusion_pytorch_model.bin

Лариса Петрова

Please select an option: 1. Default - Faster but higher VRAM 2. Enable CPU Offloading - Reduces VRAM but slightly slower same quality Enter your choice (1-2): 2 Please select an option: 1. Default Precision - Higher quality higher VRAM 2. FP8 Precision - Slightly lower quality medium VRAM 3. FP4 Precision - More slightly lower quality lower VRAM Enter your choice (1-3): 2 Traceback (most recent call last): File "E:\CLOTH\IDM-VTON\app_VTON.py", line 1, in import gradio as gr File "E:\CLOTH\IDM-VTON\venv\lib\site-packages\gradio\__init__.py", line 3, in import gradio._simple_templates File "E:\CLOTH\IDM-VTON\venv\lib\site-packages\gradio\_simple_templates\__init__.py", line 1, in from .simpledropdown import SimpleDropdown File "E:\CLOTH\IDM-VTON\venv\lib\site-packages\gradio\_simple_templates\simpledropdown.py", line 7, in from gradio.components.base import Component, FormComponent File "E:\CLOTH\IDM-VTON\venv\lib\site-packages\gradio\components\__init__.py", line 1, in from gradio.components.annotated_image import AnnotatedImage File "E:\CLOTH\IDM-VTON\venv\lib\site-packages\gradio\components\annotated_image.py", line 14, in from gradio import processing_utils, utils File "E:\CLOTH\IDM-VTON\venv\lib\site-packages\gradio\processing_utils.py", line 30, in from gradio import utils, wasm_utils File "E:\CLOTH\IDM-VTON\venv\lib\site-packages\gradio\utils.py", line 57, in import orjson File "E:\CLOTH\IDM-VTON\venv\lib\site-packages\orjson\__init__.py", line 3, in from .orjson import * ModuleNotFoundError: No module named 'orjson.orjson' Press any key to continue . . .

Лариса Петрова

hello. this was because of huggingface_hub. i just updated the requirements. please reinstall it should fix it. you can delete venv and reinstall or just make a fresh reinstall

Furkan Gözükara

Hello - Getting the following error. Please help ImportError: cannot import name 'cached_download' from 'huggingface_hub' (/Documents/MyTP/easy-diffusion/installer_files/env/lib/python3.8/sitepackages/huggingface_hub/init.py)

vijay kumaran

it is latest version currently yes

Furkan Gözükara

hi i wanted to ask whether v12 includes both tops and bottoms options ? i am currenlty in installation process

Amna Khawaja

Hello looks like installation had issue. I will try and fix and let you know hopefully if broken. Sometimes pods can be broken as well.

Furkan Gözükara

Tung Pham

you were right. i just updated the zip file download latest one and use thank you

Furkan Gözükara

testing right now will let you know

Furkan Gözükara

Hello, I tried to use the notebook in Kaggle but several errors appear when executing the cells, apparently it is not updated, could you please check the notebook, I would appreciate it

Mimikyu

hello. this error indicates your model downloading were failed during initial install. also you installed this on your local pc linux pc?

Furkan Gözükara

getting error, PLEASE HELP Modify this file and add --share if you want Gradio share Options VRAM usages are as below. Fastest is FP16 and no cpu offloading (1+1) 1+1 = 16.5 GB, 1+2 = 12 GB , 1+3 = 10 GB, 2+1 = 15 GB, 2+2 = 10.3 GB , 2+3 = 8.2 GB Please select an option: 1. Default - Faster but higher VRAM 2. Enable CPU Offloading - Reduces VRAM but slightly slower same quality Enter your choice (1-2): 1 Please select an option: 1. Default Precision - Higher quality higher VRAM 2. FP8 Precision - Slightly lower quality medium VRAM 3. FP4 Precision - More slightly lower quality lower VRAM Enter your choice (1-3): 1 The config attributes {'decay': 0.9999, 'inv_gamma': 1.0, 'min_decay': 0.0, 'optimization_step': 37000, 'power': 0.6666666666666666, 'update_after_step': 0, 'use_ema_warmup': False} were passed to UNet2DConditionModel, but are not expected and will be ignored. Please verify your config.json configuration file. vae/config.json: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 659/659 [00:00<00:00, 3.53MB/s] diffusion_pytorch_model.safetensors: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████| 335M/335M [00:11<00:00, 29.0MB/s] Some weights of the model checkpoint were not used when initializing UNet2DConditionModel: ['add_embedding.linear_1.bias, add_embedding.linear_1.weight, add_embedding.linear_2.bias, add_embedding.linear_2.weight'] Traceback (most recent call last): File "/home/roshan.warrier/llm-development/virtual-tryon/idmvton/IDM-VTON/app_VTON.py", line 136, in openpose_model = OpenPose(0) File "/home/roshan.warrier/llm-development/virtual-tryon/idmvton/IDM-VTON/preprocess/openpose/run_openpose.py", line 33, in __init__ self.preprocessor = OpenposeDetector() File "/home/roshan.warrier/llm-development/virtual-tryon/idmvton/IDM-VTON/preprocess/openpose/annotator/openpose/__init__.py", line 63, in __init__ self.body_estimation = Body(body_modelpath) File "/home/roshan.warrier/llm-development/virtual-tryon/idmvton/IDM-VTON/preprocess/openpose/annotator/openpose/body.py", line 26, in __init__ model_dict = util.transfer(self.model, torch.load(model_path)) File "/home/roshan.warrier/llm-development/virtual-tryon/idmvton/IDM-VTON/venv/lib/python3.10/site-packages/torch/serialization.py", line 1040, in load return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args) File "/home/roshan.warrier/llm-development/virtual-tryon/idmvton/IDM-VTON/venv/lib/python3.10/site-packages/torch/serialization.py", line 1258, in _legacy_load magic_number = pickle_module.load(f, **pickle_load_args) _pickle.UnpicklingError: invalid load key, 'v'.

roshan

inside virtual_try_on_v11.zip attachment file

Furkan Gözükara

dowload and extract zip file. inside it you will find

Furkan Gözükara

hi, i didnt find the linux/gradio/runpod version tho, can someone give me some support =)

Mattheus Chediak

I made a post for you : https://www.patreon.com/posts/108419878

Furkan Gözükara

how to get install logs shown here : https://youtu.be/FPtpNrmuwXk 5:02 How to verify installation was completed accurately and how to save installation logs how to change hugging face cache folder : https://youtu.be/ZiUXf_idIR4?si=n6sqgKP6uPKiDzWh 3:59 Where Hugging Face models are downloaded by default and how to change this default cache folder 5:44 How to return back to using default Hugging Face cache folder

Furkan Gözükara

Thanks for response. I install without error, do i have press install to get logs. After get log i will send you. I have another question : if i finishs down model to .cache folder, can i move to other folder? how can i change setting for path of model?

Việt Shin

i need full installation logs and error logs. please send them to me as email : monstermmorpg@gmail.com

Furkan Gözükara

Hello, i started app but get timeout no output Pls check how to resove. I dont see config.json file and where downloaded model locate Thank The config attributes {'decay': 0.9999, 'inv_gamma': 1.0, 'min_decay': 0.0, 'optimization_step': 37000, 'power': 0.6666666666666666, 'update_after_step': 0, 'use_ema_warmup': False} were passed to UNet2DConditionModel, but are not expected and will be ignored. Please verify your config.json configuration file. Press any key to continue . . .

Việt Shin

evet python sürümü çok önemli

Furkan Gözükara

Teşekkür ederim, tüm problem python sürümünden ibaretmiş.

anseltrust

hata çok basit. python 3.12 kullanıyorsun. bu video da gösterilen şekilde hiç değişiklik yapmadan python 3.10 ve c++ yükle ve ffmpeg ve cuda : https://www.youtube.com/watch?v=-NjNy7afOQ0

Furkan Gözükara

Merhaba Furkan, öğretici video gerçekten harika, 8GB VRAM ile kullanabildiğimizi gördüğümde denemek istedim. Ama Windows_Install.bat dosyasını çalıştırdığımda devamlı bazı hatalar alıyorum; WARNING. For this auto installer to work you need to have installed Python 3.10.11 or 3.10.13 and C++ tools follow this tutorial : https://youtu.be/-NjNy7afOQ0 Requirement already satisfied: requests in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (2.32.3) Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from requests) (3.3.2) Requirement already satisfied: idna<4,>=2.5 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from requests) (3.7) Requirement already satisfied: urllib3<3,>=1.21.1 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from requests) (2.2.2) Requirement already satisfied: certifi>=2017.4.17 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from requests) (2024.6.2) Requirement already satisfied: tqdm in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (4.66.4) Requirement already satisfied: colorama in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from tqdm) (0.4.6) Git LFS initialized. fatal: destination path 'IDM-VTON' already exists and is not an empty directory. Python launcher is available. Generating Python 3.10 VENV No suitable Python runtime found Pass --list (-0) to see all detected environments on your machine or set environment variable PYLAUNCHER_ALLOW_INSTALL to use winget or open the Microsoft Store to the requested version. Sistem belirtilen yolu bulamıyor. Requirement already satisfied: tqdm in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (4.66.4) Requirement already satisfied: colorama in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from tqdm) (0.4.6) Collecting numpy==1.24.4 (from -r requirements.txt (line 1)) Using cached numpy-1.24.4.tar.gz (10.9 MB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [33 lines of output] Traceback (most recent call last): File "C:\Users\MSI-NB\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in main() File "C:\Users\MSI-NB\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\MSI-NB\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 112, in get_requires_for_build_wheel backend = _build_backend() ^^^^^^^^^^^^^^^^ File "C:\Users\MSI-NB\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 77, in _build_backend obj = import_module(mod_path) ^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\MSI-NB\AppData\Local\Programs\Python\Python312\Lib\importlib\__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1310, in _find_and_load_unlocked File "", line 488, in _call_with_frames_removed File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 995, in exec_module File "", line 488, in _call_with_frames_removed File "C:\Users\MSI-NB\AppData\Local\Temp\pip-build-env-v_1ij25r\overlay\Lib\site-packages\setuptools\__init__.py", line 16, in import setuptools.version File "C:\Users\MSI-NB\AppData\Local\Temp\pip-build-env-v_1ij25r\overlay\Lib\site-packages\setuptools\version.py", line 1, in import pkg_resources File "C:\Users\MSI-NB\AppData\Local\Temp\pip-build-env-v_1ij25r\overlay\Lib\site-packages\pkg_resources\__init__.py", line 2172, in register_finder(pkgutil.ImpImporter, find_on_path) ^^^^^^^^^^^^^^^^^^^ AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'? [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. installing requirements Looking in indexes: https://download.pytorch.org/whl/cu121 Requirement already satisfied: torch==2.2.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (2.2.0+cu121) Requirement already satisfied: torchvision in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (0.17.0+cu121) Collecting torchvision Using cached https://download.pytorch.org/whl/cu121/torchvision-0.18.1%2Bcu121-cp312-cp312-win_amd64.whl (5.7 MB) Requirement already satisfied: torchaudio in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (2.2.0+cu121) Collecting torchaudio Using cached https://download.pytorch.org/whl/cu121/torchaudio-2.3.1%2Bcu121-cp312-cp312-win_amd64.whl (4.1 MB) Requirement already satisfied: filelock in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from torch==2.2.0) (3.15.4) Requirement already satisfied: typing-extensions>=4.8.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from torch==2.2.0) (4.12.2) Requirement already satisfied: sympy in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from torch==2.2.0) (1.12) Requirement already satisfied: networkx in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from torch==2.2.0) (3.2.1) Requirement already satisfied: jinja2 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from torch==2.2.0) (3.1.3) Requirement already satisfied: fsspec in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from torch==2.2.0) (2024.6.1) Requirement already satisfied: numpy in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from torchvision) (1.26.4) INFO: pip is looking at multiple versions of torchvision to determine which version is compatible with other requirements. This could take a while. Collecting torchvision Using cached https://download.pytorch.org/whl/cu121/torchvision-0.18.0%2Bcu121-cp312-cp312-win_amd64.whl (5.7 MB) Using cached https://download.pytorch.org/whl/cu121/torchvision-0.17.2%2Bcu121-cp312-cp312-win_amd64.whl (5.7 MB) Using cached https://download.pytorch.org/whl/cu121/torchvision-0.17.1%2Bcu121-cp312-cp312-win_amd64.whl (5.7 MB) Requirement already satisfied: requests in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from torchvision) (2.32.3) Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from torchvision) (10.4.0) INFO: pip is looking at multiple versions of torchaudio to determine which version is compatible with other requirements. This could take a while. Collecting torchaudio Using cached https://download.pytorch.org/whl/cu121/torchaudio-2.3.0%2Bcu121-cp312-cp312-win_amd64.whl (4.1 MB) Using cached https://download.pytorch.org/whl/cu121/torchaudio-2.2.2%2Bcu121-cp312-cp312-win_amd64.whl (4.0 MB) Using cached https://download.pytorch.org/whl/cu121/torchaudio-2.2.1%2Bcu121-cp312-cp312-win_amd64.whl (4.0 MB) Requirement already satisfied: MarkupSafe>=2.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from jinja2->torch==2.2.0) (2.1.5) Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from requests->torchvision) (3.3.2) Requirement already satisfied: idna<4,>=2.5 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from requests->torchvision) (3.7) Requirement already satisfied: urllib3<3,>=1.21.1 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from requests->torchvision) (2.2.2) Requirement already satisfied: certifi>=2017.4.17 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from requests->torchvision) (2024.6.2) Requirement already satisfied: mpmath>=0.19 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from sympy->torch==2.2.0) (1.3.0) ERROR: triton-2.1.0-cp310-cp310-win_amd64.whl is not a supported wheel on this platform. Collecting xformers==0.0.24 Using cached xformers-0.0.24.tar.gz (3.9 MB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [20 lines of output] Traceback (most recent call last): File "C:\Users\MSI-NB\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in main() File "C:\Users\MSI-NB\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\MSI-NB\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel return hook(config_settings) ^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\MSI-NB\AppData\Local\Temp\pip-build-env-pj8wheej\overlay\Lib\site-packages\setuptools\build_meta.py", line 327, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\MSI-NB\AppData\Local\Temp\pip-build-env-pj8wheej\overlay\Lib\site-packages\setuptools\build_meta.py", line 297, in _get_build_requires self.run_setup() File "C:\Users\MSI-NB\AppData\Local\Temp\pip-build-env-pj8wheej\overlay\Lib\site-packages\setuptools\build_meta.py", line 497, in run_setup super().run_setup(setup_script=setup_script) File "C:\Users\MSI-NB\AppData\Local\Temp\pip-build-env-pj8wheej\overlay\Lib\site-packages\setuptools\build_meta.py", line 313, in run_setup exec(code, locals()) File "", line 23, in ModuleNotFoundError: No module named 'torch' [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. Requirement already satisfied: bitsandbytes==0.43.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (0.43.0) Requirement already satisfied: torch in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from bitsandbytes==0.43.0) (2.2.0+cu121) Requirement already satisfied: numpy in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from bitsandbytes==0.43.0) (1.26.4) Requirement already satisfied: filelock in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from torch->bitsandbytes==0.43.0) (3.15.4) Requirement already satisfied: typing-extensions>=4.8.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from torch->bitsandbytes==0.43.0) (4.12.2) Requirement already satisfied: sympy in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from torch->bitsandbytes==0.43.0) (1.12) Requirement already satisfied: networkx in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from torch->bitsandbytes==0.43.0) (3.2.1) Requirement already satisfied: jinja2 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from torch->bitsandbytes==0.43.0) (3.1.3) Requirement already satisfied: fsspec in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from torch->bitsandbytes==0.43.0) (2024.6.1) Requirement already satisfied: MarkupSafe>=2.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from jinja2->torch->bitsandbytes==0.43.0) (2.1.5) Requirement already satisfied: mpmath>=0.19 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from sympy->torch->bitsandbytes==0.43.0) (1.3.0) Requirement already satisfied: gradio in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (4.38.1) Requirement already satisfied: aiofiles<24.0,>=22.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from gradio) (23.2.1) Requirement already satisfied: altair<6.0,>=5.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from gradio) (5.3.0) Requirement already satisfied: fastapi in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from gradio) (0.111.1) Requirement already satisfied: ffmpy in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from gradio) (0.3.2) Requirement already satisfied: gradio-client==1.1.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from gradio) (1.1.0) Requirement already satisfied: httpx>=0.24.1 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from gradio) (0.27.0) Requirement already satisfied: huggingface-hub>=0.19.3 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from gradio) (0.23.4) Requirement already satisfied: importlib-resources<7.0,>=1.3 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from gradio) (6.4.0) Requirement already satisfied: jinja2<4.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from gradio) (3.1.3) Requirement already satisfied: markupsafe~=2.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from gradio) (2.1.5) Requirement already satisfied: matplotlib~=3.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from gradio) (3.9.1) Requirement already satisfied: numpy<3.0,>=1.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from gradio) (1.26.4) Requirement already satisfied: orjson~=3.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from gradio) (3.10.6) Requirement already satisfied: packaging in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from gradio) (24.1) Requirement already satisfied: pandas<3.0,>=1.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from gradio) (2.2.2) Requirement already satisfied: pillow<11.0,>=8.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from gradio) (10.4.0) Requirement already satisfied: pydantic>=2.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from gradio) (2.8.2) Requirement already satisfied: pydub in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from gradio) (0.25.1) Requirement already satisfied: python-multipart>=0.0.9 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from gradio) (0.0.9) Requirement already satisfied: pyyaml<7.0,>=5.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from gradio) (6.0.1) Requirement already satisfied: ruff>=0.2.2 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from gradio) (0.5.2) Requirement already satisfied: semantic-version~=2.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from gradio) (2.10.0) Requirement already satisfied: tomlkit==0.12.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from gradio) (0.12.0) Requirement already satisfied: typer<1.0,>=0.12 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from gradio) (0.12.3) Requirement already satisfied: typing-extensions~=4.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from gradio) (4.12.2) Requirement already satisfied: urllib3~=2.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from gradio) (2.2.2) Requirement already satisfied: uvicorn>=0.14.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from gradio) (0.30.1) Requirement already satisfied: fsspec in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from gradio-client==1.1.0->gradio) (2024.6.1) Requirement already satisfied: websockets<12.0,>=10.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from gradio-client==1.1.0->gradio) (11.0.3) Requirement already satisfied: jsonschema>=3.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from altair<6.0,>=5.0->gradio) (4.23.0) Requirement already satisfied: toolz in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from altair<6.0,>=5.0->gradio) (0.12.1) Requirement already satisfied: anyio in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from httpx>=0.24.1->gradio) (4.4.0) Requirement already satisfied: certifi in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from httpx>=0.24.1->gradio) (2024.6.2) Requirement already satisfied: httpcore==1.* in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from httpx>=0.24.1->gradio) (1.0.5) Requirement already satisfied: idna in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from httpx>=0.24.1->gradio) (3.7) Requirement already satisfied: sniffio in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from httpx>=0.24.1->gradio) (1.3.1) Requirement already satisfied: h11<0.15,>=0.13 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from httpcore==1.*->httpx>=0.24.1->gradio) (0.14.0) Requirement already satisfied: filelock in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from huggingface-hub>=0.19.3->gradio) (3.15.4) Requirement already satisfied: requests in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from huggingface-hub>=0.19.3->gradio) (2.32.3) Requirement already satisfied: tqdm>=4.42.1 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from huggingface-hub>=0.19.3->gradio) (4.66.4) Requirement already satisfied: contourpy>=1.0.1 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from matplotlib~=3.0->gradio) (1.2.1) Requirement already satisfied: cycler>=0.10 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from matplotlib~=3.0->gradio) (0.12.1) Requirement already satisfied: fonttools>=4.22.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from matplotlib~=3.0->gradio) (4.53.1) Requirement already satisfied: kiwisolver>=1.3.1 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from matplotlib~=3.0->gradio) (1.4.5) Requirement already satisfied: pyparsing>=2.3.1 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from matplotlib~=3.0->gradio) (3.1.2) Requirement already satisfied: python-dateutil>=2.7 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from matplotlib~=3.0->gradio) (2.9.0.post0) Requirement already satisfied: pytz>=2020.1 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from pandas<3.0,>=1.0->gradio) (2024.1) Requirement already satisfied: tzdata>=2022.7 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from pandas<3.0,>=1.0->gradio) (2024.1) Requirement already satisfied: annotated-types>=0.4.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from pydantic>=2.0->gradio) (0.7.0) Requirement already satisfied: pydantic-core==2.20.1 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from pydantic>=2.0->gradio) (2.20.1) Requirement already satisfied: click>=8.0.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from typer<1.0,>=0.12->gradio) (8.1.7) Requirement already satisfied: shellingham>=1.3.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from typer<1.0,>=0.12->gradio) (1.5.4) Requirement already satisfied: rich>=10.11.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from typer<1.0,>=0.12->gradio) (13.7.1) Requirement already satisfied: starlette<0.38.0,>=0.37.2 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from fastapi->gradio) (0.37.2) Requirement already satisfied: fastapi-cli>=0.0.2 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from fastapi->gradio) (0.0.4) Requirement already satisfied: email_validator>=2.0.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from fastapi->gradio) (2.2.0) Requirement already satisfied: colorama in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from click>=8.0.0->typer<1.0,>=0.12->gradio) (0.4.6) Requirement already satisfied: dnspython>=2.0.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from email_validator>=2.0.0->fastapi->gradio) (2.6.1) Requirement already satisfied: attrs>=22.2.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from jsonschema>=3.0->altair<6.0,>=5.0->gradio) (23.2.0) Requirement already satisfied: jsonschema-specifications>=2023.03.6 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from jsonschema>=3.0->altair<6.0,>=5.0->gradio) (2023.12.1) Requirement already satisfied: referencing>=0.28.4 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from jsonschema>=3.0->altair<6.0,>=5.0->gradio) (0.35.1) Requirement already satisfied: rpds-py>=0.7.1 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from jsonschema>=3.0->altair<6.0,>=5.0->gradio) (0.19.0) Requirement already satisfied: six>=1.5 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from python-dateutil>=2.7->matplotlib~=3.0->gradio) (1.16.0) Requirement already satisfied: markdown-it-py>=2.2.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from rich>=10.11.0->typer<1.0,>=0.12->gradio) (3.0.0) Requirement already satisfied: pygments<3.0.0,>=2.13.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from rich>=10.11.0->typer<1.0,>=0.12->gradio) (2.18.0) Requirement already satisfied: httptools>=0.5.0 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from uvicorn[standard]>=0.12.0->fastapi->gradio) (0.6.1) Requirement already satisfied: python-dotenv>=0.13 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from uvicorn[standard]>=0.12.0->fastapi->gradio) (1.0.1) Requirement already satisfied: watchfiles>=0.13 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from uvicorn[standard]>=0.12.0->fastapi->gradio) (0.22.0) Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from requests->huggingface-hub>=0.19.3->gradio) (3.3.2) Requirement already satisfied: mdurl~=0.1 in c:\users\msi-nb\appdata\local\programs\python\python312\lib\site-packages (from markdown-it-py>=2.2.0->rich>=10.11.0->typer<1.0,>=0.12->gradio) (0.1.2) Virtual environment made and installed properly Yardımcı olursan sevinirim.

anseltrust

hello do this and it will be fixed. restart computer and install into a fresh folder. like c:/vton_Ai. but if you do this before even better. enter inside your temp folder and delete everything : C:\Users\YourUsername\AppData\Local\Temp

Furkan Gözükara

what is your python version? your cuda version? c++ tools installed? your is installation error. can you also reinstall and send me all cmd logs? i am going to make a fresh install to test and verify script not broken now

Furkan Gözükara

Traceback (most recent call last): File "C:\IDMVTON\IDM-VTON\app_VTON.py", line 4, in from src.tryon_pipeline import StableDiffusionXLInpaintPipeline as TryonPipeline File "C:\IDMVTON\IDM-VTON\src\tryon_pipeline.py", line 29, in from diffusers.image_processor import PipelineImageInput, VaeImageProcessor ModuleNotFoundError: No module named 'diffusers' How do I fix this? It shows when I run windows_start_VTON_app

Misha Mei

Interesting. I tested on massed compute didn't have such error. It is also Ubuntu

Furkan Gözükara

hi, I got the error below: ================================= File "/root/autodl-tmp/IDM-VTON2/preprocess/openpose/run_openpose.py", line 48, in __call__ pose, detected_map = self.preprocessor(input_image, hand_and_face=False) File "/root/autodl-tmp/IDM-VTON2/preprocess/openpose/annotator/openpose/__init__.py", line 72, in __call__ candidate, subset = self.body_estimation(oriImg) File "/root/autodl-tmp/IDM-VTON2/preprocess/openpose/annotator/openpose/body.py", line 63, in __call__ heatmap = util.smart_resize_k(heatmap, fx=stride, fy=stride) File "/root/autodl-tmp/IDM-VTON2/preprocess/openpose/annotator/openpose/util.py", line 35, in smart_resize_k return np.stack([smart_resize_k(x[:, :, i], fx, fy) for i in range(Co)], axis=2) File "/root/autodl-tmp/IDM-VTON2/preprocess/openpose/annotator/openpose/util.py", line 35, in return np.stack([smart_resize_k(x[:, :, i], fx, fy) for i in range(Co)], axis=2) File "/root/autodl-tmp/IDM-VTON2/preprocess/openpose/annotator/openpose/util.py", line 33, in smart_resize_k return cv2.resize(x, (int(Wt), int(Ht)), interpolation=cv2.INTER_AREA if k < 1 else cv2.INTER_LANCZOS4) cv2.error: OpenCV(4.7.0) :-1: error: (-5:Bad argument) in function 'resize' > Overload resolution failed: > - src data type = 23 is not supported > - Expected Ptr for argument 'src' =========================================== I fixed this error by modifying the body.py from: --------------------------------------------------------------------------- heatmap = util.smart_resize_k(heatmap, fx=stride, fy=stride) --------------------------------------------------------------------------- to: --------------------------------------------------------------------------- heatmap = util.smart_resize_k(heatmap.astype(np.float32), fx=stride, fy=stride) --------------------------------------------------------------------------- it does work for me, but I don't know why I got this error

faraway zheng

updated V11 working perfect

Furkan Gözükara

awesome. i am also doing a fresh install again to be sure

Furkan Gözükara

Thank you! It works well now!

KARL EVEN

fixed. you can either do fresh install or activate venv and pip install diffusers==0.25.1

Furkan Gözükara

testing right now to fix if broken thanks for letting me know

Furkan Gözükara

Hey, I wanted to reach out because I ran into a bit of an issue. I had your script running perfectly on RunPod with version v8, but when I tried to set up version v9 on a new RunPod instance, I got this error: ----- Traceback (most recent call last): File "/workspace/IDM-VTON/app_VTON.py", line 5, in from src.unet_hacked_garmnet import UNet2DConditionModel as UNet2DConditionModel_ref File "/workspace/IDM-VTON/src/unet_hacked_garmnet.py", line 35, in from diffusers.models.embeddings import ( ImportError: cannot import name 'PositionNet' from 'diffusers.models.embeddings' (/workspace/IDM-VTON/venv/lib/python3.10/site-packages/diffusers/models/embeddings.py) ----- I think this may be caused by the v9 version using newer diffusers, but I cannot fix it? Could you kindly give me some suggestions or consider updating the script?

KARL EVEN

yes it sounds like something went wrong during installation. so tell me your python version. also make a fresh install, don't close cmd, select all, copy, save in a txt file and email me : monstermmorpg@gmail.com

Furkan Gözükara

Steve Hoffmann

I suspect that it is because of your bitsandbytes version. Please activate venv and install 0.43.0. You used massed compute installer?

Furkan Gözükara

Did you try 8 and 16 bit? Different resolution images?

Furkan Gözükara

when i use load_mode 4bit ,get error : Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/gradio/queueing.py", line 528, in process_events response = await route_utils.call_process_api( File "/usr/local/lib/python3.10/dist-packages/gradio/route_utils.py", line 270, in call_process_api output = await app.get_blocks().process_api( File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 1908, in process_api result = await self.call_function( File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 1485, in call_function prediction = await anyio.to_thread.run_sync( File "/usr/local/lib/python3.10/dist-packages/anyio/to_thread.py", line 33, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread return await future File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 807, in run result = context.run(func, *args) File "/usr/local/lib/python3.10/dist-packages/gradio/utils.py", line 808, in wrapper response = f(*args, **kwargs) File "/export/App/training_platform/PinoModel/yisol/idm-server/app_VTON.py", line 239, in start_tryon ) = pipe.encode_prompt( File "/export/App/training_platform/PinoModel/yisol/idm-server/src/tryon_pipeline.py", line 634, in encode_prompt prompt_embeds = text_encoder(text_input_ids.to(device), output_hidden_states=True) File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1532, in _wrapped_call_impl return self._call_impl(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1541, in _call_impl return forward_call(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/accelerate/hooks.py", line 165, in new_forward output = module._old_forward(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/transformers/models/clip/modeling_clip.py", line 804, in forward return self.text_model( File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1532, in _wrapped_call_impl return self._call_impl(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1541, in _call_impl return forward_call(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/transformers/models/clip/modeling_clip.py", line 709, in forward encoder_outputs = self.encoder( File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1532, in _wrapped_call_impl return self._call_impl(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1541, in _call_impl return forward_call(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/transformers/models/clip/modeling_clip.py", line 636, in forward layer_outputs = encoder_layer( File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1532, in _wrapped_call_impl return self._call_impl(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1541, in _call_impl return forward_call(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/transformers/models/clip/modeling_clip.py", line 378, in forward hidden_states, attn_weights = self.self_attn( File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1532, in _wrapped_call_impl return self._call_impl(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1541, in _call_impl return forward_call(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/transformers/models/clip/modeling_clip.py", line 267, in forward query_states = self.q_proj(hidden_states) * self.scale File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1532, in _wrapped_call_impl return self._call_impl(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1541, in _call_impl return forward_call(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/bitsandbytes/nn/modules.py", line 256, in forward out = bnb.matmul_4bit(x, self.weight.t(), bias=bias, quant_state=self.weight.quant_state) File "/usr/local/lib/python3.10/dist-packages/bitsandbytes/autograd/_functions.py", line 577, in matmul_4bit return MatMul4Bit.apply(A, B, out, bias, quant_state) File "/usr/local/lib/python3.10/dist-packages/torch/autograd/function.py", line 598, in apply return super().apply(*args, **kwargs) # type: ignore[misc] File "/usr/local/lib/python3.10/dist-packages/bitsandbytes/autograd/_functions.py", line 516, in forward output = torch.nn.functional.linear(A, F.dequantize_4bit(B, quant_state).to(A.dtype).t(), bias) RuntimeError: mat1 and mat2 shapes cannot be multiplied (77x768 and 1x294912)

weilong guo

i can't see message please reply from Discord

Furkan Gözükara

how to fix it ?

weilong guo

in that case please mask manually

Furkan Gözükara

I choose a picture with only pants, I choose the lower_body option, it will make an error.

Lưu Bá Tài

(venv) vittoza@vittoza:~/ai/virtual_try_on_v8/IDM-VTON$ cd IDM-VTON source venv/bin/activate export PYTHONWARNINGS=ignore python3 app_VTON.py --load_mode 8bit --share True bash: cd: IDM-VTON: No such file or directory Running on local URL: http://127.0.0.1:7860 Running on public URL: https://857e1182c0709a2b61.gradio.live This share link expires in 72 hours. For free permanent hosting and GPU upgrades, run `gradio deploy` from Terminal to deploy to Spaces (https://huggingface.co/spaces) The config attributes {'decay': 0.9999, 'inv_gamma': 1.0, 'min_decay': 0.0, 'optimization_step': 37000, 'power': 0.6666666666666666, 'update_after_step': 0, 'use_ema_warmup': False} were passed to UNet2DConditionModel, but are not expected and will be ignored. Please verify your config.json configuration file. Some weights of the model checkpoint were not used when initializing UNet2DConditionModel: ['add_embedding.linear_1.bias, add_embedding.linear_1.weight, add_embedding.linear_2.bias, add_embedding.linear_2.weight'] Loading pipeline components...: 100%|█████████████| 8/8 [00:01<00:00, 5.32it/s] Traceback (most recent call last): File "/home/vittoza/ai/virtual_try_on_v8/IDM-VTON/venv/lib/python3.10/site-packages/gradio/queueing.py", line 528, in process_events response = await route_utils.call_process_api( File "/home/vittoza/ai/virtual_try_on_v8/IDM-VTON/venv/lib/python3.10/site-packages/gradio/route_utils.py", line 270, in call_process_api output = await app.get_blocks().process_api( File "/home/vittoza/ai/virtual_try_on_v8/IDM-VTON/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1908, in process_api result = await self.call_function( File "/home/vittoza/ai/virtual_try_on_v8/IDM-VTON/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1485, in call_function prediction = await anyio.to_thread.run_sync( File "/home/vittoza/ai/virtual_try_on_v8/IDM-VTON/venv/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "/home/vittoza/ai/virtual_try_on_v8/IDM-VTON/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2144, in run_sync_in_worker_thread return await future File "/home/vittoza/ai/virtual_try_on_v8/IDM-VTON/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 851, in run result = context.run(func, *args) File "/home/vittoza/ai/virtual_try_on_v8/IDM-VTON/venv/lib/python3.10/site-packages/gradio/utils.py", line 808, in wrapper response = f(*args, **kwargs) File "/home/vittoza/ai/virtual_try_on_v8/IDM-VTON/app_VTON.py", line 159, in start_tryon keypoints = openpose_model(human_img.resize((384,512))) File "/home/vittoza/ai/virtual_try_on_v8/IDM-VTON/preprocess/openpose/run_openpose.py", line 51, in __call__ subset = pose['bodies']['subset'][0][:18] IndexError: list index out of range

Lưu Bá Tài

also please provide more info because i just tested application and it works

Furkan Gözükara

yes examples are broken. please upload your own images should work. i am gonna check example thing now

Furkan Gözükara

I'm Run V7 in Ubuntu get error: subset = pose['bodies']['subset'][0][:18] IndexError: list index out of range

Lưu Bá Tài

great

Furkan Gözükara

It worked , Thank you 😍

Lưu Bá Tài

well you used more vram. start with --load_mode 4bit and --lowvram

Furkan Gözükara

return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking) torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 26.00 MiB. GPU 0 has a total capacity of 11.76 GiB of which 22.88 MiB is free. Process 2019 has 104.12 MiB memory in use. Including non-PyTorch memory, this process has 11.06 GiB memory in use. Of the allocated memory 10.54 GiB is allocated by PyTorch, and 429.29 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables) I run on ubuntu 22.04.3 and got this error, do you know why?

Lưu Bá Tài

great

Furkan Gözükara

Thanks for all your help! It worked. Best regards.

Melisa Machuret

Yes send you a mail. Thanks for your kindness.

Melisa Machuret

you are welcome let me know

Furkan Gözükara

Appreciate your quick reponse. I will do as you suggested

Melisa Machuret

use google chrome. also do you see generated image in outputs folder? looks to me like related to your computer and browser - https error

Furkan Gözükara

Currently I'm having this error, please help me fix it, thank you very much

Lưu Bá Tài

Running on local URL: http://127.0.0.1:7860 To create a public link, set `share=True` in `launch()`. IMPORTANT: You are using gradio version 4.28.2, however version 4.29.0 is available, please upgrade. -------- ERROR: Exception in ASGI application Traceback (most recent call last): File "D:\AI\virtual_try_on_v6\IDM-VTON\venv\lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 411, in run_asgi result = await app( # type: ignore[func-returns-value] File "D:\AI\virtual_try_on_v6\IDM-VTON\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 69, in __call__ return await self.app(scope, receive, send) File "D:\AI\virtual_try_on_v6\IDM-VTON\venv\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) File "D:\AI\virtual_try_on_v6\IDM-VTON\venv\lib\site-packages\starlette\applications.py", line 123, in __call__ await self.middleware_stack(scope, receive, send) File "D:\AI\virtual_try_on_v6\IDM-VTON\venv\lib\site-packages\starlette\middleware\errors.py", line 186, in __call__ raise exc File "D:\AI\virtual_try_on_v6\IDM-VTON\venv\lib\site-packages\starlette\middleware\errors.py", line 164, in __call__ await self.app(scope, receive, _send) File "D:\AI\virtual_try_on_v6\IDM-VTON\venv\lib\site-packages\gradio\route_utils.py", line 707, in __call__ await self.app(scope, receive, send) File "D:\AI\virtual_try_on_v6\IDM-VTON\venv\lib\site-packages\starlette\middleware\exceptions.py", line 65, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) File "D:\AI\virtual_try_on_v6\IDM-VTON\venv\lib\site-packages\starlette\_exception_handler.py", line 64, in wrapped_app raise exc File "D:\AI\virtual_try_on_v6\IDM-VTON\venv\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app await app(scope, receive, sender) File "D:\AI\virtual_try_on_v6\IDM-VTON\venv\lib\site-packages\starlette\routing.py", line 756, in __call__ await self.middleware_stack(scope, receive, send) File "D:\AI\virtual_try_on_v6\IDM-VTON\venv\lib\site-packages\starlette\routing.py", line 776, in app await route.handle(scope, receive, send) File "D:\AI\virtual_try_on_v6\IDM-VTON\venv\lib\site-packages\starlette\routing.py", line 297, in handle await self.app(scope, receive, send) File "D:\AI\virtual_try_on_v6\IDM-VTON\venv\lib\site-packages\starlette\routing.py", line 77, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) File "D:\AI\virtual_try_on_v6\IDM-VTON\venv\lib\site-packages\starlette\_exception_handler.py", line 64, in wrapped_app raise exc File "D:\AI\virtual_try_on_v6\IDM-VTON\venv\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app await app(scope, receive, sender) File "D:\AI\virtual_try_on_v6\IDM-VTON\venv\lib\site-packages\starlette\routing.py", line 75, in app await response(scope, receive, send) File "D:\AI\virtual_try_on_v6\IDM-VTON\venv\lib\site-packages\starlette\responses.py", line 352, in __call__ await send( File "D:\AI\virtual_try_on_v6\IDM-VTON\venv\lib\site-packages\starlette\_exception_handler.py", line 50, in sender await send(message) File "D:\AI\virtual_try_on_v6\IDM-VTON\venv\lib\site-packages\starlette\_exception_handler.py", line 50, in sender await send(message) File "D:\AI\virtual_try_on_v6\IDM-VTON\venv\lib\site-packages\starlette\middleware\errors.py", line 161, in _send await send(message) File "D:\AI\virtual_try_on_v6\IDM-VTON\venv\lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 549, in send raise RuntimeError("Response content shorter than Content-Length")

Lưu Bá Tài

Python 3.10.11

Lưu Bá Tài

make sure your python version is 3.10.11 and installed c++ tools. also config attributes message not important.

Furkan Gözükara

did you install c++ tools?

Furkan Gözükara

ok i need these 2. please make a fresh install and send me all cmd output. also please send me all cmd output of your first run. you can email me both : monstermmorpg@gmail.com i will also do a fresh install now to test. also install python 3.10.11 it works better than 3.10.6 for everything

Furkan Gözükara

Hope you can help me out, now I get this error KeyError: 'vhx5vpi6bq'

Melisa Machuret

The config attributes {'decay': 0.9999, 'inv_gamma': 1.0, 'min_decay': 0.0, 'optimization_step': 37000, 'power': 0.6666666666666666, 'update_after_step': 0, 'use_ema_warmup': False} were passed to UNet2DConditionModel, but are not expected and will be ignored. Please verify your config.json configuration file. image_encoder/config.json: 100% Python 3.10.6 Windows 10 / Python

Melisa Machuret

what is your python version?

Furkan Gözükara

Lưu Bá Tài

I haven't tried Layer yet, but as soon as I do, I'll leave a comment about it. Thanks again for the responses!

jonathan sanchez

sadly i dont know layer yet. have you tried? i feel you about custom mask input. I asked Gradio developers to bring in full screen mode. i dont know how hard it would be to add our own mask :D

Furkan Gözükara

yes yes of course, but I had thought it would be faster to create a mask in photoshop and retouch it inside photoshop and then upload it, as there are some photos that require some complex masks, but thanks anyway for the answer. By the way, how does the layer thing work?

jonathan sanchez

you can draw a mask on input image and it improves. did you try?

Furkan Gözükara

hello friend, I want to know if you can enable a field for custom mask or do you think it will not improve the results?

jonathan sanchez

edit input image and hit again. where do you use windows runpod kaggle massed compute? did you watch both of the tutorials?

Furkan Gözükara

When it finish installing iset images from the examples and click on Try-on but nothing is happining! what am I missing?

Tobe2d

to the readers you need to be connected to the internet while installing. make sure it is working. Min Xu problem was internet

Furkan Gözükara

Python 3.10.11 , gpu is nvidia geforce rtx 4070 super. thank you!!!!!

Min Xu

sure replied back there

Furkan Gözükara

hello. please tell me your python version and your gpu

Furkan Gözükara

ModuleNotFoundError: No module named 'torchvision.transforms.functional_tensor how to resolve this problem?

Min Xu

discord Sent you

鸣 陈

replied you back lets continue there

Furkan Gözükara

Still not possible, I'm here discord Stable-diffusion on Stable-diffusion sent you a picture. Please take a look.

鸣 陈

that means you didn't have git large. so it failed to clone the onnx files. please install git large as shown in tutorial video : 2:57 How to download Git Large (Git LFS) to clone VTON repo accurately https://youtu.be/m4pcIeAVQD0

Furkan Gözükara

Loading pipeline components...: 100%|████████████████████████████████████████████████████| 8/8 [00:02<00:00, 2.85it/s] Traceback (most recent call last): File "D:\1\virtual_try_on_v6\IDM-VTON\venv\lib\site-packages\gradio\queueing.py", line 527, in process_events response = await route_utils.call_process_api( File "D:\1\virtual_try_on_v6\IDM-VTON\venv\lib\site-packages\gradio\route_utils.py", line 270, in call_process_api output = await app.get_blocks().process_api( File "D:\1\virtual_try_on_v6\IDM-VTON\venv\lib\site-packages\gradio\blocks.py", line 1847, in process_api result = await self.call_function( File "D:\1\virtual_try_on_v6\IDM-VTON\venv\lib\site-packages\gradio\blocks.py", line 1433, in call_function prediction = await anyio.to_thread.run_sync( File "D:\1\virtual_try_on_v6\IDM-VTON\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "D:\1\virtual_try_on_v6\IDM-VTON\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 2144, in run_sync_in_worker_thread return await future File "D:\1\virtual_try_on_v6\IDM-VTON\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 851, in run result = context.run(func, *args) File "D:\1\virtual_try_on_v6\IDM-VTON\venv\lib\site-packages\gradio\utils.py", line 788, in wrapper response = f(*args, **kwargs) File "D:\1\virtual_try_on_v6\IDM-VTON\app_VTON.py", line 123, in start_tryon parsing_model = Parsing(0) File "D:\1\virtual_try_on_v6\IDM-VTON\preprocess\humanparsing\run_parsing.py", line 20, in __init__ self.session = ort.InferenceSession(os.path.join(Path(__file__).absolute().parents[2].absolute(), 'ckpt/humanparsing/parsing_atr.onnx'), File "D:\1\virtual_try_on_v6\IDM-VTON\venv\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 419, in __init__ self._create_inference_session(providers, provider_options, disabled_optimizers) File "D:\1\virtual_try_on_v6\IDM-VTON\venv\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 452, in _create_inference_session sess = C.InferenceSession(session_options, self._model_path, True, self._read_config_from_model) onnxruntime.capi.onnxruntime_pybind11_state.NoSuchFile: [ONNXRuntimeError] : 3 : NO_SUCHFILE : Load model from D:\1\virtual_try_on_v6\IDM-VTON\ckpt/humanparsing/parsing_atr.onnx failed:Load model D:\1\virtual_try_on_v6\IDM-VTON\ckpt/humanparsing/parsing_atr.onnx failed. File doesn't exist I don't know what my problem is. Could you please take a look?

鸣 陈

awesome thanks a lot

Furkan Gözükara

I deleted my comments so as not to get in your way. The error was my fault. I noticed that there was an invalid path to the "Python" in the system variables. I fixed this and reinstalled as you guided me and everything worked correctly. Thank you very much for the help and for your work!

Diogo Andrade

i think i had seen something like this but cant remember right now.

Furkan Gözükara

A small note after the test. If you want to replace the pants, turn off the auto mask. Otherwise, the mask will only define the top of the clothes

Dmitry

Hello, do you know any AI that removes people and leaves clothes?

Dmitry

fixed with v3 and verified thanks a lot for reporting

Furkan Gözükara

also can you edit your image and save as. like use photoshop or paint .net or anything to save as png

Furkan Gözükara

Awesome, thanks!

Nacho Sueiro

you must be not accurately uploading input image. did you see the image shared in the post to show how to upload image?

Furkan Gözükara

Hi there! After running the installation script on Massed compute and trying to run "python3 app_VTON.py --share True" i get the following warning and error The config attributes {'decay': 0.9999, 'inv_gamma': 1.0, 'min_decay': 0.0, 'optimization_step': 37000, 'power': 0.6666666666666666, 'update_after_step': 0, 'use_ema_warmup': False} were passed to UNet2DConditionModel, but are not expected and will be ignored. Please verify your config.json configuration file. Some weights of the model checkpoint were not used when initializing UNet2DConditionModel: ['add_embedding.linear_1.bias, add_embedding.linear_1.weight, add_embedding.linear_2.bias, add_embedding.linear_2.weight'] Traceback (most recent call last): File "/home/Ubuntu/apps/virtual_try_on_v2/IDM-VTON/app_VTON.py", line 118, in parsing_model = Parsing(0) File "/home/Ubuntu/apps/virtual_try_on_v2/IDM-VTON/preprocess/humanparsing/run_parsing.py", line 20, in __init__ self.session = ort.InferenceSession(os.path.join(Path(__file__).absolute().parents[2].absolute(), 'ckpt/humanparsing/parsing_atr.onnx'), File "/home/Ubuntu/apps/virtual_try_on_v2/IDM-VTON/venv/lib/python3.10/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 419, in __init__ self._create_inference_session(providers, provider_options, disabled_optimizers) File "/home/Ubuntu/apps/virtual_try_on_v2/IDM-VTON/venv/lib/python3.10/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 452, in _create_inference_session sess = C.InferenceSession(session_options, self._model_path, True, self._read_config_from_model) onnxruntime.capi.onnxruntime_pybind11_state.InvalidProtobuf: [ONNXRuntimeError] : 7 : INVALID_PROTOBUF : Load model from /home/Ubuntu/apps/virtual_try_on_v2/IDM-VTON/ckpt/humanparsing/parsing_atr.onnx failed:Protobuf parsing failed. Any idea on how to fix it? Thanks in advance!

Nacho Sueiro

It Works, but the input window is always black.

puk

you are welcome. the initial cloning will take a while since it clones about 1 GB models from Hugging Face

Furkan Gözükara

Hello, thank you for the great script!

peter realis


Related Creators