一个换衣服的项目流程总结

IDM-VTON : Improving Diffusion Models for Authentic Virtual Try-on in the Wild
https://github.com/yisol/IDM-VTON

Step 1: Clone the repository
git clone https://github.com/yisol/IDM-VTON

Step 2: Navigate inside the cloned repository
cd IDM-VTON

Step 3: Create virtual environment
python -m venv venv

Step 4: Activate virtual environment
venv\scripts\activate

Step 5: Install requirements
pip install torch2.0.1+cu118 torchvision0.15.2+cu118 torchaudio2.0.2+cu118 -f https://download.pytorch.org/whl/torch_stable.html
pip install pytorch-triton
pip install accelerate
0.25.0 torchmetrics1.2.1 tqdm4.66.1 transformers4.36.2 diffusers0.25.0 einops0.7.0 bitsandbytes0.39.0 scipy1.11.1 opencv-python gradio4.24.0 fvcore cloudpickle omegaconf pycocotools basicsr av onnxruntime==1.16.2
python.exe -m pip install --upgrade pip

Step 6: Download checkpoints

  1. IDM-VTON\ckpt\densepose
    https://huggingface.co/yisol/IDM-VTON/tree/main/densepose

  2. IDM-VTON\ckpt\humanparsing (parsing_atr.onnx and parsing_lip.onnx)
    https://huggingface.co/levihsu/OOTDiffusion/tree/main/checkpoints/humanparsing

  3. IDM-VTON\ckpt\openpose\ckpts
    https://huggingface.co/lllyasviel/ControlNet/blob/main/annotator/ckpts/body_pose_model.pth

Step 7: Download models
mkdir yisol
cd yisol
git lfs install
git clone https://huggingface.co/yisol/IDM-VTON

Step 8: Launch the gradio UI
venv\scripts\activate
python gradio_demo/app.py

Try Hugging face demo
https://huggingface.co/spaces/yisol/IDM-VTON

相关推荐

  1. 一个衣服项目流程总结

    2024-06-18 09:30:03       36 阅读
  2. 关于我做了一个python项目总结

    2024-06-18 09:30:03       26 阅读
  3. 关于最近项目数字前端FLOW一些总结

    2024-06-18 09:30:03       22 阅读
  4. 一个cache设计总结

    2024-06-18 09:30:03       28 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-06-18 09:30:03       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-06-18 09:30:03       101 阅读
  3. 在Django里面运行非项目文件

    2024-06-18 09:30:03       82 阅读
  4. Python语言-面向对象

    2024-06-18 09:30:03       91 阅读

热门阅读

  1. Brief introduction of SIFT algorithm

    2024-06-18 09:30:03       21 阅读
  2. 如何在Linux服务器使用命令修改bios配置

    2024-06-18 09:30:03       33 阅读
  3. Netty中的Reactor模型实现

    2024-06-18 09:30:03       38 阅读
  4. 富格林:掌握可信出金交易策略

    2024-06-18 09:30:03       38 阅读
  5. 架构模式——事件驱动架构模式

    2024-06-18 09:30:03       26 阅读
  6. LeetCode //C - 179. Largest Number

    2024-06-18 09:30:03       29 阅读
  7. 1327. 列出指定时间段内所有的下单产品

    2024-06-18 09:30:03       29 阅读
  8. Nginx网站服务

    2024-06-18 09:30:03       25 阅读
  9. 【小程序】页面导航

    2024-06-18 09:30:03       31 阅读
  10. ubuntu--安装sogou输入法

    2024-06-18 09:30:03       34 阅读
  11. 【docker】常用指令-表格整理

    2024-06-18 09:30:03       37 阅读