Skip to content

Commit

Permalink
rebase & fix conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben-Louis committed Oct 20, 2023
1 parent 152b5cb commit 4b7f638
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions mmdeploy/codebase/mmpose/deploy/pose_detection_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,7 @@ def forward(self,

if codec.type == 'YOLOXPoseAnnotationProcessor':
return self.pack_yolox_pose_result(batch_outputs, data_samples)

if isinstance(codec, (list, tuple)):
codec = codec[-1]
if codec.type == 'SimCCLabel':
elif codec.type == 'SimCCLabel':
export_postprocess = codebase_cfg.get('export_postprocess', False)
if export_postprocess:
keypoints, scores = [_.cpu().numpy() for _ in batch_outputs]
Expand Down

0 comments on commit 4b7f638

Please sign in to comment.