simple image classification cats vs dogs not working (WARNING: Couldn't update network in epoch X)

User69473User69473 MemberPosts:1Learner III
edited March 2021 inHelp
Hello everyone,

I`m trying to train a simple CNN using the deep learning extension but I keep getting a warning message that the network has not been updated, and obviously the predictions are wrong.

Im using the example mnist process as a template, and i have three folders(train, testing, validation) with two sub-folders in each (images of cats and dogs).

In the image preprocessing step I do two things, resize all images to 100x100 pixels, and also rescale the color scale [0,1].

网络体系结构中我改变了输出layer to be 1 neuron activated with sigmoid function, and Im using cross-entropy for loss function,

what am I doing wrong?

thanks in advance

here are the folders with the files

this is my process:

g="UTF-8"?>
<参数键= value =“cudnn_algo_mode喜欢足总stest"/>
Set the training directory to the MNIST training folder
Set the testing directory to the MNIST testing folder




    Sign InorRegisterto comment.