Relative Content

Tag Archive for keraslabelclassificationreportmetrics

Classification report mismatch label and predicts

Im doing classification model with keras of 549 classes. I did the test_labels as test_labels = test_generator.classes then the predictions pred = np.argmax(predictions, axis=-1) but when i use print(classification_report(test_labels,pred))