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
ed65b632
Commit
ed65b632
authored
Jul 28, 2017
by
derekjchow
Committed by
GitHub
Jul 28, 2017
Browse files
Merge pull request #2052 from derekjchow/docs
Update object_detection docs.
parents
12a9dce2
c0cf58e6
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
15 deletions
+17
-15
object_detection/g3doc/configuring_jobs.md
object_detection/g3doc/configuring_jobs.md
+3
-3
object_detection/g3doc/installation.md
object_detection/g3doc/installation.md
+1
-1
object_detection/g3doc/preparing_inputs.md
object_detection/g3doc/preparing_inputs.md
+3
-4
object_detection/g3doc/running_locally.md
object_detection/g3doc/running_locally.md
+2
-2
object_detection/g3doc/running_notebook.md
object_detection/g3doc/running_notebook.md
+2
-2
object_detection/g3doc/running_pets.md
object_detection/g3doc/running_pets.md
+6
-3
No files found.
object_detection/g3doc/configuring_jobs.md
View file @
ed65b632
...
@@ -157,6 +157,6 @@ number of workers, gpu type).
...
@@ -157,6 +157,6 @@ number of workers, gpu type).
## Configuring the Evaluator
## Configuring the Evaluator
Currently evaluation is fixed to generating metrics as defined by the PASCAL
Currently evaluation is fixed to generating metrics as defined by the PASCAL
VOC
VOC
challenge. The parameters for
`eval_config`
are set to reasonable defaults
challenge. The parameters for
`eval_config`
are set to reasonable defaults
and
and
typically do not need to be configured.
typically do not need to be configured.
object_detection/g3doc/installation.md
View file @
ed65b632
...
@@ -74,6 +74,6 @@ to avoid running this manually, you can add it as a new line to the end of your
...
@@ -74,6 +74,6 @@ to avoid running this manually, you can add it as a new line to the end of your
You can test that you have correctly installed the Tensorflow Object Detection
\
You can test that you have correctly installed the Tensorflow Object Detection
\
API by running the following command:
API by running the following command:
```
bash
```
bash
python object_detection/builders/model_builder_test.py
python object_detection/builders/model_builder_test.py
```
```
object_detection/g3doc/preparing_inputs.md
View file @
ed65b632
...
@@ -34,10 +34,9 @@ The label map for the PASCAL VOC data set can be found at
...
@@ -34,10 +34,9 @@ The label map for the PASCAL VOC data set can be found at
## Generating the Oxford-IIIT Pet TFRecord files.
## Generating the Oxford-IIIT Pet TFRecord files.
The Oxford-IIIT Pet data set is located on
The Oxford-IIIT Pet data set is located
[
their website
](
http://www.robots.ox.ac.uk/~vgg/data/pets/
)
.
[
here
](
http://www.robots.ox.ac.uk/~vgg/data/pets/
)
. To download, extract and
To download, extract and convert it to TFRecrods, run the following commands
convert it to TFRecrods, run the following commands below:
below:
```
bash
```
bash
# From tensorflow/models
# From tensorflow/models
...
...
object_detection/g3doc/running_locally.md
View file @
ed65b632
...
@@ -77,5 +77,5 @@ tensorboard --logdir=${PATH_TO_MODEL_DIRECTORY}
...
@@ -77,5 +77,5 @@ tensorboard --logdir=${PATH_TO_MODEL_DIRECTORY}
```
```
where
`${PATH_TO_MODEL_DIRECTORY}`
points to the directory that contains the
where
`${PATH_TO_MODEL_DIRECTORY}`
points to the directory that contains the
train and eval directories. Please note it may take Tensorboard a couple
train and eval directories. Please note it may take Tensorboard a couple
minutes
minutes
to populate with data.
to populate with data.
object_detection/g3doc/running_notebook.md
View file @
ed65b632
...
@@ -11,5 +11,5 @@ jupyter notebook
...
@@ -11,5 +11,5 @@ jupyter notebook
```
```
The notebook should open in your favorite web browser. Click the
The notebook should open in your favorite web browser. Click the
[
`object_detection_tutorial.ipynb`
](
../object_detection_tutorial.ipynb
)
link
[
`object_detection_tutorial.ipynb`
](
../object_detection_tutorial.ipynb
)
link
to
to
open the demo.
open the demo.
object_detection/g3doc/running_pets.md
View file @
ed65b632
...
@@ -89,8 +89,8 @@ python object_detection/create_pet_tf_record.py \
...
@@ -89,8 +89,8 @@ python object_detection/create_pet_tf_record.py \
Note: It is normal to see some warnings when running this script. You may ignore
Note: It is normal to see some warnings when running this script. You may ignore
them.
them.
Two TFRecord files named
`pet_train.record`
and
`pet_val.record`
should be
generated
Two TFRecord files named
`pet_train.record`
and
`pet_val.record`
should be
in the
`tensorflow/models`
directory.
generated
in the
`tensorflow/models`
directory.
Now that the data has been generated, we'll need to upload it to Google Cloud
Now that the data has been generated, we'll need to upload it to Google Cloud
Storage so the data can be accessed by ML Engine. Run the following command to
Storage so the data can be accessed by ML Engine. Run the following command to
...
@@ -269,7 +269,10 @@ Note: It takes roughly 10 minutes for a job to get started on ML Engine, and
...
@@ -269,7 +269,10 @@ Note: It takes roughly 10 minutes for a job to get started on ML Engine, and
roughly an hour for the system to evaluate the validation dataset. It may take
roughly an hour for the system to evaluate the validation dataset. It may take
some time to populate the dashboards. If you do not see any entries after half
some time to populate the dashboards. If you do not see any entries after half
an hour, check the logs from the
[
ML Engine
an hour, check the logs from the
[
ML Engine
Dashboard
](
https://console.cloud.google.com/mlengine/jobs
)
.
Dashboard
](
https://console.cloud.google.com/mlengine/jobs
)
. Note that by default
the training jobs are configured to go for much longer than is necessary for
convergence. To save money, we recommend killing your jobs once you've seen
that they've converged.
## Exporting the Tensorflow Graph
## Exporting the Tensorflow Graph
...
...
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