VGG16 Universal or Limited to N categories


I recently join your course and a novice in DL. I had a basic question regarding the model of VGG.

The model of VGG has been developed by set of 1000 or N no of categories, and if I use that pre-trained model for a different set of categories for training, will the results be valid.

Knowing the fact that the model is a matrix, but it has been developed by using that N no Categories / Images.

Let me know if I had misunderstand.

Thank you so much for the anticipation.