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

Forte CV data support #794

Open
1 of 5 tasks
hepengfe opened this issue May 20, 2022 · 0 comments
Open
1 of 5 tasks

Forte CV data support #794

hepengfe opened this issue May 20, 2022 · 0 comments
Assignees
Labels
topic:cv topic: ontology All issues related to ontologies in core, top and base_ontology

Comments

@hepengfe
Copy link
Collaborator

hepengfe commented May 20, 2022

Describe the bug
Current forte ontology missing CV components.

To Reproduce

Expected behavior
It requires several parts to be implemented.

  1. DataPack operations on both image annotation and payload
    • Plus, we need to have add_image_entry() method w.r.t add_entry() as add_image_entry() involved with adding both ImageAnnotation and image payload.
  2. ImageAnnotation and Grids class in forte/data/ontology/top.py
  3. CV ontologies classes such as BoundingBox, Contour, Edge in forte/ontology_specs/base_ontology.json

Roadmap:

  • 1. implement basic ImageAnnotation, Grids and Payloads class variables in DataPack to hold data. In test file, after adding data in a hard-coded way, the test implemented operations on the three data. DataPack basic operations on ImageAnnotations, Image Payload and Grids #795, target at milestone 0.3alpha
  • 2. implement BoundingBox entries and methods to compute boundingbox overlaps Create a Bounding Box ontology and an IOU computation function #802, target at milestone 0.3alpha
  • 3. implement image entry related methods such as add_image_entry methods in DataPack, target at milestone 0.4
  • 4. CV ontologies classes such as Contour, Edge in forte/ontology_specs/base_ontology.json, target at milestone 0.4
  • 5. sparse matrix representation, target at milestone 0.4

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]
  • Python and Package verions: [e.g. Python version, Pytorch version]

Additional context
Add any other context about the problem here.

@hepengfe hepengfe added the topic: ontology All issues related to ontologies in core, top and base_ontology label May 20, 2022
@hepengfe hepengfe self-assigned this May 20, 2022
@hepengfe hepengfe changed the title Create CV ontologies Forte CV data support May 21, 2022
@hunterhector hunterhector added this to the 0.3 alpha milestone May 24, 2022
@hunterhector hunterhector removed this from the 0.3 alpha milestone May 24, 2022
@hepengfe hepengfe reopened this May 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic:cv topic: ontology All issues related to ontologies in core, top and base_ontology
Projects
None yet
Development

No branches or pull requests

2 participants