Skip to content

Comments

Ngxbac#5

Open
glcanvas wants to merge 7 commits intomasterfrom
ngxbac
Open

Ngxbac#5
glcanvas wants to merge 7 commits intomasterfrom
ngxbac

Conversation

@glcanvas
Copy link
Owner

@glcanvas glcanvas commented Jan 7, 2020

original implementation


return loss_cl.cpu().item(), self.__calculate_accuracy(labels, logits).cpu().item()

def __calculate_accuracy(self, labels, logits):
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tanyapole please see this function, I'm not sure it's valid accuracy

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

Successfully merging this pull request may close these issues.

1 participant