Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jianzfb committed Oct 24, 2024
1 parent 033a2cc commit 4afc27a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions antgo/pipeline/engine/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ def create_eagleeye_op(self, op_name, op_params):
os.system(f'cd {ANTGO_DEPEND_ROOT} && git clone https://github.com/jianzfb/eagleeye.git')

if 'darwin' in sys.platform:
os.system(f'cd {ANTGO_DEPEND_ROOT}/eagleeye && bash osx_build.sh BUILD_PYTHON_MODULE && mv install py')
os.system(f'cd {ANTGO_DEPEND_ROOT}/eagleeye && bash osx_build.sh BUILD_PYTHON_MODULE')
else:
first_comiple = False
if not os.path.exists(os.path.join(ANTGO_DEPEND_ROOT, 'eagleeye','py')):
first_comiple = True
os.system(f'cd {ANTGO_DEPEND_ROOT}/eagleeye && bash linux_x86_64_build.sh BUILD_PYTHON_MODULE && mv install py')
os.system(f'cd {ANTGO_DEPEND_ROOT}/eagleeye && bash linux_x86_64_build.sh BUILD_PYTHON_MODULE')
if first_comiple:
# 增加搜索.so路径
cur_abs_path = os.path.abspath(os.curdir)
Expand Down
3 changes: 2 additions & 1 deletion antgo/tools/install/ieagleeye.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import os
import os
import pathlib
import sys
ANTGO_DEPEND_ROOT = os.environ.get('ANTGO_DEPEND_ROOT', f'{str(pathlib.Path.home())}/.3rd')
Expand All @@ -11,7 +12,7 @@ def install_eagleeye():
os.system(f'cd {ANTGO_DEPEND_ROOT} && git clone https://github.com/jianzfb/eagleeye.git')

if 'darwin' in sys.platform:
os.system(f'cd {ANTGO_DEPEND_ROOT}/eagleeye && bash osx_build.sh BUILD_PYTHON_MODULE && mv install py')
os.system(f'cd {ANTGO_DEPEND_ROOT}/eagleeye && bash osx_build.sh BUILD_PYTHON_MODULE')
else:
first_comiple = False
if not os.path.exists(os.path.join(ANTGO_DEPEND_ROOT, 'eagleeye','py')):
Expand Down
2 changes: 1 addition & 1 deletion antgo/version.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from __future__ import unicode_literals
from __future__ import division

version_code = "0.3.3"
version_code = "0.3.4"
version_info = tuple([int(d) for d in version_code.split("-")[0].split(".")])
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,5 @@ filelock
scikit-image
pika
xtcocotools
pyngrok
pyngrok
itsdangerous

0 comments on commit 4afc27a

Please sign in to comment.