code: def __init__(self):
      self.epoch = 0
      self.step = 0
      self.current_iter = 0
      self.step_time = 0.0
  
      self.acc_value = None
      self.loss_value = None
  
      self.val_acc = None
      self.val_loss = None
  
      self.best_accuracy = 0.0
  
      self.global_acc = 0.0
      self.global_loss = 0.0
  
imports: from __future__ import division, print_function, absolute_import
  import re
  import os
  import numpy
  import tensorflow.compat.v1
  from tensorflow.python.training import optimizer
  import tflearn
  from ..None import callbacks
  from ..config import init_training_mode
  from ..utils import to_list, id_generator, check_dir_name, standarize_dict, get_dict_first_element, make_batches, slice_array, check_scope_path, check_restore_tensor
  from ..None import data_flow
  from ..None import variables
  from ..None import utils
  from .summarizer import summaries, summarize, summarize_gradients, summarize_variables, summarize_activations
label_desc: Use image node_id 1 to create a new TrainingState object from inherited base classes: object with example: obj = TrainingState()