Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
cf82a724
Commit
cf82a724
authored
Aug 14, 2020
by
Vighnesh Birodkar
Committed by
TF Object Detection Team
Aug 14, 2020
Browse files
Use 2020-resolver with pip.
PiperOrigin-RevId: 326665731
parent
2bef12e6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
7 deletions
+5
-7
research/object_detection/g3doc/tf1.md
research/object_detection/g3doc/tf1.md
+1
-1
research/object_detection/g3doc/tf2.md
research/object_detection/g3doc/tf2.md
+2
-2
research/object_detection/packages/tf2/setup.py
research/object_detection/packages/tf2/setup.py
+2
-4
No files found.
research/object_detection/g3doc/tf1.md
View file @
cf82a724
...
@@ -35,7 +35,7 @@ cd models/research
...
@@ -35,7 +35,7 @@ cd models/research
protoc object_detection/protos/
*
.proto
--python_out
=
.
protoc object_detection/protos/
*
.proto
--python_out
=
.
# Install TensorFlow Object Detection API.
# Install TensorFlow Object Detection API.
cp
object_detection/packages/tf1/setup.py
.
cp
object_detection/packages/tf1/setup.py
.
python
-m
pip
install
.
python
-m
pip
install
--use-feature
=
2020-resolver
.
```
```
```
bash
```
bash
...
...
research/object_detection/g3doc/tf2.md
View file @
cf82a724
...
@@ -35,7 +35,7 @@ cd models/research
...
@@ -35,7 +35,7 @@ cd models/research
protoc object_detection/protos/
*
.proto
--python_out
=
.
protoc object_detection/protos/
*
.proto
--python_out
=
.
# Install TensorFlow Object Detection API.
# Install TensorFlow Object Detection API.
cp
object_detection/packages/tf2/setup.py
.
cp
object_detection/packages/tf2/setup.py
.
python
-m
pip
install
.
python
-m
pip
install
--use-feature
=
2020-resolver
.
```
```
```
bash
```
bash
...
@@ -81,4 +81,4 @@ We provide a large collection of models that are trained on COCO 2017 in the
...
@@ -81,4 +81,4 @@ We provide a large collection of models that are trained on COCO 2017 in the
*
<a
href=
'tpu_compatibility.md'
>
*
<a
href=
'tpu_compatibility.md'
>
TPU compatible detection pipelines
</a><br>
TPU compatible detection pipelines
</a><br>
*
<a
href=
'tf2_training_and_evaluation.md'
>
*
<a
href=
'tf2_training_and_evaluation.md'
>
Training and evaluation guide (CPU, GPU, or TPU)
</a><br>
Training and evaluation guide (CPU, GPU, or TPU)
</a><br>
\ No newline at end of file
research/object_detection/packages/tf2/setup.py
View file @
cf82a724
...
@@ -7,9 +7,8 @@ from setuptools import setup
...
@@ -7,9 +7,8 @@ from setuptools import setup
# tf-models-offical requirements. These packages request for incompatible
# tf-models-offical requirements. These packages request for incompatible
# oauth2client package.
# oauth2client package.
REQUIRED_PACKAGES
=
[
REQUIRED_PACKAGES
=
[
'tensorflow-metadata<0.23.0'
,
# TODO(b/164107742)
# Required for apache-beam with PY3
# Required for apache-beam with PY3
'avro-python3
==1.8.1
'
,
'avro-python3'
,
'apache-beam'
,
'apache-beam'
,
'pillow'
,
'pillow'
,
'lxml'
,
'lxml'
,
...
@@ -21,8 +20,7 @@ REQUIRED_PACKAGES = [
...
@@ -21,8 +20,7 @@ REQUIRED_PACKAGES = [
'pycocotools'
,
'pycocotools'
,
'scipy'
,
'scipy'
,
'pandas'
,
'pandas'
,
# Required to avoid Numpy 1.19.1 conflict with TF 2.3
'tf-models-official'
'tf-models-official==2.2.2'
]
]
setup
(
setup
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment