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

label编码的代码在哪 #11

Open
renmada opened this issue Jul 17, 2021 · 1 comment
Open

label编码的代码在哪 #11

renmada opened this issue Jul 17, 2021 · 1 comment

Comments

@renmada
Copy link

renmada commented Jul 17, 2021

dataset里的代码是
if self.training:
if not self.case_sensitive:
label = label.lower()
return (img, label)
DistCollateFn里没有看到相关代码

输入给模型的label不能是str吧

@zezeze97
Copy link

在utils/label_util.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

2 participants