CNN configuration for image classification

Dear all,

I hope this message finds you well.

I’m currently working on classifying X-ray data using the Cat/Dog workflow example as a reference, and I’ve encountered an issue that I could use some assistance with.

I’ve adhered to the default settings and used 4000 images for both the training and testing datasets, following the configuration used for the Cat/Dog CNN workflow. However, I consistently encounter the following error message:

“Execute failed: Node training data size for network input/target ‘input10:0’ does not match the expected size. Neuron count is 67500, batch size is 128. Thus, expected training data size is 8640000. However, the node training data size is 3150000. Please check the column selection for this input/target and validate the node’s training data.”

I would greatly appreciate your guidance in resolving this issue. Any suggestions on how to adjust the CNN network configuration or other parameter selection to fix the input/target configuration issue would be extremely helpful.

The data set can be found here: Chest X-Ray Images (Pneumonia) | Kaggle