This commit is contained in:
Jeffreytsai1004 2025-02-18 01:03:04 +08:00
parent b805846fb7
commit 25680ed32f
2 changed files with 68 additions and 38 deletions

View File

@ -41,26 +41,41 @@ Expected output:
└── visualization/ # Rendering results and video └── visualization/ # Rendering results and video
``` ```
Required resource structure: ## Directory Structure
``` ```
resource/ ├── cache/ # Cache directory
├── NeuralHaircut/ │ ├── gdown/ # gdown cache
│ ├── pretrained_models/ │ ├── torch/ # PyTorch cache
│ │ ├── diffusion_prior/ │ └── huggingface/ # Hugging Face cache
│ │ │ └── dif_ckpt.pt # Diffusion prior model ├── ext/ # External dependencies
│ │ └── strand_prior/ │ ├── NeuralHaircut/ # NeuralHaircut repository
│ │ └── strand_ckpt.pt # Strand prior model │ ├── Matte-Anything/ # Matte-Anything repository
│ └── PIXIE/ │ ├── openpose/ # OpenPose repository
│ └── pixie_data.tar.gz # PIXIE model data archive │ ├── pytorch3d/ # PyTorch3D repository
├── Matte-Anything/ │ ├── simple-knn/ # Simple KNN repository
│ └── pretrained/ │ ├── kaolin/ # Kaolin repository
│ └── ViTMatte_B_DIS.pth # Matte-Anything model │ └── hyperIQA/ # HyperIQA repository
├── openpose/ ├── resource/ # Resource files
│ └── models/ │ ├── NeuralHaircut/ # NeuralHaircut models
│ └── models.tar.gz # OpenPose model archive │ ├── Matte-Anything/ # Matte-Anything models
└── hyperIQA/ │ ├── openpose/ # OpenPose models
└── pretrained/ │ ├── PIXIE/ # PIXIE models
└── koniq_pretrained.pkl # Image quality assessment model │ └── hyperIQA/ # HyperIQA models
├── src/ # Source code
├── micromamba/ # Micromamba installation
├── micromamba.exe # Micromamba executable
├── install.bat # Installation script
├── download_resource.bat # Resource download script
└── run.bat # Execution script
```
## Environment Variables
Required environment variables:
```batch
set "PROJECT_DIR=C:\path\to\project" # Project root directory
set "CUDA_HOME=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8"
set "BLENDER_DIR=C:\Program Files\Blender Foundation\Blender 3.6"
set "VS_DIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools"
``` ```
## Getting Started ## Getting Started

View File

@ -41,26 +41,41 @@
└── visualization/ # 渲染结果和视频 └── visualization/ # 渲染结果和视频
``` ```
所需资源文件结构: ## 目录结构
``` ```
resource/ ├── cache/ # 缓存目录
├── NeuralHaircut/ │ ├── gdown/ # gdown缓存
│ ├── pretrained_models/ │ ├── torch/ # PyTorch缓存
│ │ ├── diffusion_prior/ │ └── huggingface/ # Hugging Face缓存
│ │ │ └── dif_ckpt.pt # 扩散先验模型 ├── ext/ # 外部依赖
│ │ └── strand_prior/ │ ├── NeuralHaircut/ # NeuralHaircut仓库
│ │ └── strand_ckpt.pt # 股线先验模型 │ ├── Matte-Anything/ # Matte-Anything仓库
│ └── PIXIE/ │ ├── openpose/ # OpenPose仓库
│ └── pixie_data.tar.gz # PIXIE 模型数据存档 │ ├── pytorch3d/ # PyTorch3D仓库
├── Matte-Anything/ │ ├── simple-knn/ # Simple KNN仓库
│ └── pretrained/ │ ├── kaolin/ # Kaolin仓库
│ └── ViTMatte_B_DIS.pth # Matte-Anything 模型 │ └── hyperIQA/ # HyperIQA仓库
├── openpose/ ├── resource/ # 资源文件
│ └── models/ │ ├── NeuralHaircut/ # NeuralHaircut模型
│ └── models.tar.gz # OpenPose 模型 │ ├── Matte-Anything/ # Matte-Anything模型
└── hyperIQA/ │ ├── openpose/ # OpenPose模型
└── pretrained/ │ ├── PIXIE/ # PIXIE模型
└── koniq_pretrained.pkl # 图像质量评估模型 │ └── hyperIQA/ # HyperIQA模型
├── src/ # 源代码
├── micromamba/ # Micromamba安装目录
├── micromamba.exe # Micromamba可执行文件
├── install.bat # 安装脚本
├── download_resource.bat # 资源下载脚本
└── run.bat # 执行脚本
```
## 环境变量
需要设置的环境变量:
```batch
set "PROJECT_DIR=C:\path\to\project" # 项目根目录
set "CUDA_HOME=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8"
set "BLENDER_DIR=C:\Program Files\Blender Foundation\Blender 3.6"
set "VS_DIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools"
``` ```
## 环境配置 ## 环境配置