Mitigating spurious features by contrastive learning in pottery sherd recognition | Synapse