I meet with a problem when running this command:
python generate.py --ckpt ./checkpoint/550000.pt
the detailed errors as follow:
`Traceback (most recent call last):
File "generate.py", line 84, in
generate(args, g_ema, device, mean_latent)
File "generate.py", line 17, in generate
[sample_z], truncation=args.truncation, truncation_latent=mean_latent
File "D:\Anaconda3\envs\pytorch1_8_0\lib\site-packages\torch\nn\modules\module.py", line 889, in _call_impl
result = self.forward(*input, kwargs)
File "D:\StyleGan2\stylegan2_pytorch\model.py", line 565, in forward
out = conv1(out, latent[:, i], noise=noise1)
File "D:\Anaconda3\envs\pytorch1_8_0\lib\site-packages\torch\nn\modules\module.py", line 889, in _call_impl
result = self.forward(*input, *kwargs)
File "D:\StyleGan2\stylegan2_pytorch\model.py", line 368, in forward
out = self.conv(input, style)
File "D:\Anaconda3\envs\pytorch1_8_0\lib\site-packages\torch\nn\modules\module.py", line 889, in _call_impl
result = self.forward(input, kwargs)
File "D:\StyleGan2\stylegan2_pytorch\model.py", line 289, in forward
out = self.blur(out)
File "D:\Anaconda3\envs\pytorch1_8_0\lib\site-packages\torch\nn\modules\module.py", line 889, in _call_impl
result = self.forward(*input, **kwargs)
File "D:\StyleGan2\stylegan2_pytorch\model.py", line 95, in forward
out = upfirdn2d(input, self.kernel, pad=self.pad)
TypeError: upfirdn2d(): incompatible function arguments. The following argument types are supported:
Thanks for your great project!
I meet with a problem when running this command:
python generate.py --ckpt ./checkpoint/550000.pt
the detailed errors as follow: `Traceback (most recent call last): File "generate.py", line 84, in
generate(args, g_ema, device, mean_latent)
File "generate.py", line 17, in generate
[sample_z], truncation=args.truncation, truncation_latent=mean_latent
File "D:\Anaconda3\envs\pytorch1_8_0\lib\site-packages\torch\nn\modules\module.py", line 889, in _call_impl
result = self.forward(*input, kwargs)
File "D:\StyleGan2\stylegan2_pytorch\model.py", line 565, in forward
out = conv1(out, latent[:, i], noise=noise1)
File "D:\Anaconda3\envs\pytorch1_8_0\lib\site-packages\torch\nn\modules\module.py", line 889, in _call_impl
result = self.forward(*input, *kwargs)
File "D:\StyleGan2\stylegan2_pytorch\model.py", line 368, in forward
out = self.conv(input, style)
File "D:\Anaconda3\envs\pytorch1_8_0\lib\site-packages\torch\nn\modules\module.py", line 889, in _call_impl
result = self.forward(input, kwargs)
File "D:\StyleGan2\stylegan2_pytorch\model.py", line 289, in forward
out = self.blur(out)
File "D:\Anaconda3\envs\pytorch1_8_0\lib\site-packages\torch\nn\modules\module.py", line 889, in _call_impl
result = self.forward(*input, **kwargs)
File "D:\StyleGan2\stylegan2_pytorch\model.py", line 95, in forward
out = upfirdn2d(input, self.kernel, pad=self.pad)
TypeError: upfirdn2d(): incompatible function arguments. The following argument types are supported:
My environment: cuda11.0 cudnn8.0 pytorch1.8.0 python3.6
Thanks for helping me!