import numpy as np image = np.array([data], dtype=np.float32) response = predictor.predict(image) print(response)