From 42293d5c0f644e3d7a47fbde7f4684e0dec3b01c Mon Sep 17 00:00:00 2001 From: EricMichaelSmith Date: Fri, 1 Oct 2021 13:28:54 -0400 Subject: [PATCH] Add _self_ --- parlai/crowdsourcing/tasks/acute_eval/fast_eval.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/parlai/crowdsourcing/tasks/acute_eval/fast_eval.py b/parlai/crowdsourcing/tasks/acute_eval/fast_eval.py index 1ed9af767e4..cf44080db7a 100644 --- a/parlai/crowdsourcing/tasks/acute_eval/fast_eval.py +++ b/parlai/crowdsourcing/tasks/acute_eval/fast_eval.py @@ -21,7 +21,7 @@ from mephisto.operations.hydra_config import register_script_config from mephisto.operations.operator import Operator from mephisto.tools.scripts import load_db_and_process_config -from omegaconf import DictConfig +from omegaconf import DictConfig, OmegaConf from parlai.crowdsourcing.tasks.acute_eval.analysis import ( AcuteAnalyzer, @@ -478,6 +478,7 @@ def run_acute_eval(self): self.set_up_acute_eval() db, cfg = load_db_and_process_config(self.args) print(f'*** RUN ID: {cfg.mephisto.task.task_name} ***') + print(f'\nHydra config:\n{OmegaConf.to_yaml(cfg)}') operator = Operator(db) operator.validate_and_run_config(run_config=cfg.mephisto, shared_state=None) operator.wait_for_runs_then_shutdown( @@ -547,6 +548,7 @@ def analyze_results(self, args: Optional[str] = None): defaults = [ + '_self_', {"mephisto/blueprint": FAST_ACUTE_BLUEPRINT_TYPE}, {"mephisto/architect": "local"}, {"mephisto/provider": "mock"},