not passing in dataset name
This commit is contained in:
@@ -38,9 +38,7 @@ class Evaluator:
|
||||
logger.info("preparing to run experiment")
|
||||
self.pipeline:Pipeline = self.config.pipe_config.setup()
|
||||
self.cli = Client()
|
||||
self.validator:Validator = self.config.validator_config.setup(
|
||||
dataset_name=self.config.dataset_name
|
||||
)
|
||||
self.validator:Validator = self.config.validator_config.setup()
|
||||
self.dataset = self.cli.read_dataset(dataset_name=self.config.dataset_name)
|
||||
|
||||
|
||||
|
||||
@@ -14,9 +14,8 @@ class ValidatorConfig(KeyConfig):
|
||||
|
||||
|
||||
class Validator:
|
||||
def __init__(self, config: ValidatorConfig, dataset_name:str):
|
||||
def __init__(self, config: ValidatorConfig):
|
||||
self.config = config
|
||||
self.dataset_name = dataset_name
|
||||
|
||||
self.populate_modules()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user