Spaces:
Runtime error
Runtime error
File size: 369 Bytes
1b2a9b1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
from swapae.evaluation.base_evaluator import BaseEvaluator
class NoneEvaluator(BaseEvaluator):
@staticmethod
def modify_commandline_options(parser, is_train):
return parser
def __init__(self, opt, target_phase):
super().__init__(opt, target_phase)
self.opt = opt
def evaluate(self, model, dataset, nsteps):
return {}
|