def process(self): total_epoch = StatusUpdateTool.get_epoch_size() train_loader, testloader = self.data.CIFR10() for p in range(total_epoch): self.train(p, train_loader) self.test(total_epoch, testloader) return self.best_acc
def process(self): total_epoch = StatusUpdateTool.get_epoch_size() for p in range(total_epoch): self.train(p) self.test(total_epoch) return self.best_acc