class_docstr: This class executes the self-play, learning and evaluating. 
class_docstr_tok: ["This","class","executes","the","self-play",",","learning","and","evaluating","."]
code: def loadTrainExamples(self):
      modelFile = os.path.join(
          self.args.load_folder_file[0], self.args.load_folder_file[1]
      )
      examplesFile = modelFile + ".examples"
      if not os.path.isfile(examplesFile):
          logger.warning(
              "File {} with trainExamples not found!".format(
                  examplesFile
              )
          )
          r = input("Continue? [y|n]")
          if r != "y":
              sys.exit()
      else:
          logger.info("File with trainExamples found. Loading it...")
          with open(examplesFile, "rb") as f:
              self.trainExamplesHistory = Unpickler(f).load()
          logger.info("Loading done!")
  
file_path: PARL/examples/AlphaZero/Coach.py
imports: import os
  import sys
  import parl
  from actor import Actor
  from random import shuffle
  from parl.utils import logger
  from parl.utils import visualdl
  from pickle import Pickler, Unpickler
  from alphazero_agent import create_agent
  from utils import split_group, get_test_dataset
label_desc: Use image node_id 7 for calling the Coach obj's underlying member method code with example usage: obj.loadTrainExamples() without return types