deepseek-ai / DreamCraft3D

[ICLR 2024] Official implementation of DreamCraft3D: Hierarchical 3D Generation with Bootstrapped Diffusion Prior
https://mrtornado24.github.io/DreamCraft3D/
MIT License
1.96k stars 86 forks source link

There is no `carvekit` in requirements.txt #18

Open Konstantysz opened 9 months ago

Konstantysz commented 9 months ago

When I wanted to run the pipeline in docker (using your Dockerfile) I was unable to run preprocess_image.py due to missing carvekit package. I tried to install it, but it downgrades several packages including torch. Does this script work in Docker?

DSaurus commented 9 months ago

Hi, @Konstantysz

You can refer to threestudio-dreamcraft3D. We use a new background remover which will not downgrade torch.

MrTornado24 commented 9 months ago

Hi, for install carvekit, you can try to install from github following: git clone https://github.com/OPHoperHPO/image-background-remove-tool.git Then comment out those requirements in requirements.txt:

torch~=1.11.0
torchvision~=0.12.0

You can also comment out other conflict requirements too. Finally run python setup.py install