Skip to content
This repository has been archived by the owner on Sep 14, 2024. It is now read-only.

对比实验 #45

Open
zi1zi opened this issue Jul 3, 2023 · 0 comments
Open

对比实验 #45

zi1zi opened this issue Jul 3, 2023 · 0 comments

Comments

@zi1zi
Copy link

zi1zi commented Jul 3, 2023

谢谢您出色的工作,我需要和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]).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant