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
c766ef27
"git@developer.sourcefind.cn:OpenDAS/ollama.git" did not exist on "7226980fb6c8fdb6cf4f5112a00b4e05781365ea"
Commit
c766ef27
authored
Mar 23, 2017
by
Jimmy
Committed by
Neal Wu
Mar 23, 2017
Browse files
update warning on extra background class added by build_image_data.py
parent
a24df861
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
inception/README.md
inception/README.md
+9
-0
No files found.
inception/README.md
View file @
c766ef27
...
@@ -639,6 +639,14 @@ reside within `$TRAIN_DIR` and `$VALIDATION_DIR` arranged as such:
...
@@ -639,6 +639,14 @@ reside within `$TRAIN_DIR` and `$VALIDATION_DIR` arranged as such:
$VALIDATION_DIR
/cat/cat.JPG
$VALIDATION_DIR
/cat/cat.JPG
...
...
```
```
**NOTE**
This script will append an extra background class indexed at 0, so your
class labels will range from [0, num_labels]. Using the example above, the
corresponding class labels generated from
`build_image_data.py`
will be as follows:
```
shell
0
1 dog
2
cat
```
Each sub-directory in
`$TRAIN_DIR`
and
`$VALIDATION_DIR`
corresponds to a unique
Each sub-directory in
`$TRAIN_DIR`
and
`$VALIDATION_DIR`
corresponds to a unique
label for the images that reside within that sub-directory. The images may be
label for the images that reside within that sub-directory. The images may be
...
@@ -650,6 +658,7 @@ Each entry of the `TFRecord` is a serialized `tf.Example` protocol buffer. A
...
@@ -650,6 +658,7 @@ Each entry of the `TFRecord` is a serialized `tf.Example` protocol buffer. A
complete list of information contained in the
`tf.Example`
is described in the
complete list of information contained in the
`tf.Example`
is described in the
comments of
`build_image_data.py`
.
comments of
`build_image_data.py`
.
To run
`build_image_data.py`
, you can run the following command line:
To run
`build_image_data.py`
, you can run the following command line:
```
shell
```
shell
...
...
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