From 5c7aa5b02d53e8af19909f83b92c9fa6853e79da Mon Sep 17 00:00:00 2001 From: shenxinjie <15306573985@163.com> Date: Mon, 16 Jun 2025 14:29:28 +0800 Subject: [PATCH] =?UTF-8?q?[fix]GroundingDINO=E6=A8=A1=E5=9E=8B=E7=AC=94?= =?UTF-8?q?=E8=AF=AF=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ACL_PyTorch/built-in/cv/GroundingDINO/video_demo_npu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ACL_PyTorch/built-in/cv/GroundingDINO/video_demo_npu.py b/ACL_PyTorch/built-in/cv/GroundingDINO/video_demo_npu.py index ac7b012c0e..aa081657c3 100644 --- a/ACL_PyTorch/built-in/cv/GroundingDINO/video_demo_npu.py +++ b/ACL_PyTorch/built-in/cv/GroundingDINO/video_demo_npu.py @@ -119,7 +119,7 @@ def preprocess(model, batch_frame, text_prompt): batch_data['inputs'].append(data_['inputs']) batch_data['data_samples'].append(data_['data_samples']) - return batch_data + return batch_data def infer(model, batch_data, tokenized, attention_mask, position_ids): -- Gitee