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

采用自己数据集,显示超出界限,目前也看不到如何修改类名?请指教 #7

Open
guoyanzhongwgfufg opened this issue Nov 2, 2022 · 6 comments

Comments

@guoyanzhongwgfufg
Copy link

return torch._C._nn.cross_entropy_loss(input, target, weight, _Reduction.get_enum(reduction), ignore_index, label_smoothing)

IndexError: Target 3 is out of bounds.

@qiaofengsheng
Copy link
Owner

qiaofengsheng commented Nov 2, 2022 via email

@guoyanzhongwgfufg
Copy link
Author

guoyanzhongwgfufg commented Nov 2, 2022 via email

@guoyanzhongwgfufg
Copy link
Author

guoyanzhongwgfufg commented Nov 2, 2022 via email

@guoyanzhongwgfufg
Copy link
Author

guoyanzhongwgfufg commented Nov 2, 2022 via email

@guoyanzhongwgfufg
Copy link
Author

guoyanzhongwgfufg commented Nov 2, 2022 via email

@guoyanzhongwgfufg
Copy link
Author

guoyanzhongwgfufg commented Nov 4, 2022 via email

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