Projected is created using following online helps: Pytorch website Pytorch forums (https://discuss.pytorch.org/t/load-the-same-number-of-data-per-class/65198/4)