Pytorch Implementation for "Deep Patch Learning for Weakly Supervised Object Classification and Discovery"