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
2e165569
Commit
2e165569
authored
Mar 15, 2017
by
Neal Wu
Browse files
Fix up the inception float comment
parent
015490f3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
inception/inception/data/process_bounding_boxes.py
inception/inception/data/process_bounding_boxes.py
+2
-2
No files found.
inception/inception/data/process_bounding_boxes.py
View file @
2e165569
...
...
@@ -102,8 +102,8 @@ def GetItem(name, root, index=0):
def
GetInt
(
name
,
root
,
index
=
0
):
#
In some XML annotation files, the point value are not int,
but float.
#
So add
ing
a float function to avoid
ValueError.
# In some XML annotation files, the point value
s
are not int
egers
, but float
s
.
# So
we
add a float function to avoid ValueError.
return
int
(
float
(
GetItem
(
name
,
root
,
index
)))
...
...
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