Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
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