Align MO pip requirements (#5171)
* Align MO pip requirements * fix missing mxnet on platforms other than Windows or Linux * remove spaces near environment markers
This commit is contained in:
parent
167aa8eb66
commit
3e076a88aa
@ -122,10 +122,12 @@ virtualenv -p /usr/bin/python3.6 .env3 --system-site-packages
|
||||
virtualenv -p /usr/bin/python3.6 .env3/bin/activate
|
||||
```
|
||||
3. Install all dependencies or only the dependencies for a specific framework:
|
||||
* To install dependencies for all frameworks except TensorFlow* 2.x:
|
||||
* To install dependencies for all frameworks except TensorFlow* 1.x:
|
||||
```shell
|
||||
pip3 install -r requirements.txt
|
||||
```
|
||||
> **NOTE**: TensorFlow 1.x and 2.x are incompatible. Use separate virtual environments if you want to install multiple TensorFlow versions.
|
||||
|
||||
* To install dependencies only for Caffe:
|
||||
```shell
|
||||
pip3 install -r requirements_caffe.txt
|
||||
|
@ -1,10 +1,10 @@
|
||||
tensorflow>=1.15.2,<2.0; python_version < "3.8"
|
||||
tensorflow>=2.2; python_version >= "3.8"
|
||||
mxnet>=1.0.0,<=1.7.0
|
||||
networkx>=1.11
|
||||
numpy>=1.14.0,<1.19.0
|
||||
protobuf>=3.6.1
|
||||
onnx>=1.1.2
|
||||
defusedxml>=0.5.0
|
||||
urllib3>=1.25.9
|
||||
requests>=2.20.0
|
||||
tensorflow~=2.4.1
|
||||
mxnet~=1.2.0; sys_platform == 'win32'
|
||||
mxnet~=1.7.0.post2; sys_platform != 'win32'
|
||||
networkx~=2.5
|
||||
numpy~=1.19.5
|
||||
protobuf>=3.15.6
|
||||
onnx>=1.8.1
|
||||
defusedxml>=0.7.1
|
||||
urllib3>=1.26.4
|
||||
requests>=2.25.1
|
||||
|
@ -1,5 +1,5 @@
|
||||
networkx>=1.11
|
||||
numpy>=1.14.0
|
||||
protobuf>=3.6.1
|
||||
defusedxml>=0.5.0
|
||||
requests>=2.20.0
|
||||
networkx~=2.5
|
||||
numpy~=1.19.5
|
||||
protobuf>=3.15.6
|
||||
defusedxml>=0.7.1
|
||||
requests>=2.25.1
|
||||
|
@ -1,4 +1,4 @@
|
||||
networkx>=1.11
|
||||
numpy>=1.14.0
|
||||
defusedxml>=0.5.0
|
||||
requests>=2.20.0
|
||||
networkx~=2.5
|
||||
numpy~=1.19.5
|
||||
defusedxml>=0.7.1
|
||||
requests>=2.25.1
|
||||
|
@ -1,6 +1,7 @@
|
||||
mxnet>=1.0.0,<=1.7.0
|
||||
networkx>=1.11
|
||||
numpy>=1.14.0
|
||||
defusedxml>=0.5.0
|
||||
urllib3>=1.25.9
|
||||
requests>=2.20.0
|
||||
mxnet~=1.2.0; sys_platform == 'win32'
|
||||
mxnet~=1.7.0.post2; sys_platform != 'win32'
|
||||
networkx~=2.5
|
||||
numpy~=1.19.5
|
||||
defusedxml>=0.7.1
|
||||
urllib3>=1.26.4
|
||||
requests>=2.25.1
|
||||
|
@ -1,5 +1,5 @@
|
||||
onnx>=1.1.2
|
||||
networkx>=1.11
|
||||
numpy>=1.14.0
|
||||
defusedxml>=0.5.0
|
||||
requests>=2.20.0
|
||||
onnx>=1.8.1
|
||||
networkx~=2.5
|
||||
numpy~=1.19.5
|
||||
defusedxml>=0.7.1
|
||||
requests>=2.25.1
|
||||
|
@ -1,6 +1,6 @@
|
||||
tensorflow>=1.15.2,<2.0; python_version < "3.8"
|
||||
tensorflow>=2.2; python_version >= "3.8"
|
||||
networkx>=1.11
|
||||
numpy>=1.14.0,<1.19.0
|
||||
defusedxml>=0.5.0
|
||||
requests>=2.20.0
|
||||
# TensorFlow 1.x and 2.x are incompatible, use separate virtual environments for each version
|
||||
tensorflow~=1.15.5
|
||||
networkx~=2.5
|
||||
numpy~=1.18.5
|
||||
defusedxml>=0.7.1
|
||||
requests>=2.25.1
|
||||
|
@ -1,5 +1,5 @@
|
||||
tensorflow>=2.2
|
||||
networkx>=1.11
|
||||
numpy>=1.14.0
|
||||
defusedxml>=0.5.0
|
||||
requests>=2.20.0
|
||||
tensorflow~=2.4.1
|
||||
networkx~=2.5
|
||||
numpy~=1.19.5
|
||||
defusedxml>=0.7.1
|
||||
requests>=2.25.1
|
||||
|
Loading…
Reference in New Issue
Block a user