from dataclasses import dataclass

from omegaconf import MISSING


@dataclass
class ToCSVCallback:
    """
    CSV support for fseval. Uploads general information on the experiment to
    a `experiments` table and provides a hook for uploading custom tables.

    Attributes:
        dir (str): The directory to save all CSV files to. For example, in this
            directory a file `experiments.csv` will be created, containing the config
            of all experiments that were run.
        mode (str): Whether to overwrite or append. Use "a" for appending and "w" for
            overwriting.
    """

    dir: str = MISSING
    mode: str = "a"

    # required for instantiation
    _target_: str = "fseval.callbacks.to_csv.CSVCallback"

01e97f3bdf541596207025d0c5f545d17fdb1e08
<mask token>

<mask token>


@dataclass
class ToCSVCallback:
    <mask token>
    dir: str = MISSING
    mode: str = 'a'
    _target_: str = 'fseval.callbacks.to_csv.CSVCallback'

<mask token>


@dataclass
class ToCSVCallback:
    """
    CSV support for fseval. Uploads general information on the experiment to
    a `experiments` table and provides a hook for uploading custom tables.

    Attributes:
        dir (str): The directory to save all CSV files to. For example, in this
            directory a file `experiments.csv` will be created, containing the config
            of all experiments that were run.
        mode (str): Whether to overwrite or append. Use "a" for appending and "w" for
            overwriting.
    """
    dir: str = MISSING
    mode: str = 'a'
    _target_: str = 'fseval.callbacks.to_csv.CSVCallback'

from dataclasses import dataclass
from omegaconf import MISSING


@dataclass
class ToCSVCallback:
    """
    CSV support for fseval. Uploads general information on the experiment to
    a `experiments` table and provides a hook for uploading custom tables.

    Attributes:
        dir (str): The directory to save all CSV files to. For example, in this
            directory a file `experiments.csv` will be created, containing the config
            of all experiments that were run.
        mode (str): Whether to overwrite or append. Use "a" for appending and "w" for
            overwriting.
    """
    dir: str = MISSING
    mode: str = 'a'
    _target_: str = 'fseval.callbacks.to_csv.CSVCallback'

from dataclasses import dataclass

from omegaconf import MISSING


@dataclass
class ToCSVCallback:
    """
    CSV support for fseval. Uploads general information on the experiment to
    a `experiments` table and provides a hook for uploading custom tables.

    Attributes:
        dir (str): The directory to save all CSV files to. For example, in this
            directory a file `experiments.csv` will be created, containing the config
            of all experiments that were run.
        mode (str): Whether to overwrite or append. Use "a" for appending and "w" for
            overwriting.
    """

    dir: str = MISSING
    mode: str = "a"

    # required for instantiation
    _target_: str = "fseval.callbacks.to_csv.CSVCallback"
