code: def setUpClass(cls):
      if not os.path.exists(LOG_ROOT):
          os.mkdir(LOG_ROOT)
  
      if not os.path.exists(SAVE_ROOT):
          os.mkdir(SAVE_ROOT)
  
      train_path = os.path.join(DATA_ROOT, "train.txt")
      valid_path = os.path.join(DATA_ROOT, "valid.txt")
      test_path = os.path.join(DATA_ROOT, "test.txt")
  
      x_train, y_train = load_data_and_labels(train_path)
      x_valid, y_valid = load_data_and_labels(valid_path)
      cls.x_test, cls.y_test = load_data_and_labels(test_path)
      cls.x_train = np.r_[x_train, x_valid]
      cls.y_train = np.r_[y_train, y_valid]
  
      cls.embeddings = load_glove(EMBEDDING_PATH)
      cls.text = "President Obama is speaking at the White House."
      cls.dir_path = "models"
  
file_path: anago/tests/test_wrapper.py
imports: import os
  import unittest
  from pprint import pprint
  import numpy
  from keras.callbacks import ModelCheckpoint
  import anago
  from anago.utils import load_data_and_labels, load_glove
label_desc: Use image node_id 1 for calling the TestWrapper obj's underlying member method code with example usage: obj.setUpClass(cls) without return types