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
d197af61
Commit
d197af61
authored
Oct 19, 2016
by
drpngx
Committed by
GitHub
Oct 19, 2016
Browse files
Merge pull request #279 from hidesuke/refactor
"threads" declared twice, so delete one
parents
a21e46da
6d0722dc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
inception/inception/data/build_image_data.py
inception/inception/data/build_image_data.py
+0
-1
No files found.
inception/inception/data/build_image_data.py
View file @
d197af61
...
@@ -300,7 +300,6 @@ def _process_image_files(name, filenames, texts, labels, num_shards):
...
@@ -300,7 +300,6 @@ def _process_image_files(name, filenames, texts, labels, num_shards):
# Break all images into batches with a [ranges[i][0], ranges[i][1]].
# Break all images into batches with a [ranges[i][0], ranges[i][1]].
spacing
=
np
.
linspace
(
0
,
len
(
filenames
),
FLAGS
.
num_threads
+
1
).
astype
(
np
.
int
)
spacing
=
np
.
linspace
(
0
,
len
(
filenames
),
FLAGS
.
num_threads
+
1
).
astype
(
np
.
int
)
ranges
=
[]
ranges
=
[]
threads
=
[]
for
i
in
xrange
(
len
(
spacing
)
-
1
):
for
i
in
xrange
(
len
(
spacing
)
-
1
):
ranges
.
append
([
spacing
[
i
],
spacing
[
i
+
1
]])
ranges
.
append
([
spacing
[
i
],
spacing
[
i
+
1
]])
...
...
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