code: def main(image_path):
      print("image_path:{}".format(image_path))
  
      data = np.array(Image.open(image_path))
      data = data.reshape([1] + list(data.shape))
      data = np.rollaxis(data, 3, 1).astype(
          np.float32
      )  # channels first
      # print(data.shape)
  
      pred = remote.execute("http://127.0.0.1:9000", data)
  
      print(pred.shape)
  
      dims = pred.shape
      dim = np.max(dims)
      print(dim)
  
      pred = pred.reshape([1, dim])
      # pred = np.squeeze(pred)
      # print(pred)
      print(pred.shape)
  
      print("{}".format(np.argmax(pred, axis=1)))
  
imports: import logging
  from io import BytesIO
  from PIL import Image, ImageOps
  import numpy
  import requests
  from graphpipe import remote
label_desc: Use image node_id 1 for calling a global function with example usage: main(image_path) without return types