-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Error with grid_sampler_2d_backward() #145
Comments
I have a same problem |
i have a same problem too |
See the related issue in PyTorch repository: pytorch/pytorch#75018
|
specifying "pytorch=1.10.2" in the environment.yml should work. I have had issues with anaconda downloading the CPU version so I personally use "pytorch=1.10.2=py3.9_cuda11.3_cudnn8_0" More information in PDillis/stylegan3-fun#7, includes a pull request with an environment.yml that works for me |
I had the same problem, and following command fixes it. Using pytorch=1.10 should work, but I'm not using conda.
|
…mple_gradfix to the new API thanks @timothybrooks for the fix! for #145
I pushed a change that should fix stylegan3 for pytorch 1.11. I'd be curious to know if it fixes the problems mentioned in the above thread (it does fix it for me.) |
Thanks @jannehellsten for the change! |
@jannehellsten - Still not working for me using above fix. D:\python\repos\stable\stylegan3\training\augment.py:231: UserWarning: Specified kernel cache directory could not be created! This disables kernel caching. Specified directory is C:\Users\secre\AppData\Local\Temp/torch/kernels. This warning will appear only once per process. (Triggered internally at ..\aten\src\ATen\native\cuda\jit_utils.cpp:860.) |
As an update, manually creating the directory worked for me. No warnings now. |
I’ve seen this too but I think that’s just a warning? It should work, just that startup takes longer. FWIW it’s a bug in PyTorch: it’s unable to create this directory due to a bug in their cache code. |
…mple_gradfix to the new API thanks @timothybrooks for the fix! for NVlabs#145
Describe the bug
I get the following traceback error everytime I attempt to train stylegan3
To Reproduce
Steps to reproduce the behavior:
python train.py --outdir=training-runs-anime --cfg=stylegan3-t --data=dataset/anime_dataset.zip --gpus=1 --batch=32 --gamma=0.5 --mirror=1
Expected behavior
If this bug didn't exist, I would be able to train stylegan3-t with anime images.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
All Desktop info is correct, any help is appreciated
The text was updated successfully, but these errors were encountered: