ShineChen1024 / MagicClothing

Official implementation of Magic Clothing: Controllable Garment-Driven Image Synthesis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Memory usage problem

CCJetWing opened this issue · comments

When I use the gradio_generate webui, my computer can run smoothly, generating a picture in 10 seconds. However when I use API to run the process, it would take up large amount of memories, slowing down the process to nearly an hour, and sometimes causes the 'CUDA out of memory' error.
How can I fix the problem?

What is the GPU used for the experiments?

which API?

I am using single RTX3090 GPU, and the /process API of gradio_generate.py

which API?

Still no clues why I got this problem.