-
Notifications
You must be signed in to change notification settings - Fork 650
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
feat(traffic_light_classifier): update classifier model #2820
Conversation
new model
|
old model
|
a0d54e0
to
ae132b4
Compare
Codecov ReportBase: 11.79% // Head: 11.79% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #2820 +/- ##
=======================================
Coverage 11.79% 11.79%
=======================================
Files 1320 1320
Lines 92373 92366 -7
Branches 24794 24794
=======================================
Hits 10899 10899
+ Misses 70115 70108 -7
Partials 11359 11359
*This pull request uses carry forward flags. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
perception/traffic_light_classifier/src/single_image_inference_node.cpp
Outdated
Show resolved
Hide resolved
eb91252
to
b748a82
Compare
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.
LGTM
please get approval from @xmfcx @kaancolak
@xmfcx @kaancolak friendly ping |
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.
Hi Daisuke-san, sorry for the delay. LGTM, I just left a simple comment.
@@ -39,10 +39,13 @@ CNNClassifier::CNNClassifier(rclcpp::Node * node_ptr) : node_ptr_(node_ptr) | |||
input_c_ = node_ptr_->declare_parameter("input_c", 3); | |||
input_h_ = node_ptr_->declare_parameter("input_h", 224); | |||
input_w_ = node_ptr_->declare_parameter("input_w", 224); | |||
auto input_name = node_ptr_->declare_parameter("input_name", "input_0"); | |||
auto output_name = node_ptr_->declare_parameter("output_name", "output_0"); | |||
apply_softmax_ = node_ptr_->declare_parameter("apply_softmax", false); |
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.
Would it be helpful to also declare std and mean here? for people who use their custom-trained models
like this Pr : #2794
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.
Yes, I think so. We can merge the PR after merging this PR.
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.
Also, ı would like to add, really loved this single inference debug tool, really useful for users, thanks for it :)
Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>
Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>
Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>
Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>
Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>
Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>
Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>
Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>
Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>
Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>
b484e97
to
658b434
Compare
Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>
3234900
to
05227b8
Compare
…dation#2820) * feat: update traffic light classifier Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * remove unused file Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp> * remove unused header Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp> * add variable to apply softmax Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp> * update visualization Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp> * apply pre-commit Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp> * add debug term Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp> * change default parameter Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * fix debug node Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * change default node name Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * change default Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp> --------- Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>
…dation#2820) * feat: update traffic light classifier Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * remove unused file Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp> * remove unused header Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp> * add variable to apply softmax Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp> * update visualization Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp> * apply pre-commit Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp> * add debug term Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp> * change default parameter Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * fix debug node Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * change default node name Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * change default Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp> --------- Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>
Description
Related links
Tests performed
Notes for reviewers
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.