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
87ed703c
Commit
87ed703c
authored
Feb 13, 2018
by
Zhichao Lu
Committed by
lzc5123016
Feb 13, 2018
Browse files
Add instructions for downloading pycocotools to the installation.
PiperOrigin-RevId: 185555440
parent
f936f161
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
7 deletions
+27
-7
research/object_detection/g3doc/installation.md
research/object_detection/g3doc/installation.md
+27
-7
No files found.
research/object_detection/g3doc/installation.md
View file @
87ed703c
...
@@ -11,6 +11,7 @@ Tensorflow Object Detection API depends on the following libraries:
...
@@ -11,6 +11,7 @@ Tensorflow Object Detection API depends on the following libraries:
*
Jupyter notebook
*
Jupyter notebook
*
Matplotlib
*
Matplotlib
*
Tensorflow
*
Tensorflow
*
cocoapi
For detailed steps to install Tensorflow, follow the
[
Tensorflow installation
For detailed steps to install Tensorflow, follow the
[
Tensorflow installation
instructions
](
https://www.tensorflow.org/install/
)
. A typical user can install
instructions
](
https://www.tensorflow.org/install/
)
. A typical user can install
...
@@ -40,6 +41,25 @@ sudo pip install jupyter
...
@@ -40,6 +41,25 @@ sudo pip install jupyter
sudo
pip
install
matplotlib
sudo
pip
install
matplotlib
```
```
## COCO API installation
Download the
<a
href=
"https://github.com/cocodataset/cocoapi"
target=
_blank
>
cocoapi
</a>
and
copy the pycocotools subfolder to the tensorflow/models/research directory if
you are interested in using COCO evaluation metrics. The default metrics are
based on those used in Pascal VOC evaluation. To use the COCO object detection
metrics add
`metrics_set: "coco_detection_metrics"`
to the
`eval_config`
message
in the config file. To use the COCO instance segmentation metrics add
`metrics_set: "coco_mask_metrics"`
to the
`eval_config`
message in the config
file.
```
bash
git clone https://github.com/cocodataset/cocoapi.git
cd
cocoapi/PythonAPI
make
cp
-r
pycocotools <path_to_tensorflow>/models/research/
```
## Protobuf Compilation
## Protobuf Compilation
The Tensorflow Object Detection API uses Protobufs to configure model and
The Tensorflow Object Detection API uses Protobufs to configure model and
...
...
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