Copy the following codes (including one supporting part and the main function) into a new python file, copy the train/test image files (namely the prepared TXT files  "training_images60000.txt", "training_labels.txt ","test_images1000.txt","test_labels.txt" ) into the same folder, then click and run. Due the uploading document size limitation, here we only provide the 1000 images file for demostration"