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

Fix one-hot encoding code in util.py #170

Open
TQZhang04 opened this issue Nov 4, 2024 · 2 comments
Open

Fix one-hot encoding code in util.py #170

TQZhang04 opened this issue Nov 4, 2024 · 2 comments

Comments

@TQZhang04
Copy link

No description provided.

@TQZhang04

This comment was marked as outdated.

@TQZhang04
Copy link
Author

Temporary fix to RunTime Error ... detected tensor([0, 1, 2]) expected [0, 1]: add labels_for_score = torch.clamp(labels_for_score, max=1) after line 72 in train.py

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

1 participant