NVlabs / stylegan2-ada-pytorch

StyleGAN2-ADA - Official PyTorch implementation
https://arxiv.org/abs/2006.06676
Other
4.13k stars 1.17k forks source link

Update grid_sample_gradfix.py #294

Closed afaiyaz006 closed 1 year ago

afaiyaz006 commented 1 year ago

Updated the implementation of grad_sample_gradfix to stylegan3's implementation of grad_sample_gradfix so that it works with torch version 2.1.0+cu118(The default torch version in google colab as of 10/21/2023). Please check issues: https://github.com/pytorch/pytorch/issues/34704#issuecomment-1126986323 https://github.com/NVlabs/stylegan3/issues/188.