From a6c8e3fc3840d7ec17e23938ac12f0338c4d2459 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E4=BF=8A=E8=BE=89?= <11181965+zhujunhui1@user.noreply.gitee.com> Date: Tue, 11 Apr 2023 08:56:04 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E9=BB=91=E5=90=8D=E5=8D=95?= =?UTF-8?q?=E7=AE=97=E5=AD=90=20update=20PyTorch/built-in/cv/detection/YOL?= =?UTF-8?q?OV4=5FID0396=5Ffor=5FPyTorch/test.py.=20=E7=B2=BE=E5=BA=A6?= =?UTF-8?q?=E6=80=A7=E8=83=BD=E5=B7=B2=E9=AA=8C=E8=AF=81OK?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 朱俊辉 <11181965+zhujunhui1@user.noreply.gitee.com> --- .../built-in/cv/detection/YOLOV4_ID0396_for_PyTorch/test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PyTorch/built-in/cv/detection/YOLOV4_ID0396_for_PyTorch/test.py b/PyTorch/built-in/cv/detection/YOLOV4_ID0396_for_PyTorch/test.py index 8ce52c9071..2df0f2257c 100644 --- a/PyTorch/built-in/cv/detection/YOLOV4_ID0396_for_PyTorch/test.py +++ b/PyTorch/built-in/cv/detection/YOLOV4_ID0396_for_PyTorch/test.py @@ -313,9 +313,9 @@ if __name__ == '__main__': print(opt) torch.npu.set_compile_mode(jit_compile=False) - option = dict() - option["NPU_FUZZY_COMPILE_BLACKLIST"] = "Identity" - torch.npu.set_option(option) + #option = dict() + #option["NPU_FUZZY_COMPILE_BLACKLIST"] = "Identity" + #torch.npu.set_option(option) if opt.task in ['val', 'test']: # run normally test(opt.data, opt.weights, -- Gitee