提交 b0aecea2 编写于 作者: W wuzewu

Add opencv dependency

上级 1248332e
...@@ -14,6 +14,7 @@ cma == 2.7.0 ...@@ -14,6 +14,7 @@ cma == 2.7.0
sentencepiece sentencepiece
nltk nltk
colorlog colorlog
opencv-python
# numpy no longer support python2 in version 1.17 and above # numpy no longer support python2 in version 1.17 and above
numpy ; python_version >= "3" numpy ; python_version >= "3"
......
...@@ -33,7 +33,7 @@ max_version, mid_version, min_version = python_version() ...@@ -33,7 +33,7 @@ max_version, mid_version, min_version = python_version()
REQUIRED_PACKAGES = [ REQUIRED_PACKAGES = [
'six >= 1.10.0', 'protobuf >= 3.6.0', 'pyyaml', 'Pillow', 'requests', 'six >= 1.10.0', 'protobuf >= 3.6.0', 'pyyaml', 'Pillow', 'requests',
'tb-paddle', 'tensorboard >= 1.15', 'cma == 2.7.0', 'flask >= 1.1.0', 'tb-paddle', 'tensorboard >= 1.15', 'cma == 2.7.0', 'flask >= 1.1.0',
'sentencepiece', 'nltk', 'colorlog' 'sentencepiece', 'nltk', 'colorlog', 'opencv-python'
] ]
if max_version < 3: if max_version < 3:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册