Browse Source

fix: 修复依赖版本冲突

jingze_cheng 7 months ago
parent
commit
db1e83b48c
2 changed files with 4 additions and 0 deletions
  1. 2 0
      environment.yml
  2. 2 0
      requirements.txt

+ 2 - 0
environment.yml

@@ -40,6 +40,8 @@ dependencies:
       - tensorboard>=2.4.1
       - tensorboard>=2.4.1
       - gunicorn
       - gunicorn
       - ensemble-boxes==1.0.9
       - ensemble-boxes==1.0.9
+      - scipy==1.4.1
+      - numba==0.54.0
       - -i  https://mirror.baidu.com/pypi/simple
       - -i  https://mirror.baidu.com/pypi/simple
 #prefix: /opt/conda/
 #prefix: /opt/conda/
 # prefix: /opt/conda/envs/py38
 # prefix: /opt/conda/envs/py38

+ 2 - 0
requirements.txt

@@ -16,5 +16,7 @@ gunicorn
 protobuf==4.21.2
 protobuf==4.21.2
 pyyaml
 pyyaml
 ensemble-boxes==1.0.9
 ensemble-boxes==1.0.9
+scipy==1.4.1
+numba==0.54.0
 paddlepaddle # gpu==2.3.0.post110
 paddlepaddle # gpu==2.3.0.post110
 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html
 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html