fastapi uvicorn python-multipart torch torchvision pillow grad-cam numpy opencv-python-headless