ispamm / GESCO

Offcial PyTorch repository for the paper "Generative Semantic Communication: Diffusion Models Beyond Bit Recovery"
MIT License
77 stars 13 forks source link

TypeError: unsupported operand type(s) for %: 'NoneType' and 'int' #10

Open dmwlx opened 1 year ago

dmwlx commented 1 year ago

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:

wangasnas commented 8 months ago

请问解决了吗?

dmwlx commented 8 months ago

没有  

Revolve-lee @.***

 

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 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: @.***>