-
Notifications
You must be signed in to change notification settings - Fork 13
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!: add support of multiple object's shapes #7
Conversation
e83466c
to
454868d
Compare
8e3ada4
to
3cb967e
Compare
8dd2bac
to
74c18b9
Compare
149dc32
to
bd91413
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.
I have forgotten it because it's been too long, but I was going to leave a comment.
3c077bb
to
f957d2e
Compare
autoware_perception_evaluation/perception_eval/perception_eval/evaluation/result/object_result.py Lines 419 to 421 in f47b36b
autoware_perception_evaluation/perception_eval/perception_eval/evaluation/result/object_result.py Lines 216 to 228 in f47b36b
|
Is this always used if label is unknown? or is there some config/option to use this? |
@miursh Sorry, I made a mistake, and I have updated like following.
for classification, returns autoware_perception_evaluation/perception_eval/perception_eval/evaluation/result/object_result.py Lines 215 to 224 in f01f350
|
@ktro2828 autoware_perception_evaluation/perception_eval/perception_eval/evaluation/result/object_result.py Lines 415 to 420 in f01f350
if the autoware output label is "unknown", it always run matching, isn't it? I think V&V team requirement is that they want to evaluate both with and without "unknown" class by one scenario. |
f01f350
to
eefd3e9
Compare
6003414
to
ef93f48
Compare
@miursh @hayato-m126 in 6003414 I added a from perception_eval.common.label import LabelParam
# === Perception ===
perception_label_param = LabelParam(
label_prefix="autoware", # Prefix of label name ... ("autoware", "traffic_light")
merge_similar_labels=False, # A flag if merge similar labels ... e.g. bus -> car
allow_matching_unknown=True, # A flag if allow to matching unknown and the other labels
count_label_number=True, # A flag if count the number of each label as debug
)
perception_cfg = PerceptionEvaluationConfig(
...
label_param=perception_label_param,
...
)
# === Sensing ===
sensing_label_param = LabelParam(
label_prefix="autoware", # Prefix of label name ... ("autoware", "traffic_light")
count_label_number=True, # A flag if count the number of each label as debug
)
sensing_cfg = SensingEvaluationConfig(
...
label_param=sensing_label_param,
...
)
|
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.
The PR for driving_log_replayer corresponding to this PR is made below.
tier4/driving_log_replayer#198
I will review it as soon as I can confirm that it works.
@hayato-m126 I'm sorry for that I've removed evaluation_config_dict = {
....
# label parameters
"label_prefix": "autoware",
"merge_similar_labels": False,
"allow_matching_unknown": True,
....
}
evaluation_config = PerceptionEvaluationConfig(
...
evaluation_config_dict=evaluation_config_dict, # <- label_param has been removed
load_raw_data=True,
) |
1137c7a
to
dfeb4b5
Compare
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
27fda6a
to
87d98cf
Compare
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
87d98cf
to
c101cfa
Compare
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
…ct-shapes Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
d67704e
to
cd7d28a
Compare
@hayato-m126 I've merged develop, so could you check this with driving_log_replayer? |
Thank you for updating this branch. I'm going to check. |
…t or not Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
Co-authored-by: Hayato Mizushima <hayato-m126@users.noreply.github.com>
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
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
This PR works fine with tier4/driving_log_replayer#198
Signed-off-by: ktro2828 kotaro.uetake@tier4.jp
Category
What
Add support of evaluating the objects not only shape with box, but also polygon and
cylinder.After this PR, We need to specify
shape
paramter to initialize DynamicObject instead ofsize
as below.Only for POLYGON objects,
footprint
must be specified.BOX or CYLINDER objects' footprint can be computed internally as a rectangle.
NOTE
Input
footprint
is assumed that it is with respect to each object's coordinate system.Although polygon returned with
DynamicObject.state.footprint
is with respect to each object's coordinate system, polygon returned withDynamicObject.get_footprint()
is with respect tobase_link
ormap
coordinate system.we support following shapes.
Type of change
Test performed
Reference
Notes for reviewer