numpy pathlib #openslide-python scikit-image scikit-learn Pillow transformers torch