Skip to content
Snippets Groups Projects
Commit 93656919 authored by MSI\alber's avatar MSI\alber
Browse files

Final commit

parent bd6c3a2d
No related branches found
No related tags found
No related merge requests found
......@@ -6,9 +6,9 @@ from sklearn.model_selection import train_test_split
def read_cifar_batch(batch):
with open(batch, 'rb') as file:
dict = pickle.load(file, encoding='bytes')
batch_data = dict[b'data']
batch_labels = dict[b'labels']
dictionary = pickle.load(file, encoding='bytes')
batch_data = dictionary[b'data']
batch_labels = dictionary[b'labels']
return batch_data, batch_labels
......
results/mlp.png

29.3 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment