How can we create class/semantic labels easily for the entire scene?

for YOLO data format generation in synthetic data generation in omniverse, there are no class labels and semantic labels in the USD scene so we are finding a way to create the class id’s in the yolo data, we don’t know how to map the prim’s in the USD scene to the class id’s for yolo data. is there any way to do it without doing it manually?