diff --git a/read_cifar.py b/read_cifar.py index 1c9115027eb5f57553e404dde49b63b1c3fd964e..b342b61b68186123a27f771b23b939cd2ce6f084 100644 --- a/read_cifar.py +++ b/read_cifar.py @@ -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 diff --git a/results/mlp.png b/results/mlp.png new file mode 100644 index 0000000000000000000000000000000000000000..7f9375e09e485eaf65f14a578a87c8e073d65af8 Binary files /dev/null and b/results/mlp.png differ