Skip to content

Instantly share code, notes, and snippets.

View beeva-albertorincon's full-sized avatar

Alberto Rincón beeva-albertorincon

View GitHub Profile
@beeva-albertorincon
beeva-albertorincon / get_cars_stanford.py
Created August 9, 2017 10:20
Stanford cars dataset extraction
# 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')
@beeva-albertorincon
beeva-albertorincon / get_cifar100.py
Last active March 7, 2021 12:46
CIFAR100 dataset extraction
# coding: utf-8
import numpy as np
import pandas as pd
import pickle
from scipy import misc
from tqdm import tqdm
def unpickle(file):