Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support non-sequential COCO category IDs #4354

Merged
merged 7 commits into from
May 9, 2024
Merged
9 changes: 5 additions & 4 deletions docs/source/user_guide/export_datasets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1742,11 +1742,12 @@ format as follows:

.. note::

You can pass the optional `classes` parameter to
You can pass the optional `classes` or `categories` parameters to
:meth:`export() <fiftyone.core.collections.SampleCollection.export>` to
explicitly define the class list to use in the exported labels. Otherwise,
the strategy outlined in :ref:`this section <export-class-lists>` will be
used to populate the class list.
explicitly define the class list/category IDs to use in the exported
labels. Otherwise, the strategy outlined in
:ref:`this section <export-class-lists>` will be used to populate the class
list.

You can also perform labels-only exports of COCO-formatted labels by providing
the `labels_path` parameter instead of `export_dir`:
Expand Down