import fitlog

fitlog.commit(__file__)             # auto commit your codes
fitlog.set_log_dir('logs/')         # set the logging directory
fitlog.add_hyper_in_file(__file__)  # record your hyper-parameters

"""
Your training code here, you may use these functions to log your result:
    fitlog.add_hyper()
    fitlog.add_loss()
    fitlog.add_metric()
    fitlog.add_best_metric()
    ......
"""

fitlog.finish()                     # finish the logging
