mirror of
https://github.com/hanzo-ml/kserve.git
synced 2026-10-30 20:53:49 +00:00
470 B
470 B
Generate bytes input for KServe v2 protocol
The python script converts input image into bytes
Steps:
- Check python packages are installed
- Run below command
- This will write a json file with the name of the image.
python tobytes.py 0.png
0.json file be created
In case of bytes input, the custom handler can be used without any change -