SBU-BMI / wsinfer

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

test_input and model can be on different devices #79

Closed kaczmarj closed 1 year ago

kaczmarj commented 1 year ago

this should be fixed to put the inputs on the same device as the model.

https://github.com/kaczmarj/wsinfer/blob/11580308546e1f75147a276115bde7773e0b9423/wsinfer/_modellib/run_inference.py#L197