This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding:utf8 | |
from scipy.io import loadmat | |
import pandas as pd | |
import numpy as np | |
mat_train = loadmat('devkit/cars_train_annos.mat') | |
mat_test = loadmat('devkit/cars_test_annos.mat') | |
meta = loadmat('devkit/cars_meta.mat') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
import numpy as np | |
import pandas as pd | |
import pickle | |
from scipy import misc | |
from tqdm import tqdm | |
def unpickle(file): |