Hi All,
I saw on other issue how to render semantic segmentation maps by basically change obj["inst_id"] to object_class_id instead of object_id. Is it possible to render both semantic segmentation and instance segmentation in one rendering action?
As a workaround we can obtain the maps with 2 rendering steps:
Assign obj["inst_id"] with unique value per object, render the scene and save on the side the rgb image and instance segmentation map.
re-assign obj["inst_id"] with unique value per object class and render to obtain the semantic segmentation map.
The procedure above is inefficient as we need to render the scene twice. How can we solve this? (maybe use another filed in obj for class_id?)
Hi All, I saw on other issue how to render semantic segmentation maps by basically change
obj["inst_id"]
toobject_class_id
instead ofobject_id
. Is it possible to render both semantic segmentation and instance segmentation in one rendering action?As a workaround we can obtain the maps with 2 rendering steps:
obj["inst_id"]
with unique value per object, render the scene and save on the side the rgb image and instance segmentation map.obj["inst_id"]
with unique value per object class and render to obtain the semantic segmentation map.The procedure above is inefficient as we need to render the scene twice. How can we solve this? (maybe use another filed in
obj
forclass_id
?)