Open VedantKhairnar opened 4 years ago
Please verify the number of classes in training and validation are the same.
They are 15 classes in both training and validation.
in both the training and inference times, print
ptf.system_dict["dataset"]["params"]["classes"]
And check if there's a blank class in it or not
This is with respect to this Colab file After training the model, when it is to be validated using
accuracy, class_based_accuracy = gtf.Evaluate();
ZeroDivision Error was observed Following is the exact log
`--------------------------------------------------------------------------- ZeroDivisionError Traceback (most recent call last)