cifar-10 image loading and GUI update