-
Notifications
You must be signed in to change notification settings - Fork 447
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
conda environment fails to install #38
Comments
after reducing builds I still get error with those:
|
What operating system are you trying to run this on? |
Windows 10, I forgot to search for similar issue ( I assumed it would be mentioned in readme). |
hi, i made it work on windows with the following steps:
i skipped libgcc-ng & libstdcxx-ng as they are not available for windows seems to work with one error: |
Build is failing for me as well, I tried to install manually with a virtual environment using Python3.8.3 and the following list of dependencies:
I have CUDA runtime 10.1.243 (Update 2) installed but I'm having the following error:
|
maybe you can use a CPU compatible version of model.stylegan.op to avoid the use of ninja/fused on Windows https://github.com/williamyang1991/VToonify/tree/main/model/stylegan/op_cpu |
Here are my two incomplete cents... =)
I had to modify it a bit.
However, this one reports a long list of conflicts: I ran the app anyway to see what exactly woud crash and I got this: I had already installed separate CL Tools from the latest Visual Studio, but I had to run the .bat (from Anaconda Prompt) to set paths.
Then I noticed I had to manually download some model so I did it, ran the app again and...
I suppose I should try other version than PyTorch 1.13.1... |
@vitacon I think you successfully install the environment. I think the error |
Thanks @williamyang1991! The easiest solution was using "-- scale_image", It was also necessary for another image of 1600 x 1600 pixels because otherwise it crashed:
I think it would be useful to enable the option "-- scale_image" by default or add a proper error message for this kind of situations. =} |
@vitacon do you mind to share your env image with conda-pack? I've been trying for 4 days with no success.
|
@mercantigo I'm no expert at Python etc. but since it mentions compiler I suspect this error is related to CL Tools. I did not have Visual Studio on my lab computer so I had to download at least part of it. I forgot some details but I hope it was this: |
@vitacon @hugosbnarciso now my main pkgs is cuda11.3 torch1.12.1 ( i have try torch1.7 and 1.9 but it is wrong), how to do it ? |
@luoww1992 My environment is really messy after all my experiments and I think it includes many unnecessary things:
I used a test computer so I did not want to install the whole Visual Studio on it and I installed just "vs_BuildTools.exe" (and I think I chose "CPP" in its installer). Then I ran
from Anaconda prompt to modify %PATH% and then it started to work. (FYI I used RTX 3060 with 8 GB RAM.) |
@vitacon |
@vitacon , @williamyang1991 |
@vitacon , @williamyang1991 |
@luoww1992 You are too quick. ;) Congratulation! =) Just to explain it a bit more: |
@vitacon |
??pip install cmake matplotlib ninja numpy opencv-python==4.5.3.56 scipy tqdm wget |
D:\xiangmuproject\VToonify-main>python style_transfer.py ./data/908.mp4 -ckpt ./checkpoint/vtoonify.pt |
I got the same error
Solution: Next error
|
Any info on that? The builds seem too specific.
The text was updated successfully, but these errors were encountered: