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

High Resolution Pose Estimation new tool #356

Merged
merged 42 commits into from
Dec 21, 2022
Merged

Conversation

mthodoris
Copy link
Collaborator

@mthodoris mthodoris commented Nov 28, 2022

High-Resolution Pose Estimation tool

  • Inference demo on 1080p image
  • Evaluation demo
  • Benchmarking demo
  • Corrections on README files and documentation

@tsampazk tsampazk added test sources Run style checks test tools Test the toolkit methods labels Nov 28, 2022
@mthodoris mthodoris marked this pull request as ready for review December 8, 2022 07:44
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, I've left a few comments. Additionally, the current PR is missing:

  • a CHANGELOG entry should be added
  • the demo folder should be placed inside projects/python/perception/pose_estimation (and lightweight_open_pose should be moved there too).
  • the documentation page for this tool should be referred in the index.md file
  • the demo should also be referred in the index.md file (please also fix the lightweight open pose link there since it has been moved)

@ad-daniel
Copy link
Collaborator

Also the pose_estimation test seems to have been canceled for taking 6+ hours. Can you check if it's a random failure or if there is indeed an issue with the changes done in this PR? (you can rerun the test 2-3 times after you've done the the fixes)

@tsampazk
Copy link
Collaborator

Also the pose_estimation test seems to have been canceled for taking 6+ hours. Can you check if it's a random failure or if there is indeed an issue with the changes done in this PR? (you can rerun the test 2-3 times after you've done the the fixes)

Hey @ad-daniel, from what i can tell, it seems to be an issue with this PR, as the regular pose estimation tests in other PRs are completed in 10-15 mins. I triggered a rerun to check again.

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.

Thanks @mthodoris! I added several comments apart from what Nikos and Daniel mentioned.

docs/reference/high_resolution_pose_estimation.md Outdated Show resolved Hide resolved
docs/reference/high_resolution_pose_estimation.md Outdated Show resolved Hide resolved
docs/reference/high_resolution_pose_estimation.md Outdated Show resolved Hide resolved
docs/reference/high_resolution_pose_estimation.md Outdated Show resolved Hide resolved
docs/reference/high_resolution_pose_estimation.md Outdated Show resolved Hide resolved
tests/test_license.py Outdated Show resolved Hide resolved
@ad-daniel
Copy link
Collaborator

Something might indeed be wrong, the pose estimation test has been running for 1h30 after the last retry. I've canceled the job

@tsampazk tsampazk mentioned this pull request Dec 12, 2022
24 tasks
Copy link
Collaborator

@passalis passalis left a comment

Choose a reason for hiding this comment

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

I have simplified a bit the main learner class to further reduce code duplication. Please check that everything is still ok. I also think that we should have docstrings similar to the rest of the tools.

mthodoris and others added 4 commits December 21, 2022 11:19
edited hardcoded values, removed unnecessary values from learner, added docstrings in functions
edited the readme file after the changes
passalis
passalis previously approved these changes Dec 21, 2022
Copy link
Collaborator

@passalis passalis 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! I am ok with the changes.

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.

Thanks Thodoris and Nikos for the fixes so far. Some final comments, most are minor!

Co-authored-by: Kostas Tsampazis <[email protected]>
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, changes LGTM!

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

@tsampazk tsampazk merged commit bedccdd into develop Dec 21, 2022
@tsampazk tsampazk deleted the hr_pose_estimation branch December 21, 2022 16:46
lucamarchionni pushed a commit to lucamarchionni/opendr that referenced this pull request Jun 10, 2024
* High Resolution Pose Estimation new tool

* changes on path for 1080pi image input

* adding height1 height2 as params to learner

* typos

* fixed tests

* edit Readme files, edit files(PEP8 changes) to pass tests

* fix formatting

* Apply suggestions from code review

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

* Minor fix in comments of original pose estimation node

* HR pose estimation ros1 node

* Apply suggestions from code review

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

* suggestions from review
(edit functions, code duplication,typos,etc)

* suggestions from review
(edit functions, code duplication,typos,etc)

* edit some paths

* changes for test errors

* apply suggestions from review

* Apply suggestions from code review

type casting issue on height variables
str() to int()

Co-authored-by: Nikolaos Passalis <[email protected]>

* Missing stuff

* add a CHANGELOG entry, reference the demo and documentation in index.md

* Simplified HR pose estimation

* pep8 fixes

* apply review suggestions
edited hardcoded values, removed unnecessary values from learner, added docstrings in functions
edited the readme file after the changes

* Update docs/reference/high-resolution-pose-estimation.md

Co-authored-by: Nikolaos Passalis <[email protected]>

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* review fixes

* typos

Co-authored-by: Kostas Tsampazis <[email protected]>
Co-authored-by: ad-daniel <[email protected]>
Co-authored-by: ad-daniel <[email protected]>
Co-authored-by: Nikolaos Passalis <[email protected]>
Co-authored-by: Nikolaos <[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.

4 participants