Hello,
I am using the PathoSAM codebase and installed all dependencies successfully. I found in checkpoints/ directory a file named sam_vit_b.pth. However, when attempting to run the segmentation script, I get the error:
RuntimeError: You have passed 'amg=False', but your model does not contain a segmentation decoder.
It seems that the checkpoint I have is not a proper PathoSAM histopathology model (it lacks the segmentation decoder).
Could you please share the correct checkpoint for vit_b_histopathology, or the appropriate model weights for automatic segmentation?
Thank you very much for your valuable work and support