flagevalmm Package

Core Components

flagevalmm.eval.update_cfg_from_args(args)[source]
class flagevalmm.eval.ServerWrapper(args)[source]

Bases: object

filter_finished_tasks(tasks, output_dir)[source]
__init__(args)[source]
start()[source]

Main method to start the server and run the model

run_model_adapter()[source]
maybe_launch_evaluation_server(args, output_dir)[source]
is_server_running()[source]
cleanup()[source]
flagevalmm.eval.evaluate_only(args)[source]
flagevalmm.eval.run()[source]
flagevalmm.common.get_logger(name: str = 'flagevalmm') Logger[source]

Constants

Logging

class flagevalmm.common.logger.ColorFormatter(fmt=None, datefmt=None, style='%', validate=True, *, defaults=None)[source]

Bases: Formatter

format(record)[source]

Format the specified record as text.

The record’s attribute dictionary is used as the operand to a string formatting operation which yields the returned string. Before formatting the dictionary, a couple of preparatory steps are carried out. The message attribute of the record is computed using LogRecord.getMessage(). If the formatting string uses the time (as determined by a call to usesTime(), formatTime() is called to format the event time. If there is exception information, it is formatted using formatException() and appended to the message.

flagevalmm.common.logger.get_logger(name: str = 'flagevalmm') Logger[source]