The purpose of the PR is to clean up various issues. This PR also adds strided patches (they can be overlapped or spaced apart).
One may use overlapping patches in attempt to smooth out noise. Strided patches with holes may be useful to increase the speed of runtime. If one does not need a dense classification, then strided patches might be useful. An overlap ratio of -1 results results in 4x fewer patches.
Patches spaced apart (overlap=-1)
wsinfer run -m breast-tumor-resnet34.tcga-brca -i slides/ -o outputs-overlap-minus1/ --patch-overlap-ratio -1
Patches overlapping by 10% (overlap=0.1)
wsinfer run -m breast-tumor-resnet34.tcga-brca -i slides/ -o outputs-overlap-0.5/ --patch-overlap-ratio 0.5
The purpose of the PR is to clean up various issues. This PR also adds strided patches (they can be overlapped or spaced apart).
One may use overlapping patches in attempt to smooth out noise. Strided patches with holes may be useful to increase the speed of runtime. If one does not need a dense classification, then strided patches might be useful. An overlap ratio of -1 results results in 4x fewer patches.
Patches spaced apart (overlap=-1)
Patches overlapping by 10% (overlap=0.1)
Issues fixed
fixes #216 fixes #214 fixes #205 fixes #203 fixes #202 fixes #195 fixes #185