浏览代码

Merge pull request #1182 from tensorflow/fix-comment-format

Fix up the inception float comment
Neal Wu 8 年之前
父节点
当前提交
5978a4a1be
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      inception/inception/data/process_bounding_boxes.py

+ 2 - 2
inception/inception/data/process_bounding_boxes.py

@@ -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.
-  #  So adding a float function to avoid  ValueError.
+  # In some XML annotation files, the point values are not integers, but floats.
+  # So we add a float function to avoid ValueError.
   return int(float(GetItem(name, root, index)))
   return int(float(GetItem(name, root, index)))