-
Notifications
You must be signed in to change notification settings - Fork 382
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
Setting up PyTorch plugin "upfirdn2d_plugin"... Failed! #18
Comments
It seems that it's failing to build that specific plugin. It looks that
you're on windows and the CLI isn't finding the compilers. Do you have
Visual Studio installed? Try also running from the Developer Command prompt
for VS, which has the build tools.
|
Hi @Kuang-Hiu It seems VS didn't have the corresponding C++ compiler from this error information (note that the code also require We haven't tested the code on Windows, unfortunately, and I'm also not quite familiar with windows' compiling system. I recommend you to try to run the code on Linux, it would be much easier for running this code |
Hi @Kuang-Hiu I checked the github issue from StyleGAN3 Maybe this issue is helpful for you? |
Thanks @SteveJunGao. I required nvcc in my system. I just update my VS form 2019 to 2022 but everything almost not done. |
@Kuang-Hiu I had these issues, and several different reasons they occured I recommend downloading and running the run.sh installer from NVIDIA for the latest CUDAversion, notably 11.8. CUDA is backwards compatible and I got it successfully working I think generally the reason these problems arise is that the built in Linux distro of CUDA won't work with Pytorch, but does automatically set the PATH variable properly, where the run.sh installer from the website installs the proper version but doesn't seem to set the paths automatically for you.
If you nano ~/.bashrc and add the following, it will fix the nvcc linker issue if it can't find:
I had a nightmare for some reason on A100s, passing through everything up to training and then crashing at start. I switched to V100s (using CoreWeave so I could keep storage volume and just restart) and everything worked perfectly. I think this was a pytorch version / driver version issue somewhere in my system, and maybe if I switched back over having set everything properly it would work. I don't know if this is correct knowledge but maybe helpful folklore to start digging into if you're out of ideas. |
I got the same error in CentOS. So it seems like some configure problems. |
NVlabs/stylegan2-ada-pytorch#11 |
Thanks for your support. But at the moment, I face to error: Training options: Output directory: /content/drive/MyDrive/Get3D/GET3D/save_inference_results\inference Creating output directory... Process finished with exit code 1 Anyone has solve.? |
|
Surprisingly this worked for me. (Ran the codes for the environments) |
Can you help me to train model.
When I try train model with car dataset, I met this error
The text was updated successfully, but these errors were encountered: