본 프로젝트는 threestudio 기반으로 작성된 코드입니다.
conda create -n texture python=3.10 -y
conda activate texture
pip install -r requirements.txt사전 학습된 IP-Adapter 모델을 사용합니다.
image_encoder와 ip-adapter_sd15.bin을 threestudio/models/guidance/adapter/models에 배치해 주세요.
cd threestudio/models/guidance/adapter/models
wget https://huggingface.co/h94/IP-Adapter/resolve/main/models/ip-adapter_sd15.bin
mkdir image_encoder
cd image_encoder
wget https://huggingface.co/h94/IP-Adapter/resolve/main/models/image_encoder/pytorch_model.binpython gradio.py