Install with pip:
pip install torch==1.12.1+cu116 torchvision==0.13.1+cu116 torchaudio===0.12.1+cu116
pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
pip install diffusers==0.22.1
pip install huggingface_hub==0.25.0
pip install transformers==4.44.2
pip install open3d==0.17.0 trimesh==3.22.5 pymeshlab
# install gaussian rasterization
git clone --recursive https://github.com/ashawkey/diff-gaussian-rasterization
pip install ./diff-gaussian-rasterization
# install simple-knn
git clone https://github.com/camenduru/simple-knn.git
pip install ./simple-knn
git clone https://github.com/facebookresearch/sam2.git florence-sam/sam2
mv florence-sam/sam2/sam2/* florence-sam/sam2/
rm -rf florence-sam/sam2/sam2
bash add_sunglasses_to_the_doll_stage1.sh
bash add_sunglasses_to_the_doll_stage2.sh
bash add_sunglasses_to_the_doll_stage3.sh
bash add_sunglasses_to_the_doll_stage4.sh
If you find this code helpful for your research, please cite:
@article{li2025freeinsert,
title={FreeInsert: Disentangled Text-Guided Object Insertion in 3D Gaussian Scene without Spatial Priors},
author={Li, Chenxi and Wang, Weijie and Li, Qiang and Lepri, Bruno and Sebe, Nicu and Nie, Weizhi},
journal={arXiv preprint arXiv:2505.01322},
year={2025}
}
This code based on 3D-GS,TIP-Editor, Dreambooth, Prompt-to-Prompt, GaussianEditor.
1 commits
Python
98.0%
Shell
2.0%
Install with pip:
pip install torch==1.12.1+cu116 torchvision==0.13.1+cu116 torchaudio===0.12.1+cu116
pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
pip install diffusers==0.22.1
pip install huggingface_hub==0.25.0
pip install transformers==4.44.2
pip install open3d==0.17.0 trimesh==3.22.5 pymeshlab
# install gaussian rasterization
git clone --recursive https://github.com/ashawkey/diff-gaussian-rasterization
pip install ./diff-gaussian-rasterization
# install simple-knn
git clone https://github.com/camenduru/simple-knn.git
pip install ./simple-knn
git clone https://github.com/facebookresearch/sam2.git florence-sam/sam2
mv florence-sam/sam2/sam2/* florence-sam/sam2/
rm -rf florence-sam/sam2/sam2
bash add_sunglasses_to_the_doll_stage1.sh
bash add_sunglasses_to_the_doll_stage2.sh
bash add_sunglasses_to_the_doll_stage3.sh
bash add_sunglasses_to_the_doll_stage4.sh
If you find this code helpful for your research, please cite:
@article{li2025freeinsert,
title={FreeInsert: Disentangled Text-Guided Object Insertion in 3D Gaussian Scene without Spatial Priors},
author={Li, Chenxi and Wang, Weijie and Li, Qiang and Lepri, Bruno and Sebe, Nicu and Nie, Weizhi},
journal={arXiv preprint arXiv:2505.01322},
year={2025}
}
This code based on 3D-GS,TIP-Editor, Dreambooth, Prompt-to-Prompt, GaussianEditor.
1 commits
Python
98.0%
Shell
2.0%