Skip to content

Commit

Permalink
collect bbox
Browse files Browse the repository at this point in the history
  • Loading branch information
irexyc committed Sep 21, 2023
1 parent e661acb commit caba06c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mmdeploy/codebase/mmpose/deploy/pose_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def process_model_config(
keys=['img'],
meta_keys=[
'ori_shape', 'img_shape', 'pad_shape', 'scale_factor',
'flip_indices'
'flip_indices', 'bbox'
]))
else:
test_pipeline.append(
Expand All @@ -94,7 +94,7 @@ def process_model_config(
keys=['img'],
meta_keys=[
'img_shape', 'pad_shape', 'ori_shape', 'img_norm_cfg',
'scale_factor', 'bbox_score', 'center', 'scale'
'scale_factor', 'bbox_score', 'center', 'scale', 'bbox'
]))

cfg.test_dataloader.dataset.pipeline = test_pipeline
Expand Down

0 comments on commit caba06c

Please sign in to comment.