:py:mod:`kwcoco.examples.modification_example` ============================================== .. py:module:: kwcoco.examples.modification_example Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: kwcoco.examples.modification_example.dataset_modification_example_via_copy kwcoco.examples.modification_example.dataset_modification_example_via_construction .. py:function:: dataset_modification_example_via_copy() Say you are given a dataset as input and you need to add your own annotation "predictions" to it. You could copy the existing dataset, remove all the annotations, and then add your new annotations. .. py:function:: dataset_modification_example_via_construction() Alternatively you can make a new dataset and copy over categories / images as needed