Skip to content

Commit

Permalink
Fix ema parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobholamovic committed Jun 13, 2023
1 parent b4c0f12 commit 29eb76b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddlers/tasks/object_detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ def _real_train(
self._is_backbone_weight())

if use_ema:
ema = ModelEMA(model=self.net, decay=.9998, use_thres_step=True)
ema = ModelEMA(model=self.net, decay=.9998)
else:
ema = None
# Start train loop
Expand Down

0 comments on commit 29eb76b

Please sign in to comment.