You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "F:\pycharm\p1\GESCO_main\image_train.py", line 113, in
main()
File "F:\pycharm\p1\GESCO_main\image_train.py", line 30, in main
model, diffusion = create_model_and_diffusion(
File "F:\pycharm\p1\GESCO_main\guided_diffusion\script_util.py", line 108, in create_model_and_diffusion
model = create_model(
File "F:\pycharm\p1\GESCO_main\guided_diffusion\script_util.py", line 198, in create_model
return UNetModel(
File "F:\pycharm\p1\GESCO_main\guided_diffusion\unet.py", line 709, in init
SDMResBlock(
File "F:\pycharm\p1\GESCO_main\guided_diffusion\unet.py", line 348, in init
self.in_norm = SPADEGroupNorm(channels, c_channels)
File "F:\pycharm\p1\GESCO_main\guided_diffusion\unet.py", line 165, in init
nn.Conv2d(label_nc, nhidden, kernel_size=(3,), padding=1),
File "F:\anoconda\envs\pytorch\lib\site-packages\torch\nn\modules\conv.py", line 450, in init
super().init(
File "F:\anoconda\envs\pytorch\lib\site-packages\torch\nn\modules\conv.py", line 89, in init
if in_channels % groups != 0:
The text was updated successfully, but these errors were encountered:
------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2024年4月2日(星期二) 下午4:46
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [ispamm/GESCO] TypeError: unsupported operand type(s) for %: 'NoneType' and 'int' (Issue #10)
请问解决了吗?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
Traceback (most recent call last):
File "F:\pycharm\p1\GESCO_main\image_train.py", line 113, in
main()
File "F:\pycharm\p1\GESCO_main\image_train.py", line 30, in main
model, diffusion = create_model_and_diffusion(
File "F:\pycharm\p1\GESCO_main\guided_diffusion\script_util.py", line 108, in create_model_and_diffusion
model = create_model(
File "F:\pycharm\p1\GESCO_main\guided_diffusion\script_util.py", line 198, in create_model
return UNetModel(
File "F:\pycharm\p1\GESCO_main\guided_diffusion\unet.py", line 709, in init
SDMResBlock(
File "F:\pycharm\p1\GESCO_main\guided_diffusion\unet.py", line 348, in init
self.in_norm = SPADEGroupNorm(channels, c_channels)
File "F:\pycharm\p1\GESCO_main\guided_diffusion\unet.py", line 165, in init
nn.Conv2d(label_nc, nhidden, kernel_size=(3,), padding=1),
File "F:\anoconda\envs\pytorch\lib\site-packages\torch\nn\modules\conv.py", line 450, in init
super().init(
File "F:\anoconda\envs\pytorch\lib\site-packages\torch\nn\modules\conv.py", line 89, in init
if in_channels % groups != 0:
The text was updated successfully, but these errors were encountered: