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?

Are you making your own YOLO writer? If you have the semantic labels in the scene it should be straight forward to output them.

Broadly, this is a matter of getting semantic information into your USD, that can then be propagated into the YOLO format no?