Skip to content

Commit

Permalink
Remove stochastic proessor from training pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
oarriaga committed May 10, 2021
1 parent fc42079 commit 30fc2fa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/object_detection/detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ class AugmentImage(SequentialProcessor):
"""
def __init__(self):
super(AugmentImage, self).__init__()
self.add(pr.Stochastic(pr.RandomContrast(), 0.5))
self.add(pr.Stochastic(pr.RandomBrightness(), 0.5))
self.add(pr.Stochastic(pr.RandomSaturation(0.7), 0.5))
self.add(pr.Stochastic(pr.RandomHue(), 0.5))
self.add(pr.RandomContrast())
self.add(pr.RandomBrightness())
self.add(pr.RandomSaturation(0.7))
self.add(pr.RandomHue())


class PreprocessImage(SequentialProcessor):
Expand Down

0 comments on commit 30fc2fa

Please sign in to comment.