Skip to content

Commit

Permalink
chore: Make clip_boxes default to True
Browse files Browse the repository at this point in the history
  • Loading branch information
pierluigiferrari committed Apr 15, 2018
1 parent cd5de00 commit 65aa583
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(self,
random_translate=((0.03,0.5), (0.03,0.5), 0.5),
random_scale=(0.5, 2.0, 0.5),
n_trials_max=3,
clip_boxes=False,
clip_boxes=True,
overlap_criterion='area',
bounds_box_filter=(0.3, 1.0),
bounds_validator=(0.5, 1.0),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def __init__(self, labels_format={'class_id': 0, 'xmin': 1, 'ymin': 2, 'xmax': 3
image_validator=self.image_validator,
bound_generator=self.bound_generator,
n_trials_max=50,
clip_boxes=False,
clip_boxes=True,
prob=0.857,
labels_format=self.labels_format)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(self,
min_aspect_ratio = 0.5,
max_aspect_ratio = 2.0,
n_trials_max=3,
clip_boxes=False,
clip_boxes=True,
overlap_criterion='area',
bounds_box_filter=(0.3, 1.0),
bounds_validator=(0.5, 1.0),
Expand Down

0 comments on commit 65aa583

Please sign in to comment.