This repository contains the code used to train and test models in Shahamatdar, S., Saeed-Vafa, D., Linsley, D., et al. Deceptive learning in histopathology. bioRxiv.