DL-Art-School/codes/models/eval/evaluator.py

9 lines
306 B
Python
Raw Normal View History

# Base class for an evaluator, which is responsible for feeding test data through a model and evaluating the response.
class Evaluator:
def __init__(self, model, opt_eval, env):
self.model = model
self.opt = opt_eval
self.env = env
def perform_eval(self):
return {}