Main entry point for evaluation. :param cfg: DictConfig configuration composed by Hydra.
(cfg: DictConfig)
| 149 | |
| 150 | @hydra.main(version_base="1.3", config_path="../configs", config_name="eval.yaml") |
| 151 | def main(cfg: DictConfig) -> None: |
| 152 | """Main entry point for evaluation. |
| 153 | |
| 154 | :param cfg: DictConfig configuration composed by Hydra. |
| 155 | """ |
| 156 | # apply extra utilities |
| 157 | # (e.g. ask for tags if none are provided in cfg, print cfg tree, etc.) |
| 158 | extras(cfg) |
| 159 | |
| 160 | evaluate(cfg) |
| 161 | |
| 162 | |
| 163 | if __name__ == "__main__": |