To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit f6e09f04 authored by Lukas Wolf's avatar Lukas Wolf
Browse files

adapt config logger to new config without dataset settings

parent 75060c3f
......@@ -7,19 +7,9 @@ def log_config():
else:
logging.info("Running an ensemble with {} {} models".format(config['ensemble'], config['model']))
if config['task'] == 'gaze-reg':
logging.info("Training on the gaze regression task")
logging.info("Using data from {}".format(config['dataset']))
logging.info("Using {} padding".format(config['padding']))
if config["data_mode"] != "sacc_only":
logging.info("Using fixations between {} ms and {} ms, 1 sample equals 2ms".format((2 * config['min_fixation']), (2 * config['max_fixation'])))
if config['data_mode'] != "fix_only":
logging.info("Using saccades between {} ms and {} ms, 1 sample equals 2ms".format((2 * config['min_saccade']), (2 * config['max_saccade'])))
logging.info("Running on the gaze regression task")
elif config['task'] == 'angle-reg':
logging.info("Running the angle regression task")
logging.info("Using data from {}".format(config['dataset']))
logging.info("Using {} padding".format(config['padding']))
logging.info("Using fixations between {} ms and {} ms, 1 sample equals 2ms".format((2 * config['min_fixation']), (2 * config['max_fixation'])))
logging.info("Using saccades between {} ms and {} ms, 1 sample equals 2ms".format((2 * config['min_saccade']), (2 * config['max_saccade'])))
else:
logging.info("Running the LR task")
logging.info("------------------------------------------------------------------------------------")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment