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

pickle function

parent 143968a0
Branches
No related tags found
No related merge requests found
def read_cifar_batch(path) : def unpickle(file):
import pickle
with open(file, 'rb') as fo:
dict = pickle.load(fo, encoding='bytes')
return dict
#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