-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* docs: update tutorial 1. * docs: update tutorial 2. * chore: refactor writer to remove dependencies * feat: add coco writer * docs: clean docstrings * fix: annotations format in coco writer * docs: improve docstrings. * docs: improve docs.
- Loading branch information
Showing
14 changed files
with
719 additions
and
491 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
# Base reader class | ||
|
||
::: detection_datasets.readers.base.BaseReader | ||
|
||
<br> | ||
|
||
# COCO reader | ||
|
||
::: detection_datasets.readers.coco.CocoReader |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,31 @@ | ||
# Base writer class | ||
|
||
This is the base class that other writers inherit from. | ||
It enforces the use of the `write()` method in all writers. | ||
|
||
::: detection_datasets.writers.base.BaseWriter | ||
|
||
<br> | ||
|
||
# Mmdet writer | ||
|
||
This writer saves a dataset to disk in the MMdetection format, that is called "middle format" on the MMdetection documentation. | ||
For more details check [Tutorial 2: Customize Datasets](https://mmdetection.readthedocs.io/en/latest/tutorials/customize_dataset.html#reorganize-new-data-format-to-middle-format) on the MMdetection documentation. | ||
|
||
::: detection_datasets.writers.mmdet.MmdetWriter | ||
|
||
<br> | ||
|
||
# YOLO writer | ||
|
||
This writer saves a dataset to disk in the YOLO format. | ||
|
||
::: detection_datasets.writers.yolo.YoloWriter | ||
|
||
<br> | ||
|
||
# COCO writer | ||
|
||
This writer saves a dataset to disk in the COCO format. | ||
|
||
::: detection_datasets.writers.coco.CocoWriter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.