TensorFlow validation and training accuracy identical though validation and training set differWhat does the acc means in the Keras model.fit output? the accuracy of the final iteration in a epoch or the average accuracy in a epoch?Keras: Different training and validation results on same dataset using batch normalizationKeras image classification validation accuracy higherKeras log_loss error is samemodel.fit_generator invalid loss and scoreNo classification improvements with using set_session() for KerasKeras model giving very low training and validation accuracy for multi-label image classificationKeras fit_generator and fit results are differentKeras cnn: training accuracy and validation accuracy are incredibly highHow to plot epoch vs. val_acc and epoch vs. val_loss graph in CNN?
Impossible violin chord, how to fix this?
What is The Difference Between Increasing Volume and Increasing Gain
What action is recommended if your accommodation refuses to let you leave without paying additional fees?
Is the "spacetime" the same thing as the mathematical 4th dimension?
Why most footers have a background color as a divider of section?
Garage door sticks on a bolt
Everyone Gets a Window Seat
How to find places to store/land a private airplane?
What is a proper translation for "party hard"? (or "hard" and an adjective)
Does Bank Manager's discretion still exist in Mortgage Lending
How to identify whether a publisher is genuine or not?
Prove that the 23 people have the same weight.
Duck, duck, gone!
Shell Sort, Insertion Sort, Bubble Sort, Selection Sort Algorithms (Python)
What's the global, general word that stands for "center tone of a song"?
Booting Ubuntu from USB drive on MSI motherboard -- EVERYTHING fails
Missing quartile in boxplot
Why does it seem the best way to make a living is to invest in real estate?
Why aren't faces sharp in my f/1.8 portraits even though I'm carefully using center-point autofocus?
What does a textbook look like while you are writing it?
French license plates
What is the meaning of first flight and introduction in aircraft production?
Can Familiars read and use spell scrolls?
How to level a picture frame hung on a single nail?
TensorFlow validation and training accuracy identical though validation and training set differ
What does the acc means in the Keras model.fit output? the accuracy of the final iteration in a epoch or the average accuracy in a epoch?Keras: Different training and validation results on same dataset using batch normalizationKeras image classification validation accuracy higherKeras log_loss error is samemodel.fit_generator invalid loss and scoreNo classification improvements with using set_session() for KerasKeras model giving very low training and validation accuracy for multi-label image classificationKeras fit_generator and fit results are differentKeras cnn: training accuracy and validation accuracy are incredibly highHow to plot epoch vs. val_acc and epoch vs. val_loss graph in CNN?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
I have tried to get a convolutional NN to output validation accuracy, using the test dataset as validation data (though I do realise that I would usually use a separate validation set). Now, accuracy on the training data, acc, and on the validation data, val_acc, are identical, though the two datasets differ.
Here's the code (tweaked from https://colab.research.google.com/github/tensorflow/examples/blob/master/courses/udacity_intro_to_tensorflow_for_deep_learning/l04c01_image_classification_with_cnns.ipynb)
!pip install -U tensorflow_datasets
from __future__ import absolute_import, division, print_function
# Import TensorFlow and TensorFlow Datasets
import tensorflow as tf
import tensorflow_datasets as tfds
tf.logging.set_verbosity(tf.logging.ERROR)
import math
import numpy as np
import matplotlib.pyplot as plt
import tqdm
import tqdm.auto
tqdm.tqdm = tqdm.auto.tqdm
tf.enable_eager_execution()
dataset, metadata = tfds.load('fashion_mnist', as_supervised=True, with_info=True)
train_dataset, test_dataset = dataset['train'], dataset['test']
num_train_examples = metadata.splits['train'].num_examples
num_test_examples = metadata.splits['test'].num_examples
def normalize(images, labels):
images = tf.cast(images, tf.float32)
images /= 255
return images, labels
train_dataset = train_dataset.map(normalize)
test_dataset = test_dataset.map(normalize)
model = tf.keras.Sequential([
tf.keras.layers.Conv2D(32, (3,3), padding='same', activation=tf.nn.relu,
input_shape=(28, 28, 1)),
tf.keras.layers.MaxPooling2D((2, 2), strides=2),
tf.keras.layers.Conv2D(64, (3,3), padding='same', activation=tf.nn.relu),
tf.keras.layers.MaxPooling2D((2, 2), strides=2),
tf.keras.layers.Flatten(),
tf.keras.layers.Dense(128, activation=tf.nn.relu),
tf.keras.layers.Dense(128, activation=tf.nn.relu),
tf.keras.layers.Dense(10, activation=tf.nn.softmax)
])
model.compile(optimizer='adam',
loss='sparse_categorical_crossentropy',
metrics=['accuracy'])
BATCH_SIZE = 32
train_dataset = train_dataset.repeat().shuffle(num_train_examples).batch(BATCH_SIZE)
test_dataset = test_dataset.batch(BATCH_SIZE)
model.fit(train_dataset, epochs=3,
validation_data=test_dataset, validation_steps = math.ceil(num_test_examples/BATCH_SIZE),
verbose = 2,
steps_per_epoch=math.ceil(num_train_examples/BATCH_SIZE))
test_loss, test_accuracy = model.evaluate(test_dataset, steps=math.ceil(num_test_examples/32))
print('Accuracy on test dataset:', test_accuracy)
The output is
Epoch 1/3
313/313 [==============================] - 4s 12ms/step - loss: 0.3322 - acc: 0.8766
- 49s - loss: 0.4049 - acc: 0.8516 - val_loss: 0.3322 - val_acc: 0.8766
Epoch 2/3
313/313 [==============================] - 4s 12ms/step - loss: 0.3150 - acc: 0.8890
- 33s - loss: 0.2631 - acc: 0.9044 - val_loss: 0.3150 - val_acc: 0.8890
Epoch 3/3
313/313 [==============================] - 4s 12ms/step - loss: 0.2484 - acc: 0.9087
- 32s - loss: 0.2159 - acc: 0.9207 - val_loss: 0.2484 - val_acc: 0.9087
313/313 [==============================] - 4s 12ms/step - loss: 0.2484 - acc: 0.9087
Accuracy on test dataset: 0.9087
And as you can see, acc and val_acc are identical. I would love to know why.
In case it matters, tf.__version__ is 1.13.1.
python tensorflow
add a comment
|
I have tried to get a convolutional NN to output validation accuracy, using the test dataset as validation data (though I do realise that I would usually use a separate validation set). Now, accuracy on the training data, acc, and on the validation data, val_acc, are identical, though the two datasets differ.
Here's the code (tweaked from https://colab.research.google.com/github/tensorflow/examples/blob/master/courses/udacity_intro_to_tensorflow_for_deep_learning/l04c01_image_classification_with_cnns.ipynb)
!pip install -U tensorflow_datasets
from __future__ import absolute_import, division, print_function
# Import TensorFlow and TensorFlow Datasets
import tensorflow as tf
import tensorflow_datasets as tfds
tf.logging.set_verbosity(tf.logging.ERROR)
import math
import numpy as np
import matplotlib.pyplot as plt
import tqdm
import tqdm.auto
tqdm.tqdm = tqdm.auto.tqdm
tf.enable_eager_execution()
dataset, metadata = tfds.load('fashion_mnist', as_supervised=True, with_info=True)
train_dataset, test_dataset = dataset['train'], dataset['test']
num_train_examples = metadata.splits['train'].num_examples
num_test_examples = metadata.splits['test'].num_examples
def normalize(images, labels):
images = tf.cast(images, tf.float32)
images /= 255
return images, labels
train_dataset = train_dataset.map(normalize)
test_dataset = test_dataset.map(normalize)
model = tf.keras.Sequential([
tf.keras.layers.Conv2D(32, (3,3), padding='same', activation=tf.nn.relu,
input_shape=(28, 28, 1)),
tf.keras.layers.MaxPooling2D((2, 2), strides=2),
tf.keras.layers.Conv2D(64, (3,3), padding='same', activation=tf.nn.relu),
tf.keras.layers.MaxPooling2D((2, 2), strides=2),
tf.keras.layers.Flatten(),
tf.keras.layers.Dense(128, activation=tf.nn.relu),
tf.keras.layers.Dense(128, activation=tf.nn.relu),
tf.keras.layers.Dense(10, activation=tf.nn.softmax)
])
model.compile(optimizer='adam',
loss='sparse_categorical_crossentropy',
metrics=['accuracy'])
BATCH_SIZE = 32
train_dataset = train_dataset.repeat().shuffle(num_train_examples).batch(BATCH_SIZE)
test_dataset = test_dataset.batch(BATCH_SIZE)
model.fit(train_dataset, epochs=3,
validation_data=test_dataset, validation_steps = math.ceil(num_test_examples/BATCH_SIZE),
verbose = 2,
steps_per_epoch=math.ceil(num_train_examples/BATCH_SIZE))
test_loss, test_accuracy = model.evaluate(test_dataset, steps=math.ceil(num_test_examples/32))
print('Accuracy on test dataset:', test_accuracy)
The output is
Epoch 1/3
313/313 [==============================] - 4s 12ms/step - loss: 0.3322 - acc: 0.8766
- 49s - loss: 0.4049 - acc: 0.8516 - val_loss: 0.3322 - val_acc: 0.8766
Epoch 2/3
313/313 [==============================] - 4s 12ms/step - loss: 0.3150 - acc: 0.8890
- 33s - loss: 0.2631 - acc: 0.9044 - val_loss: 0.3150 - val_acc: 0.8890
Epoch 3/3
313/313 [==============================] - 4s 12ms/step - loss: 0.2484 - acc: 0.9087
- 32s - loss: 0.2159 - acc: 0.9207 - val_loss: 0.2484 - val_acc: 0.9087
313/313 [==============================] - 4s 12ms/step - loss: 0.2484 - acc: 0.9087
Accuracy on test dataset: 0.9087
And as you can see, acc and val_acc are identical. I would love to know why.
In case it matters, tf.__version__ is 1.13.1.
python tensorflow
1
Is everything ok with the data? Tested on cifar10, can't reproduce your problem.
– Sharky
Mar 28 at 21:28
The data is coming fromtensorflow_datasetsso I assumed it would be ok (in that at least test and training data would be different). Thetest_datasetis of typetensorflow.python.data.ops.dataset_ops.DatasetV1Adapter- is there an easy way to investigate it in this shape?
– Anne
Mar 29 at 15:21
Try running a session and load train and test batch with the pipeline you're using.
– Sharky
Mar 29 at 15:26
@Sharky I get the same problem with cifar10, and also when I split the data from my original post differently.
– Anne
Mar 30 at 9:35
add a comment
|
I have tried to get a convolutional NN to output validation accuracy, using the test dataset as validation data (though I do realise that I would usually use a separate validation set). Now, accuracy on the training data, acc, and on the validation data, val_acc, are identical, though the two datasets differ.
Here's the code (tweaked from https://colab.research.google.com/github/tensorflow/examples/blob/master/courses/udacity_intro_to_tensorflow_for_deep_learning/l04c01_image_classification_with_cnns.ipynb)
!pip install -U tensorflow_datasets
from __future__ import absolute_import, division, print_function
# Import TensorFlow and TensorFlow Datasets
import tensorflow as tf
import tensorflow_datasets as tfds
tf.logging.set_verbosity(tf.logging.ERROR)
import math
import numpy as np
import matplotlib.pyplot as plt
import tqdm
import tqdm.auto
tqdm.tqdm = tqdm.auto.tqdm
tf.enable_eager_execution()
dataset, metadata = tfds.load('fashion_mnist', as_supervised=True, with_info=True)
train_dataset, test_dataset = dataset['train'], dataset['test']
num_train_examples = metadata.splits['train'].num_examples
num_test_examples = metadata.splits['test'].num_examples
def normalize(images, labels):
images = tf.cast(images, tf.float32)
images /= 255
return images, labels
train_dataset = train_dataset.map(normalize)
test_dataset = test_dataset.map(normalize)
model = tf.keras.Sequential([
tf.keras.layers.Conv2D(32, (3,3), padding='same', activation=tf.nn.relu,
input_shape=(28, 28, 1)),
tf.keras.layers.MaxPooling2D((2, 2), strides=2),
tf.keras.layers.Conv2D(64, (3,3), padding='same', activation=tf.nn.relu),
tf.keras.layers.MaxPooling2D((2, 2), strides=2),
tf.keras.layers.Flatten(),
tf.keras.layers.Dense(128, activation=tf.nn.relu),
tf.keras.layers.Dense(128, activation=tf.nn.relu),
tf.keras.layers.Dense(10, activation=tf.nn.softmax)
])
model.compile(optimizer='adam',
loss='sparse_categorical_crossentropy',
metrics=['accuracy'])
BATCH_SIZE = 32
train_dataset = train_dataset.repeat().shuffle(num_train_examples).batch(BATCH_SIZE)
test_dataset = test_dataset.batch(BATCH_SIZE)
model.fit(train_dataset, epochs=3,
validation_data=test_dataset, validation_steps = math.ceil(num_test_examples/BATCH_SIZE),
verbose = 2,
steps_per_epoch=math.ceil(num_train_examples/BATCH_SIZE))
test_loss, test_accuracy = model.evaluate(test_dataset, steps=math.ceil(num_test_examples/32))
print('Accuracy on test dataset:', test_accuracy)
The output is
Epoch 1/3
313/313 [==============================] - 4s 12ms/step - loss: 0.3322 - acc: 0.8766
- 49s - loss: 0.4049 - acc: 0.8516 - val_loss: 0.3322 - val_acc: 0.8766
Epoch 2/3
313/313 [==============================] - 4s 12ms/step - loss: 0.3150 - acc: 0.8890
- 33s - loss: 0.2631 - acc: 0.9044 - val_loss: 0.3150 - val_acc: 0.8890
Epoch 3/3
313/313 [==============================] - 4s 12ms/step - loss: 0.2484 - acc: 0.9087
- 32s - loss: 0.2159 - acc: 0.9207 - val_loss: 0.2484 - val_acc: 0.9087
313/313 [==============================] - 4s 12ms/step - loss: 0.2484 - acc: 0.9087
Accuracy on test dataset: 0.9087
And as you can see, acc and val_acc are identical. I would love to know why.
In case it matters, tf.__version__ is 1.13.1.
python tensorflow
I have tried to get a convolutional NN to output validation accuracy, using the test dataset as validation data (though I do realise that I would usually use a separate validation set). Now, accuracy on the training data, acc, and on the validation data, val_acc, are identical, though the two datasets differ.
Here's the code (tweaked from https://colab.research.google.com/github/tensorflow/examples/blob/master/courses/udacity_intro_to_tensorflow_for_deep_learning/l04c01_image_classification_with_cnns.ipynb)
!pip install -U tensorflow_datasets
from __future__ import absolute_import, division, print_function
# Import TensorFlow and TensorFlow Datasets
import tensorflow as tf
import tensorflow_datasets as tfds
tf.logging.set_verbosity(tf.logging.ERROR)
import math
import numpy as np
import matplotlib.pyplot as plt
import tqdm
import tqdm.auto
tqdm.tqdm = tqdm.auto.tqdm
tf.enable_eager_execution()
dataset, metadata = tfds.load('fashion_mnist', as_supervised=True, with_info=True)
train_dataset, test_dataset = dataset['train'], dataset['test']
num_train_examples = metadata.splits['train'].num_examples
num_test_examples = metadata.splits['test'].num_examples
def normalize(images, labels):
images = tf.cast(images, tf.float32)
images /= 255
return images, labels
train_dataset = train_dataset.map(normalize)
test_dataset = test_dataset.map(normalize)
model = tf.keras.Sequential([
tf.keras.layers.Conv2D(32, (3,3), padding='same', activation=tf.nn.relu,
input_shape=(28, 28, 1)),
tf.keras.layers.MaxPooling2D((2, 2), strides=2),
tf.keras.layers.Conv2D(64, (3,3), padding='same', activation=tf.nn.relu),
tf.keras.layers.MaxPooling2D((2, 2), strides=2),
tf.keras.layers.Flatten(),
tf.keras.layers.Dense(128, activation=tf.nn.relu),
tf.keras.layers.Dense(128, activation=tf.nn.relu),
tf.keras.layers.Dense(10, activation=tf.nn.softmax)
])
model.compile(optimizer='adam',
loss='sparse_categorical_crossentropy',
metrics=['accuracy'])
BATCH_SIZE = 32
train_dataset = train_dataset.repeat().shuffle(num_train_examples).batch(BATCH_SIZE)
test_dataset = test_dataset.batch(BATCH_SIZE)
model.fit(train_dataset, epochs=3,
validation_data=test_dataset, validation_steps = math.ceil(num_test_examples/BATCH_SIZE),
verbose = 2,
steps_per_epoch=math.ceil(num_train_examples/BATCH_SIZE))
test_loss, test_accuracy = model.evaluate(test_dataset, steps=math.ceil(num_test_examples/32))
print('Accuracy on test dataset:', test_accuracy)
The output is
Epoch 1/3
313/313 [==============================] - 4s 12ms/step - loss: 0.3322 - acc: 0.8766
- 49s - loss: 0.4049 - acc: 0.8516 - val_loss: 0.3322 - val_acc: 0.8766
Epoch 2/3
313/313 [==============================] - 4s 12ms/step - loss: 0.3150 - acc: 0.8890
- 33s - loss: 0.2631 - acc: 0.9044 - val_loss: 0.3150 - val_acc: 0.8890
Epoch 3/3
313/313 [==============================] - 4s 12ms/step - loss: 0.2484 - acc: 0.9087
- 32s - loss: 0.2159 - acc: 0.9207 - val_loss: 0.2484 - val_acc: 0.9087
313/313 [==============================] - 4s 12ms/step - loss: 0.2484 - acc: 0.9087
Accuracy on test dataset: 0.9087
And as you can see, acc and val_acc are identical. I would love to know why.
In case it matters, tf.__version__ is 1.13.1.
python tensorflow
python tensorflow
asked Mar 28 at 20:21
AnneAnne
2,1647 gold badges22 silver badges40 bronze badges
2,1647 gold badges22 silver badges40 bronze badges
1
Is everything ok with the data? Tested on cifar10, can't reproduce your problem.
– Sharky
Mar 28 at 21:28
The data is coming fromtensorflow_datasetsso I assumed it would be ok (in that at least test and training data would be different). Thetest_datasetis of typetensorflow.python.data.ops.dataset_ops.DatasetV1Adapter- is there an easy way to investigate it in this shape?
– Anne
Mar 29 at 15:21
Try running a session and load train and test batch with the pipeline you're using.
– Sharky
Mar 29 at 15:26
@Sharky I get the same problem with cifar10, and also when I split the data from my original post differently.
– Anne
Mar 30 at 9:35
add a comment
|
1
Is everything ok with the data? Tested on cifar10, can't reproduce your problem.
– Sharky
Mar 28 at 21:28
The data is coming fromtensorflow_datasetsso I assumed it would be ok (in that at least test and training data would be different). Thetest_datasetis of typetensorflow.python.data.ops.dataset_ops.DatasetV1Adapter- is there an easy way to investigate it in this shape?
– Anne
Mar 29 at 15:21
Try running a session and load train and test batch with the pipeline you're using.
– Sharky
Mar 29 at 15:26
@Sharky I get the same problem with cifar10, and also when I split the data from my original post differently.
– Anne
Mar 30 at 9:35
1
1
Is everything ok with the data? Tested on cifar10, can't reproduce your problem.
– Sharky
Mar 28 at 21:28
Is everything ok with the data? Tested on cifar10, can't reproduce your problem.
– Sharky
Mar 28 at 21:28
The data is coming from
tensorflow_datasets so I assumed it would be ok (in that at least test and training data would be different). The test_dataset is of type tensorflow.python.data.ops.dataset_ops.DatasetV1Adapter - is there an easy way to investigate it in this shape?– Anne
Mar 29 at 15:21
The data is coming from
tensorflow_datasets so I assumed it would be ok (in that at least test and training data would be different). The test_dataset is of type tensorflow.python.data.ops.dataset_ops.DatasetV1Adapter - is there an easy way to investigate it in this shape?– Anne
Mar 29 at 15:21
Try running a session and load train and test batch with the pipeline you're using.
– Sharky
Mar 29 at 15:26
Try running a session and load train and test batch with the pipeline you're using.
– Sharky
Mar 29 at 15:26
@Sharky I get the same problem with cifar10, and also when I split the data from my original post differently.
– Anne
Mar 30 at 9:35
@Sharky I get the same problem with cifar10, and also when I split the data from my original post differently.
– Anne
Mar 30 at 9:35
add a comment
|
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55406250%2ftensorflow-validation-and-training-accuracy-identical-though-validation-and-trai%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55406250%2ftensorflow-validation-and-training-accuracy-identical-though-validation-and-trai%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Is everything ok with the data? Tested on cifar10, can't reproduce your problem.
– Sharky
Mar 28 at 21:28
The data is coming from
tensorflow_datasetsso I assumed it would be ok (in that at least test and training data would be different). Thetest_datasetis of typetensorflow.python.data.ops.dataset_ops.DatasetV1Adapter- is there an easy way to investigate it in this shape?– Anne
Mar 29 at 15:21
Try running a session and load train and test batch with the pipeline you're using.
– Sharky
Mar 29 at 15:26
@Sharky I get the same problem with cifar10, and also when I split the data from my original post differently.
– Anne
Mar 30 at 9:35