rosinality / stylegan2-pytorch

Implementation of Analyzing and Improving the Image Quality of StyleGAN (StyleGAN 2) in PyTorch
MIT License
2.74k stars 623 forks source link

Exception has occurred: UnicodeDecodeError #296

Open MationPlays opened 2 years ago

MationPlays commented 2 years ago

Hello I get following error:

Exception has occurred: UnicodeDecodeError 'utf-8' codec can't decode byte 0x81 in position 22390: invalid start byte

During handling of the above exception, another exception occurred:

File "[C:\Users{USERNAME}\repurposeGAN-Repo\repurposegan\stylegan2-pytorch-master\op\fused_act.py]()", line 11, in fused = load( File "[C:\Users{USERNAME}\repurposeGAN-Repo\repurposegan\stylegan2-pytorch-master\op__init__.py]()", line 1, in from .fused_act import FusedLeakyReLU, fused_leaky_relu File "[C:\Users{USERNAME}\repurposeGAN-Repo\repurposegan\stylegan2-pytorch-master\train.py]()", line 30, in from op import conv2d_gradfix

Does somebody had this before?Thanks for help!

MationPlays commented 2 years ago

I am not sure to which string it refers to

line 11: fused = load( line 12: "fused", line 13: sources=[ line 14: os.path.join(module_path, "fused_bias_act.cpp"), line 15: os.path.join(module_path, "fused_bias_act_kernel.cu"), line 16: ],