Skip to content

Commit

Permalink
log traces
Browse files Browse the repository at this point in the history
  • Loading branch information
gasse committed Nov 1, 2024
1 parent 9487948 commit fc3b243
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
import logging
import os
import typing
from collections import defaultdict
from copy import deepcopy
from dataclasses import dataclass, field
from pathlib import Path
from typing import Literal, Optional

import pandas as pd
Expand Down Expand Up @@ -90,6 +87,7 @@ def __post_init__(self):

def prepare_backends(self):
for backend in self.backends:
logger.info(f"Preparing {backend} backend...")
match backend:
case "miniwob":
# register environments
Expand Down Expand Up @@ -166,6 +164,8 @@ def prepare_backends(self):
case _:
raise ValueError(f"Unknown benchmark backend {repr(backend)}")

logger.info(f"{backend} backend ready")

def subset_from_split(self, split: Literal["train", "valid", "test"]):
split_column = "browsergym_split"

Expand Down

0 comments on commit fc3b243

Please sign in to comment.