Closed sz3029 closed 6 months ago
Thanks for the bug report! We'll get this fixed shortly.
In the meantime, as a temporary workaround, I would recommend using Slideflow Studio, which can save and export attention heatmaps at arbitrary strides.
Apologies it took this long to address the issue. This bug has now been fixed in 632fbf7 and applied to master
. It will be included in the next patch release in the coming days. Please let us know if you experience any further issues.
Description
Hi I'm having this heatmap coordinate alignment error when I tried to train the CLAM model with
stride_div = 2
usingslideflow.Project.train_mil
andeval_mil
. I have attached the error message below. It worked as expected when I use the default valuestride_div = 1
.(Thank you for the recent release on version 2.2.0, that is very helpful.)
To Reproduce
I also tried with
P.train_mil()
andP.evaluate_mil()
but it gave me the same error.Expected behavior
Generating heatmaps for slides in the validation dataset
Environment:
pip
, source): pip