将这行test_image, test_label = test_data_iter.next()换成 test_image, test_label = test_data_iter.__next__()就好了