yisol / IDM-VTON

[ECCV2024] IDM-VTON : Improving Diffusion Models for Authentic Virtual Try-on in the Wild
https://idm-vton.github.io/
3.92k stars 613 forks source link

can you explain some one why i am getting the below error "torch.cuda.OutOfMemoryError:" #116

Open harinandyala4 opened 3 months ago

harinandyala4 commented 3 months ago

torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 54.00 MiB (GPU 0; 14.58 GiB total capacity; 13.95 GiB already allocated; 7.56 MiB free; 14.44 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

FurkanGozukara commented 3 months ago

your GPU card is not able to run it as it is you need optimization or bigger card

check out these tutorials

68.) Free - Local - PC

IDM-VTON: The Most Amazing Virtual Clothing Try On Application - Open Source - 1 Click Install & Use

image

69.) Free & Paid - Cloud - RunPod - Massed Compute - Kaggle

IDM-VTON: The Most Amazing Virtual Clothing Try On Application - RunPod - Massed Compute - Kaggle

image