(self, yaml_file)
| 65 | self.eval = {} |
| 66 | |
| 67 | def parse(self, yaml_file): |
| 68 | with open(yaml_file, "r") as stream: |
| 69 | params = yaml.safe_load(stream) |
| 70 | self.num_trials = int(params["num_trials"]) |
| 71 | self.env["log_path"] = params["log_path"] |
| 72 | |
| 73 | for group in params["datasets"]: |
| 74 | eg = ExperimentGroup(group) |
| 75 | self.experiments[group["name"]] = eg |
| 76 | |
| 77 | self.eval["semantic_threshold"] = params["semantic_threshold"] |
| 78 | |
| 79 | class GtData: |
| 80 | def __init__(self, gt_yaml): |