How to use the seml.misc.setup_logger function in seml

To help you get started, we’ve selected a few seml examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github TUM-DAML / seml / examples / experiment_check_fails.py View on Github external
import logging
from sacred import Experiment
import numpy as np
from seml import database_utils as db_utils
from seml import misc


ex = Experiment()
misc.setup_logger(ex)


@ex.post_run_hook
def collect_stats():
    misc.collect_exp_stats(ex)


@ex.config
def config():
    observe_slack = False
    observe_neptune = False
    if observe_slack:
        pass
    if observe_neptune:
        pass
    overwrite = None