code: def load_emb_file(emb_file):
      res = {}
      with open(emb_file, "r") as rd:
          while True:
              line = rd.readline()
              if not line:
                  break
              words = line.strip().split("\t")
              values = [float(a) for a in words[1].split(" ")]
              res[words[0]] = np.asarray(values, dtype=np.float32)
      return res
  
imports: import codecs
  import pickle
  import time
  import os
  from datetime import datetime
  import random
  import numpy
  import math
  from multiprocessing import Process
  from utils.general import *
  from utils.data_helper import *
label_desc: Use image node_id 30 for calling a global function with example usage: load_emb_file(emb_file) and returns: res