code: def load_checkpoint(sess, checkpoint_path):
      saver = tf.train.Saver(tf.global_variables())
      ckpt = tf.train.get_checkpoint_state(checkpoint_path)
      tf.logging.info("Loading model %s.", ckpt.model_checkpoint_path)
      saver.restore(sess, ckpt.model_checkpoint_path)
  
imports: import json
  import os
  import time
  import zipfile
  from magenta.models.sketch_rnn import model
  from magenta.models.sketch_rnn import utils
  import numpy
  import requests
  import six
  from six.moves.urllib.request import urlretrieve
  import tensorflow.compat.v1
label_desc: Use image node_id 7 for calling a global function with example usage: load_checkpoint(sess, checkpoint_path) without return types