Skip to content

Commit

Permalink
fix export sdk info of input shape (#667)
Browse files Browse the repository at this point in the history
  • Loading branch information
irexyc authored Jun 29, 2022
1 parent 5858488 commit c792d06
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mmdeploy/codebase/mmpose/deploy/pose_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ def process_model_config(
sdk_pipeline = []
color_type = 'color'
channel_order = 'rgb'
if input_shape is None:
input_shape = np.array(cfg.data_cfg['image_size'])

idx = 0
while idx < len(test_pipeline):
Expand Down

0 comments on commit c792d06

Please sign in to comment.