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

Support for action queries in Eva #474

Merged
merged 24 commits into from
Nov 10, 2022
Merged

Support for action queries in Eva #474

merged 24 commits into from
Nov 10, 2022

Conversation

pchunduri6
Copy link
Contributor

  1. Added GROUP BY operator for video inputs - GROUP BY "16f" stacks 16 frames into a segment.
  2. Added Aggregate Expressions:
    • FIRST - Return the first element in the group
    • LAST - Return the last element in the group
    • SEGMENT - Stack 3d frame inputs into 4d.
  3. Added the MVIT (multi-vision transformer-based) ActionRecognition UDF with SOTA action classification accuracy.

Queries supported are of the form:

SELECT FIRST(id), MVITActionRecognition(SEGMENT(data)) FROM Actions GROUP BY '16f';

Copy link
Collaborator

@LordDarkula LordDarkula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a couple comments. Good for the most part.

eva/optimizer/operators.py Show resolved Hide resolved
eva/executor/groupby_executor.py Outdated Show resolved Hide resolved
eva/executor/groupby_executor.py Show resolved Hide resolved
eva/executor/groupby_executor.py Outdated Show resolved Hide resolved
eva/models/storage/batch.py Show resolved Hide resolved
eva/optimizer/rules/rules.py Show resolved Hide resolved
@pchunduri6 pchunduri6 marked this pull request as ready for review November 9, 2022 16:51
@pchunduri6 pchunduri6 removed the request for review from LordDarkula November 10, 2022 17:19
@pchunduri6 pchunduri6 dismissed LordDarkula’s stale review November 10, 2022 18:55

Another approved review.

@pchunduri6 pchunduri6 merged commit cf11c14 into master Nov 10, 2022
@pchunduri6 pchunduri6 deleted the stack-operator branch November 10, 2022 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants