SBU-BMI / wsinfer

🔥 🚀 Blazingly fast pipeline for patch-based classification in whole slide images
https://wsinfer.readthedocs.io
Apache License 2.0
59 stars 10 forks source link

add support for python 3.11 #38

Closed kaczmarj closed 1 year ago

kaczmarj commented 1 year ago

Adds python 3.11 to CI. and adds python 3.11 classifier to setup.cfg.

kaczmarj commented 1 year ago

seems like the problem is an old torchvision is installed... version 0.2.0 which is prior to torch 1.0.

python3.11 -m pip install torch torchvision --extra-index-url https://download.pytorch.org/whl/cpu

this results in torchvision 0.2.0 being installed...

kaczmarj commented 1 year ago

waiting on pytorch 3.11 support https://github.com/pytorch/pytorch/milestone/35

and torchvision build for python 3.11 https://github.com/pytorch/vision/issues/7049