Home > other > Tensorflow CNN training low accuracy what reason be
Tensorflow CNN training low accuracy what reason be
Time:10-10
TensorFlow just learning, in dealing with the problems found in the training images classification accuracy rate is very low, only 20%, the use of the code is http://www.cnblogs.com/denny402/p/6931338.html, is this blogger example code, identification data set is just my own data sets, are some signal image, image is 256 * 128, then use this example to pick the two kinds of signal accuracy is high, now identify 5 kinds of signals, accuracy is only 20%, training loss is decreased, but the accuracy basically remain unchanged, what reason be excuse me? Need from which aspects?
CodePudding user response:
2 choose 1 accuracy is about 50%, specification models complete failure, because a random guess there will be 50% of the time, 20% of probability to choose a random guess, you model the accuracy is only 20%, establish the model
CodePudding user response:
Ha, ha, ha, polite smile
CodePudding user response:
1 data set quantity too little? The number of the training set is the number of levels?
CodePudding user response:
2 test set of data and training set of data is the same, if the difference is very big, accuracy is very low!
CodePudding user response:
3 training epoch is too little?
CodePudding user response:
Ask you a question, I design the training accuracy of CNN model consistent with the ratio of positive and negative samples, such as positive and negative samples ratio of 1:3, the accuracy of 75, plus or minus a sample ratio is 1:1, the accuracy of % 50, and the loss in gradually decline, but accuracy is changeless, what reason is this excuse me, is dirty? Need to change the loss function?
CodePudding user response:
Initialize such as super parameter setting problem?
CodePudding user response:
You may have many reasons, such as: 1 network structure itself has a problem, you can't do the classification task, 2 your data sets and your network do not match, the clarity of the picture, the network layer will affect the classification effect of 3 according to different data sets, vector and optimizer need to try to appropriate value 4 is very important for the pretreatment of data sets, such as normalization, scaling, change the number range, balance, a lot of problems need to be considered, such as If you need help, can communicate privately,