code: def start_network(config):
      global PREDICTOR_NETWORK
      try:
          PREDICTOR_NETWORK = PredictorNetwork(config)
      except Exception as e:
          # An error occurred loading the model; interrupt the whole server.
          tf.logging.error(e)
          _thread.interrupt_main()
  
file_path: luminoth/luminoth/tools/server/web.py
imports: import click
  import tensorflow
  from flask import Flask, jsonify, request, render_template
  from threading import Thread
  from PIL import Image
  from six.moves import _thread
  from luminoth.tools.checkpoint import get_checkpoint_config
  from luminoth.utils.config import get_config, override_config_params
  from luminoth.utils.predicting import PredictorNetwork
label_desc: Use image node_id 4 for calling a global function with example usage: start_network(config) without return types