Open DesarguesC opened 1 year ago
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 remember that there was an error when installing through "pip 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) So I tried to create torch==1.11.0 environment from scratch.
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)
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. That problem first occurred when I tried to run 'run.sh' (I remember I've installed image tool), the error 'no module named carvekit' was raised at that time. Maybe it's because something went wrong when installing image-background-remove-tool.
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
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 in https://colab.research.google.com/drive/1y8VUOekkd6cjsc7hm8iimuR4bgwMhlWK?usp=sharing does not trigger a PyTorch downgrade.
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 infer that the problem I met before is probably caused by my wrongly dealing with some raised errors. Anyway, 3DFuse also runs normally with torch==1.11.0 on CUDA11.3 by using yaml file given on the top of the issue.
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: