Skip to content

Commit

Permalink
remove perspective (#791)
Browse files Browse the repository at this point in the history
remove perspective
  • Loading branch information
GOATmessi7 committed Oct 15, 2021
1 parent a5f629a commit f0d1ce8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion exps/example/yolox_voc/yolox_voc_s.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ def get_data_loader(self, batch_size, is_distributed, no_aug=False, cache_img=Fa
mosaic_scale=self.mosaic_scale,
mixup_scale=self.mixup_scale,
shear=self.shear,
perspective=self.perspective,
enable_mixup=self.enable_mixup,
mosaic_prob=self.mosaic_prob,
mixup_prob=self.mixup_prob,
Expand Down
2 changes: 0 additions & 2 deletions yolox/exp/yolox_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ def __init__(self):
self.mosaic_scale = (0.1, 2)
self.mixup_scale = (0.5, 1.5)
self.shear = 2.0
self.perspective = 0.0
self.enable_mixup = True

# -------------- training config --------------------- #
Expand Down Expand Up @@ -133,7 +132,6 @@ def get_data_loader(
mosaic_scale=self.mosaic_scale,
mixup_scale=self.mixup_scale,
shear=self.shear,
perspective=self.perspective,
enable_mixup=self.enable_mixup,
mosaic_prob=self.mosaic_prob,
mixup_prob=self.mixup_prob,
Expand Down

0 comments on commit f0d1ce8

Please sign in to comment.