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

Fix cox3d_learner ONNX support #372

Merged
merged 16 commits into from
Dec 12, 2022
Merged

Fix cox3d_learner ONNX support #372

merged 16 commits into from
Dec 12, 2022

Conversation

LukasHedegaard
Copy link
Collaborator

This PR is an implementation overhaul for the Continual X3D learner, which uses the continual-inference library to create proper ONNX export and inference for step-wise model operation.

@LukasHedegaard LukasHedegaard changed the title Fix cox3d_learner onyx support Fix cox3d_learner ONNX support Dec 7, 2022
@LukasHedegaard LukasHedegaard added test sources Run style checks test tools Test the toolkit methods labels Dec 8, 2022
Copy link
Collaborator

@tsampazk tsampazk left a comment

Choose a reason for hiding this comment

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

Thank you for the fixes! Just some minor typo comments.

I assume that files in cox3d/algorithm, are used as-is and i only added a couple of comments for typos and skipped some other issues in the docstrings and function naming.

@ad-daniel
Copy link
Collaborator

I assume that files in cox3d/algorithm, are used as-is and i only added a couple of comments for typos and skipped some other issues in the docstrings and function naming.

Yes I think we don't expect the algorithms to follow all the constraints we impose for our tools, especially considering that these algorithms might evolve so it might end up just complicating keeping them up to date. As long as the test sources passes (or the location is skipped when running the test) it should be fine IMHO.

Copy link
Collaborator

@ad-daniel ad-daniel left a comment

Choose a reason for hiding this comment

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

Just a detail, thank you

CHANGELOG.md Outdated Show resolved Hide resolved
Copy link
Collaborator

@ad-daniel ad-daniel left a comment

Choose a reason for hiding this comment

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

Thank you!

Copy link
Collaborator

@tsampazk tsampazk left a comment

Choose a reason for hiding this comment

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

Thank you!

@LukasHedegaard LukasHedegaard merged commit 739c577 into develop Dec 12, 2022
@LukasHedegaard LukasHedegaard deleted the fix-co3d-onnx branch December 12, 2022 20:45
lucamarchionni pushed a commit to lucamarchionni/opendr that referenced this pull request Jun 10, 2024
* Update CoX3D with continual-inference based impl

* Update implementation with proper onnx support

* Update CHANGELOG

* Fix x3d learner tests

* Update src/opendr/perception/activity_recognition/cox3d/algorithm/res.py

Co-authored-by: Kostas Tsampazis <[email protected]>

* Update src/opendr/perception/activity_recognition/cox3d/cox3d_learner.py

Co-authored-by: Kostas Tsampazis <[email protected]>

* Update src/opendr/perception/activity_recognition/cox3d/algorithm/res.py

Co-authored-by: Kostas Tsampazis <[email protected]>

* Update CHANGELOG.md

Co-authored-by: ad-daniel <[email protected]>

* Fix typos

Co-authored-by: Kostas Tsampazis <[email protected]>
Co-authored-by: ad-daniel <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test sources Run style checks test tools Test the toolkit methods
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants