Commit cf82a724 authored by Vighnesh Birodkar's avatar Vighnesh Birodkar Committed by TF Object Detection Team
Browse files

Use 2020-resolver with pip.

PiperOrigin-RevId: 326665731
parent 2bef12e6
......@@ -35,7 +35,7 @@ cd models/research
protoc object_detection/protos/*.proto --python_out=.
# Install TensorFlow Object Detection API.
cp object_detection/packages/tf1/setup.py .
python -m pip install .
python -m pip install --use-feature=2020-resolver .
```
```bash
......
......@@ -35,7 +35,7 @@ cd models/research
protoc object_detection/protos/*.proto --python_out=.
# Install TensorFlow Object Detection API.
cp object_detection/packages/tf2/setup.py .
python -m pip install .
python -m pip install --use-feature=2020-resolver .
```
```bash
......@@ -81,4 +81,4 @@ We provide a large collection of models that are trained on COCO 2017 in the
* <a href='tpu_compatibility.md'>
TPU compatible detection pipelines</a><br>
* <a href='tf2_training_and_evaluation.md'>
Training and evaluation guide (CPU, GPU, or TPU)</a><br>
\ No newline at end of file
Training and evaluation guide (CPU, GPU, or TPU)</a><br>
......@@ -7,9 +7,8 @@ from setuptools import setup
# tf-models-offical requirements. These packages request for incompatible
# oauth2client package.
REQUIRED_PACKAGES = [
'tensorflow-metadata<0.23.0', # TODO(b/164107742)
# Required for apache-beam with PY3
'avro-python3==1.8.1',
'avro-python3',
'apache-beam',
'pillow',
'lxml',
......@@ -21,8 +20,7 @@ REQUIRED_PACKAGES = [
'pycocotools',
'scipy',
'pandas',
# Required to avoid Numpy 1.19.1 conflict with TF 2.3
'tf-models-official==2.2.2'
'tf-models-official'
]
setup(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment