PySDK Input Methods & Preprocessing

There are several options regarding how to feed an input to a model using PySDK. The three main ones are:

  • Feeding an image directly by providing a path or URL
  • Feeding a NumPy array representation of the image
  • Feeding a bytes object, bypassing the PySDK preprocessor completely

The provided notebook looks into the third option. The notebook also demonstrates how to do the complement — feed an input image through the PySDK preprocessor and obtain the output (which is the input to the model).