mirror of
https://github.com/modelscope/modelscope.git
synced 2026-02-24 20:19:51 +01:00
fix bug to sync with master
This commit is contained in:
@@ -98,7 +98,7 @@ class ImageDrivingPerceptionPipeline(Pipeline):
|
||||
det[:, :4] = scale_coords(inputs['img_hw'], det[:, :4],
|
||||
(h, w)).round()
|
||||
|
||||
results_dict[OutputKeys.BOXES].append(det[:, :4].cpu().numpy())
|
||||
results_dict[OutputKeys.BOXES] = (det[:, :4].cpu().numpy())
|
||||
results_dict[OutputKeys.MASKS].append(da_seg_mask)
|
||||
results_dict[OutputKeys.MASKS].append(ll_seg_mask)
|
||||
return results_dict
|
||||
|
||||
Reference in New Issue
Block a user