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
{{ message }}
This repository has been archived by the owner on Sep 14, 2024. It is now read-only.
谢谢您出色的工作,我需要和zi2zi做对比实验,数据集为28种字体,大小为80*80,我在上采样加了一层转置卷积使得程序能够运行起来,卷积层组为6组(之前为8组),但是infer阶段加载模型时加载鉴别器出现了错误,只加载生成器没有错误,错误如下:
RuntimeError: Error(s) in loading state_dict for Discriminator:
size mismatch for binary.weight: copying a param with shape torch.Size([1, 100]) from checkpoint, the shape in current model is torch.Size([1, 1024]).
size mismatch for catagory.weight: copying a param with shape torch.Size([40, 100]) from checkpoint, the shape in current model is torch.Size([40, 1024]).
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
谢谢您出色的工作,我需要和zi2zi做对比实验,数据集为28种字体,大小为80*80,我在上采样加了一层转置卷积使得程序能够运行起来,卷积层组为6组(之前为8组),但是infer阶段加载模型时加载鉴别器出现了错误,只加载生成器没有错误,错误如下:
RuntimeError: Error(s) in loading state_dict for Discriminator:
size mismatch for binary.weight: copying a param with shape torch.Size([1, 100]) from checkpoint, the shape in current model is torch.Size([1, 1024]).
size mismatch for catagory.weight: copying a param with shape torch.Size([40, 100]) from checkpoint, the shape in current model is torch.Size([40, 1024]).
The text was updated successfully, but these errors were encountered: