We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
train.py程序中计算准确率使用的label是随机生成的。 个人认为应该调用模型生成的label与真实label进行比较,而非随机生成的label与真实label比较,该问题导致模型训练准确率一直在0.5左右 label = torch.arange(5).repeat(10).type(torch.LongTensor).cuda() correct += float(torch.sum(logits == label).item())
The text was updated successfully, but these errors were encountered:
No branches or pull requests
train.py程序中计算准确率使用的label是随机生成的。
个人认为应该调用模型生成的label与真实label进行比较,而非随机生成的label与真实label比较,该问题导致模型训练准确率一直在0.5左右
label = torch.arange(5).repeat(10).type(torch.LongTensor).cuda()
correct += float(torch.sum(logits == label).item())
The text was updated successfully, but these errors were encountered: