verify mnist loading