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

RuntimeError: Expected target size [16, 18], got [16, 14] #14

Open
newfish-lab opened this issue Oct 24, 2024 · 1 comment
Open

RuntimeError: Expected target size [16, 18], got [16, 14] #14

newfish-lab opened this issue Oct 24, 2024 · 1 comment

Comments

@newfish-lab
Copy link

作者你好!我训练的时候碰到报错“RuntimeError: Expected target size [16, 18], got [16, 14]”,论文提到disease labels是14,我想知道是不是代码哪里有问题?谢谢作者!

@jhb86253817
Copy link
Owner

论文中提到过,除了14个标准疾病,我们还增加了4个额外的辅助疾病,我们提供的json文件中包含了这18个label。请再确认一下是否使用了我们提供的标注。

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

2 participants