code: def load_model(weights_file, params_file):
      with open(params_file) as f:
          model = model_from_json(f.read(), custom_objects={"CRF": CRF})
          model.load_weights(weights_file)
  
      return model
  
file_path: anago/anago/models.py
imports: import json
  from keras.layers import Dense, LSTM, Bidirectional, Embedding, Input, Dropout, TimeDistributed
  from keras.layers.merge import Concatenate
  from keras.models import Model, model_from_json
  from anago.layers import CRF
label_desc: Use image node_id 2 for calling a global function with example usage: load_model(weights_file, params_file) and returns: model