Skip to content
Snippets Groups Projects
Commit e87c40c3 authored by BaptisteBrd's avatar BaptisteBrd
Browse files

data matrix

parent 61dd79cf
Branches
No related tags found
No related merge requests found
No preview for this file type
No preview for this file type
import numpy
import pickle
def unpickle(file):
import pickle
with open(file, 'rb') as fo:
dict = pickle.load(fo, encoding='bytes')
return dict
dict1= unpickle("data/cifar-10-batches-py/data_batch_1")
data = [dict1[key] for key in dict1]
print(len(data[1]))
#def read_cifar_batch(path) :
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment