tbp.monty.frameworks.loggers#
tbp.monty.frameworks.loggers.exp_logger#
- class BaseMontyLogger(handlers)[source]#
Bases:
object
Basic logger that logs or saves information when logging is called.
- class LoggingCallbackHandler(loggers, model, output_dir)[source]#
Bases:
object
Calls a list of loggers on an event (eg post_train).
Each logger receives: logger_args: dict with time stamps (steps, epochs, etc.) and
dataloader.primary_target which contains object id and pose
output_dir: Full path of the directory to store log files
Note
This logger handler is intended primarily for logging
- property logger_list#
- class TestLogger(handlers)[source]#
Bases:
BaseMontyLogger
tbp.monty.frameworks.loggers.graph_matching_loggers#
- class BasicGraphMatchingLogger(handlers)[source]#
Bases:
BaseMontyLogger
Basic logger that logs or saves information when logging is called.
- maybe_log(logger_args, output_dir, model)[source]#
Left here in case we go back to size based logging.
Remove if not used after code has stabilized.
- class DetailedGraphMatchingLogger(handlers)[source]#
Bases:
BasicGraphMatchingLogger
Log detailed stats as .json file by saving data for each LM and SM.
- class SelectiveEvidenceLogger(handlers)[source]#
Bases:
BasicGraphMatchingLogger
Log evidences as .json file by saving data for each LM and SM.
This is slimmed down to only log data needed for object similarity analysis. Data logged:
evidences for each object and pose at the end of an episode
first frame of the view finder
tbp.monty.frameworks.loggers.monty_handlers#
- class BasicCSVStatsHandler[source]#
Bases:
MontyHandler
Grab any logs at the BASIC level and append to train or eval CSV files.
- class DetailedJSONHandler[source]#
Bases:
MontyHandler
Grab any logs at the DETAILED level and append to a json file.