From 972e61ee3fc10ef91f4fc961d4e337d9337e440c Mon Sep 17 00:00:00 2001 From: TianyiLi <1375088614@qq.com> Date: Wed, 15 Jun 2022 19:17:23 +0000 Subject: [PATCH] =?UTF-8?q?update=20python/contrib/crowd=5Fcount=5Fpicture?= =?UTF-8?q?/src/main.py.=20=E7=94=B1=E4=BA=8E=E8=B0=83=E7=94=A8=E7=9A=84?= =?UTF-8?q?=E6=96=87=E4=BB=B6=EF=BC=88=E6=AF=94=E5=A6=82acllite=5Futils.py?= =?UTF-8?q?=EF=BC=89=E5=B7=B2=E6=94=BE=E7=BD=AE=E5=88=B0samples/python/com?= =?UTF-8?q?mon/acllite=EF=BC=8C=E8=80=8C=E9=9D=9E=E4=B9=8B=E5=89=8D?= =?UTF-8?q?=E7=9A=84samples/python/common=EF=BC=8C=E6=89=80=E4=BB=A5?= =?UTF-8?q?=E5=8E=9F=E5=A7=8B=E4=BB=A3=E7=A0=81=E8=BF=90=E8=A1=8C=E4=BC=9A?= =?UTF-8?q?=E6=8A=A5=E9=94=99=EF=BC=9AModuleNotFoundError:=20No=20module?= =?UTF-8?q?=20named=20'acllite=5Futils'=EF=BC=8C=E6=95=85=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E4=BB=A3=E7=A0=81=EF=BC=8C=E6=9C=9B=E5=AE=A1=E6=A0=B8?= =?UTF-8?q?=E3=80=82=E5=8F=A6=E5=BB=BA=E8=AE=AE=E4=BF=AE=E6=94=B9=E5=85=B6?= =?UTF-8?q?=E4=BB=96Python=E6=A1=88=E4=BE=8B=E7=9A=84=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=EF=BC=8C=E4=BB=A5=E8=A7=A3=E5=86=B3=E6=AD=A4?= =?UTF-8?q?=E9=97=AE=E9=A2=98=EF=BC=8C=E5=90=8C=E6=97=B6=E5=BB=BA=E8=AE=AE?= =?UTF-8?q?=E5=9C=A8=E5=90=84=E4=B8=AAPython=E6=A1=88=E4=BE=8B=E7=9A=84REA?= =?UTF-8?q?DME=E4=B8=AD=E6=8F=90=E9=86=92=E7=94=A8=E6=88=B7=E8=BF=99?= =?UTF-8?q?=E4=B8=AA=E8=B7=AF=E5=BE=84=E7=9A=84=E8=AE=BE=E7=BD=AE=EF=BC=8C?= =?UTF-8?q?=E6=96=B9=E4=BE=BF=E5=BC=80=E5=8F=91=E8=80=85=E5=BC=80=E5=8F=91?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- python/contrib/crowd_count_picture/src/main.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/python/contrib/crowd_count_picture/src/main.py b/python/contrib/crowd_count_picture/src/main.py index 0a1f25e33..db5899347 100644 --- a/python/contrib/crowd_count_picture/src/main.py +++ b/python/contrib/crowd_count_picture/src/main.py @@ -11,9 +11,8 @@ import sys import os import cv2 -path = os.path.dirname(os.path.abspath(__file__)) -sys.path.append(os.path.join(path, "..")) -sys.path.append(os.path.join(path, "../../../common/")) +sys.path.append("../../../common/acllite") +sys.path.append("../") import acl import acllite_utils as utils -- Gitee