gradio patchify numpy scikit-image pillow keras==2.12.0 tensorflow==2.12.0 segmentation-models empatches tensorrt