-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* docs: populate file headers * docs: add readme file for the notebooks folder * docs: fix reference + add acknowledgment section * docs: update version * docs: fix relative links * docs: fix relative links and spellings * docs: fix relative link * docs: fix relative link * docs: link to tutorials in the usage + style formatting * docs: docstring review for adapters * docs: docstring review for errors * docs: docstring review for cocohelper * docs: docstring review for filters * docs: docstring review for utils * style: multi-line comments formatting
- Loading branch information
1 parent
6b3f14d
commit e7dde30
Showing
48 changed files
with
410 additions
and
138 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
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,6 +1,6 @@ | ||
# Installation | ||
|
||
You can install COCO-Helper from our ailab-pypi-server with: | ||
You can install COCOHelper from our ailab-pypi-server with: | ||
```shell | ||
$ pip install cocohelper --extra-index-url http://10.79.85.55:28080/simple --trusted-host 10.79.85.55 | ||
``` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Tutorials | ||
|
||
Here you can find Jupyter notebooks that will help you get familiar with COCOHelper. | ||
If it's your first time, check `quick_start.ipynb`. Have a look at all the other notebooks, too! | ||
|
||
If you'd like to contribute with new tutorials, look at our [contributing guide](../doc/src/contributing.md). |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
""" | ||
Adapters to transform custom datasets into COCO format. | ||
""" | ||
from .dataset_adapter import DatasetAdapter | ||
from .binary_mask_adapter import BinaryMaskDatasetAdapter |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
""" | ||
Custom exceptions for the library. | ||
""" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
"""Exception raised when assertion of dataset validity fails. | ||
""" | ||
|
||
class COCOValidationError(Exception): | ||
def __init__(self): | ||
"""Error raised when the input COCO is not in a valid COCO format.""" | ||
""" | ||
Exceptions raised when the input COCO is not in a valid COCO format. | ||
""" | ||
super(COCOValidationError, self).__init__("The dataset has an invalid COCO format") |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
""" | ||
Special and complex filters to obtain specific data from COCO tables using the COCOHelper interface. | ||
""" | ||
from .cocofilters import anns_filter, imgs_filter, cats_filter |
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.