How to train a model for recognizing two objects?
You don't have to combine the both models and train them you have to train them seprately. And after training the model first you have to check with the mask detection model what's the probability/confidence score that there's a mask detected and if the probability is low say like 40%-45% then you have to use the other model that recognises the person.
Ive got two separate models, one for mask recognition and another for face recognition. The problem now is that how do I combine these both models so that it performs in unison as  a single model which is able to :-

Recognize whether or not a person is wearing mask
Simultaneously recognize who that person is if he isn't wearing mask apart from warning about no mask.

What are the possibilities I have to solve this problem!!