10 lines
247 B
Python

from image_prediction.estimator.estimator import Estimator
class EstimatorPreprocessor:
def __init__(self, estimator: Estimator):
self.estimator = estimator
def predict(self, batch):
return self.estimator.predict(batch)