Hello, I want to use MulticlassTop5Engine(Class) to measure accuracy.
But get some errors:
"input_var = torch.autograd.Variable(self.state['input'])
TypeError: Variable data has to be a tensor, but got list"
But when using MultiLabelMAPEngine(Class), not those errors.
Can you add the code of how to run class MluticlassTop5Engine?
Thanks!
Hello, I want to use MulticlassTop5Engine(Class) to measure accuracy. But get some errors:
"input_var = torch.autograd.Variable(self.state['input'])
TypeError: Variable data has to be a tensor, but got list" But when using MultiLabelMAPEngine(Class), not those errors.
Can you add the code of how to run class MluticlassTop5Engine? Thanks!