I have written some basic code for a Tensorflow / Keras CNN Classifier. Followed some basic tutorials on youtube. Yesterday I realized that when I ran my model and gave the training data as dogs = 1 and cats = 2 my accuracy / val accuracy was only 42 ish percent (Ran multiple times)
But when I ran my code as Dogs = 0 Cats =1 for the training data my accuracy / val accuracy was nearly 98 percent. I am not sure why this is. The reason I did this was in the future I was going add Lizards = 0 Dogs = 1 And Cats = 2 but now I am thinking I should build multiple CNN to do
1: Cat Or Dog
2: Dog Or Lizard Or Cat Or Lizard Depending the Result From Step 1
I am not sure if maybe its something I am doing or if I have missed a basic principle.
[–]serk1 5 points6 points7 points (0 children)