-
Notifications
You must be signed in to change notification settings - Fork 4
feat(schema): update schema of surface_ann.json #252
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
base: main
Are you sure you want to change the base?
Conversation
☂️ Python Coverage
Overall Coverage
New FilesNo new covered files... Modified Files
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR extends the SurfaceAnn schema to support instance and attribute references, making the schema more flexible for complex annotation data. The changes align with related work in tier4_perception_dataset pull request #278.
Changes:
- Added optional
instance_tokenandattribute_tokensfields toSurfaceAnnschema - Made the
maskfield optional in the schema - Updated test fixtures to include the new fields
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| t4_devkit/schema/tables/surface_ann.py | Added instance_token and attribute_tokens fields to the schema, made mask optional |
| tests/schema/conftest.py | Updated surface_ann_dict test fixture with new fields |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
40a29e9 to
743e1e2
Compare
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
743e1e2 to
92aeb32
Compare
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
What
This PR is related to tier4/tier4_perception_dataset#278.
This pull request extends the
SurfaceAnnschema to support additional annotation details, specifically instance and attribute references, and updates related test fixtures accordingly. These changes improve the schema's flexibility for representing more complex annotation data.Schema enhancements:
instance_token(optional string) andattribute_tokens(optional list of strings) fields to theSurfaceAnnschema to allow referencing instance and attribute categories. [1] [2]maskfield inSurfaceAnnoptional to align with the new schema flexibility. [1] [2]Test updates:
surface_ann_dicttest fixture to include the newinstance_tokenandattribute_tokensfields, ensuring tests cover the extended schema.