Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

训练问题 #40

Open
yangmenda opened this issue Oct 15, 2022 · 2 comments
Open

训练问题 #40

yangmenda opened this issue Oct 15, 2022 · 2 comments

Comments

@yangmenda
Copy link

大佬您好,我在训练自己数据集的时候遇到了一个问题,我设置num_classes为2(只需分割一个种类),但是在载入预训练模型时,始终无法载入 Fail To Load Key: ['cls_conv.weight', 'cls_conv.bias'] ……Fail To Load Key num: 2 这两个键,请问一下有没有上面解决办法?

@bubbliiiing
Copy link
Owner

你不看提示么

@NIU12377
Copy link

NIU12377 commented Dec 2, 2023

大佬您好,我在训练自己数据集的时候遇到了一个问题,我设置num_classes为2(只需分割一个种类),但是在载入预训练模型时,始终无法载入 Fail To Load Key: ['cls_conv.weight', 'cls_conv.bias'] ......Fail To Load Key num: 2 这两个键,请问一下有没有上面解决办法?

你好,解决了吗

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

No branches or pull requests

3 participants