Commit 2e165569 authored by Neal Wu's avatar Neal Wu
Browse files

Fix up the inception float comment

parent 015490f3
...@@ -102,8 +102,8 @@ def GetItem(name, root, index=0): ...@@ -102,8 +102,8 @@ def GetItem(name, root, index=0):
def GetInt(name, root, index=0): def GetInt(name, root, index=0):
# In some XML annotation files, the point value are not int, but float. # In some XML annotation files, the point values are not integers, but floats.
# So adding a float function to avoid ValueError. # So we add a float function to avoid ValueError.
return int(float(GetItem(name, root, index))) return int(float(GetItem(name, root, index)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment