Commit d16d17e2 authored by Korabelnikov Aleks's avatar Korabelnikov Aleks Committed by Kai Chen
Browse files

update docstring (#1625)

* Update GETTING_STARTED.md

Found out that this method is required. The torch.nn.Module doesn't contain this method thus you need to implement it

* update docstring 

see https://github.com/open-mmlab/mmdetection/issues/1582

* correct for flake8

* flake8: trailing space has removed
parent 345a5e3a
...@@ -581,8 +581,10 @@ class MinIoURandomCrop(object): ...@@ -581,8 +581,10 @@ class MinIoURandomCrop(object):
selected from min_ious. selected from min_ious.
Args: Args:
min_ious (tuple): minimum IoU threshold min_ious (tuple): minimum IoU threshold for all intersections with
crop_size (tuple): Expected size after cropping, (h, w). bounding boxes
min_crop_size (float): minimum crop's size (i.e. h,w := a*h, a*w,
where a >= min_crop_size).
""" """
def __init__(self, min_ious=(0.1, 0.3, 0.5, 0.7, 0.9), min_crop_size=0.3): def __init__(self, min_ious=(0.1, 0.3, 0.5, 0.7, 0.9), min_crop_size=0.3):
......
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