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? 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
在原始代码的评估.py代码中此处: confusion_matrix = torch.from_numpy(confusion_matrix).contiguous().cuda() confusion_matrix = engine.all_reduce_tensor(confusion_matrix, norm=False).cpu().numpy() pos = confusion_matrix.sum(1) res = confusion_matrix.sum(0) tp = np.diag(confusion_matrix) 而你的: #confusion_matrix = torch.from_numpy(confusion_matrix).contiguous().cuda() #confusion_matrix = engine.all_reduce_tensor(confusion_matrix, norm=False).cpu().numpy() 被注释掉了,能不能解释一下啊
The text was updated successfully, but these errors were encountered:
能否帮忙解释一下呀,我如果不把他注释到就不能跑
Sorry, something went wrong.
No branches or pull requests
在原始代码的评估.py代码中此处:
confusion_matrix = torch.from_numpy(confusion_matrix).contiguous().cuda()
confusion_matrix = engine.all_reduce_tensor(confusion_matrix, norm=False).cpu().numpy()
pos = confusion_matrix.sum(1)
res = confusion_matrix.sum(0)
tp = np.diag(confusion_matrix)
而你的:
#confusion_matrix = torch.from_numpy(confusion_matrix).contiguous().cuda()
#confusion_matrix = engine.all_reduce_tensor(confusion_matrix, norm=False).cpu().numpy()
被注释掉了,能不能解释一下啊
The text was updated successfully, but these errors were encountered: