cifar: http://www.cs.utoronto.ca/~kriz/cifar.html
imagenet: https://image-net.org/challenges/LSVRC/2012/2012-downloads.php
cifar.py is the training file of cifar10 and cifar100 dataset. Before training, set "cluster=True" to get the initial class center, and then set it to "False" to start training.
imagenet.py is the training file of imagenet-100 dataset.