Closed choieq closed 4 years ago
When i run the code to test, got the this error.
./SAN/TestCode/code/trainer.py, line 113 in test
self.ckp.log[-1, idx_scale] = eval_acc / len(self.loader_test) ZeroDivisionError: division by zero.
I have no idea why len(self.loader_test) is zero.
How can i fix this error?
How to solve this error?Can you share the solution?
When i run the code to test, got the this error.
./SAN/TestCode/code/trainer.py, line 113 in test
self.ckp.log[-1, idx_scale] = eval_acc / len(self.loader_test) ZeroDivisionError: division by zero.
I have no idea why len(self.loader_test) is zero.
How can i fix this error?