The original label file has three names, and I trained for only one class. Actually I followed face-mask-detection repo to perform transfer learning.
According to that the label.txt contains: mask, no-mask, default
And config files contains no_detected_classes = 2.
Then I tried with
label.txt data to- object1, default
config file : no_detected_classes = 1
and
label.txt data to- object1
config file : no_detected_classes = 1
and
label.txt data to- object1, default
config file : no_detected_classes = 2
Yes. I tried with both models. I got the same results.
And I also made another mistake, the training image size is not multiples of 16. According to the detectnet_v2 documentation it is supposed to be multiples of 16. I made those changes and currently training the model.
I will post the status once I complete the training.