class_docstr: Class for logging time progress against a goal.
class_docstr_tok: ["Class","for","logging","time","progress","against","a","goal","."]
docstr: Set up timer.
docstr_tok: ["Set","up","timer","."]
code: def __init__(self):
      """
      Set up timer.
      """
      self.timer = Timer()
      self.tot_time = 0
  
imports: from collections import deque, OrderedDict
  from typing import Union, Optional, Set, Any, Dict, List, Tuple
  from datetime import timedelta
  import functools
  import math
  import time
  import re
  import shutil
  import json
  import os
  from parlai.core.message import Message
  from parlai.utils.strings import colorize
  from parlai.utils.io import PathManager
  import parlai.utils.logging
label_desc: Use image node_id 1 to create a new TimeLogger object  with example: obj = TimeLogger()