torch numpy samv2 gradio Pillow transformers opencv-python matplotlib einops timm pytest