Custom writer for coco format with Replicator Composer

How do I use a custom writer with replicator composer? I can see that composer uses its own composer_writer, which outputs data in an undesirable format. I want to generate training data in coco format. How can I do this while using composer to generate the data. I am new to Isaac Sim, and would greatly appreciate any help!

Hello! Did you make any progress on this issue?

Hi there,

due to its dependencies on the YAML parameters composer requires a writer taking into account these specific arguments. One could however write a custom writer inheriting from ComposerWriter or creating a new one keeping into account the __init__() parameters and then just changing the write() function.

Then one could just switch the ComposerWriter with the custom one in composer.pysave_output(..).