-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dealing with carvekit version conflicts when running "sh run.sh" #19
Comments
I remember that there was an error when installing through "pip install carvekit". Have you tried "pip install git+https://github.com/Ir1d/image-background-remove-tool@2b68f5276d0f2e90f607c7845c60d2bddb79d5ba" as in here? |
I've installed image-background-remove-tool, and then I install carvekit. And carvekit needs torch==1.11.0, and previous torch were automatically uninstalled, which led to the conflicts to torchvision, torchaudio and cudatoolkit version, thus cause the problem. (My device: CUDA11.7) |
If I'm correct, the image-background-remove-tool is carvekit, so there's no need to run "pip install carvekit" additionally. Please let me know if I'm mistaken! (https://github.com/Ir1d/image-background-remove-tool/blob/2b68f5276d0f2e90f607c7845c60d2bddb79d5ba/setup.py#L33) |
Module 'carvekit' do can be found in image-background-remove-tool, now 3DFuse normally works on torch==1.11.0. |
This will be helpful to other users who are experiencing the same issue with CUDA 11.7. Thank you! Additionally, it might be worth mentioning that running "pip install carvekit" instead of installing the forked version with "pip install git+https://github.com/Ir1d/image-background-remove-tool@2b68f5276d0f2e90f607c7845c60d2bddb79d5ba" like requirement.txt could cause issues like #6 . In the case of CUDA 11.3 env., I just confirmed that directly installing the forked version from git does not trigger a PyTorch downgrade. https://colab.research.google.com/drive/1y8VUOekkd6cjsc7hm8iimuR4bgwMhlWK?usp=sharing |
Got it, I'll continue to update the issue after retrying on CUDA11.7. Thanks for your reply. |
Recently I've tried to deal with the environment on CUDA11.7, finding the method on Installation section is correct! |
I found it hard to deal with the environment for the fact that the version of 'carvekit' conflicts to toch==1.12.0 (To run 'run.sh', carvekit package needs torch==1.11.0. Torch will be automatically uninstalled when installing carvekit.)
However, it could be a problem with the server environment I'm using. Thus, using the following yaml file may help
name: 3DFuse
channels:
dependencies:
The text was updated successfully, but these errors were encountered: