forked from asyml/forte
-
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.
Change Grid from ontology to a data structure in
core.py
(asyml#876)
* rewrite grids -> grid * remove grid from adding entry * rewrite the docstring * import grid * import grid * pylint * pylint * pylint * remove the requirement to initialize bounding box * fix pylint and docstring * DataPack.grids -> DataPack.grid * fix docstring * remove docstring * simplify test * rename: grids -> grid * correct typing for grid * correct the docstring * get_grid_cell -> _get_image_within_grid_cell and it doesn't create new array to improve efficiency * improve docstring * remove unused DataPack.grid
- Loading branch information
Showing
7 changed files
with
333 additions
and
243 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
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.