Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

RL--based Learner for Active Face Recognition #473

Merged
merged 23 commits into from
Nov 14, 2023

Conversation

Pavlos-Tosidis
Copy link
Collaborator

Adding Active Face Recognition agent. The implementation relies on stable_baselines3 and trains on Webots.
A Webots world is provided and the corresponding environment file to train an agent in the task of Active Face Recognition, in which the goal is to maximize FR confidence while controlling a Mavic2 drone

@Pavlos-Tosidis Pavlos-Tosidis added enhancement New feature or request test sources Run style checks labels Nov 6, 2023
@tsampazk tsampazk self-requested a review November 6, 2023 08:54
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 @Pavlos-Tosidis for the new tool! I added several comments about some fixes. One general comment that i also noted in the readme doc, is that it would be helpful to add a demo.py file that runs a simple evaluation (or similar) loop, so a user can run this out-of-the-box following the documentation and seeing a trained agent in action, without the need to create their own demo file.

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>
Copy link
Collaborator

@omichel omichel 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 this great contribution. That looks very good to me. Any reason why you are not using the latest version of Webots, e.g., R2023b?

docs/reference/active_face_recognition.md Outdated Show resolved Hide resolved
@passalis passalis changed the title Rl learner face recognition RL--based Learner for Active Face Recognition Nov 14, 2023
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!

Copy link
Collaborator

@omichel omichel left a comment

Choose a reason for hiding this comment

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

Very good. Thank you.

@Pavlos-Tosidis Pavlos-Tosidis merged commit 8964dc5 into develop Nov 14, 2023
13 checks passed
@Pavlos-Tosidis Pavlos-Tosidis deleted the rl_learner_fr_and_pose branch November 14, 2023 10:15
lucamarchionni pushed a commit to lucamarchionni/opendr that referenced this pull request Jun 10, 2024
* Active_fr

* Active_fr

* Active_fr

* Fixes and ReadME

* Fixes

* Fixes and ReadME

* Delete src/opendr/perception/active_perception/active_face_recognition/tester.py

removed extra file

* Fixes and ReadME

* Attempted merge fix for continual

* Removed some prints

* Face images for database creation

* Eval fix

* Fixed suggestions by Kostas.
Ignored num_steps for eval() but fixed num_episodes logic.
Implemented suggestions on ReadME

* Added demo under projects

* Added demo under projects and corresponding README

* Blank lines on demos

* Blank lines on demos

* Update docs/reference/active_face_recognition.md

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>

* Fixed Webots version on protos files,
minor fixes on README

* Fixed Webots version on protos files,
minor fixes on README

---------

Co-authored-by: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request test sources Run style checks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants