Bläddra i källkod

remove unnecessary comments

quarrying 3 år sedan
förälder
incheckning
74970cb0d9
1 ändrade filer med 0 tillägg och 4 borttagningar
  1. 0 4
      khandy/boxes/boxes_transform_translate.py

+ 0 - 4
khandy/boxes/boxes_transform_translate.py

@@ -93,8 +93,6 @@ def inflate_boxes_to_square(boxes, copy=True):
     """Inflate boxes to square
     Args:
         boxes: (N, 4+K)
-        width_delta: array-like whose shape is (), (1,), (N,), (1, 1) or (N, 1)
-        height_delta: array-like whose shape is (), (1,), (N,), (1, 1) or (N, 1)
         copy: bool
     """
     boxes = np.array(boxes, dtype=np.float32, copy=copy)
@@ -118,8 +116,6 @@ def deflate_boxes_to_square(boxes, copy=True):
     """Deflate boxes to square
     Args:
         boxes: (N, 4+K)
-        width_delta: array-like whose shape is (), (1,), (N,), (1, 1) or (N, 1)
-        height_delta: array-like whose shape is (), (1,), (N,), (1, 1) or (N, 1)
         copy: bool
     """
     boxes = np.array(boxes, dtype=np.float32, copy=copy)