Skip to content

Commit

Permalink
temp fix ema
Browse files Browse the repository at this point in the history
  • Loading branch information
fsx950223 committed Nov 22, 2020
1 parent 4c83fbe commit c64759c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion efficientdet/keras/train_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ def _draw_inference(self, step):

def get_callbacks(params, val_dataset):
"""Get callbacks for given params."""
if params.get('moving_average_decay', None):
if False:
from tensorflow_addons.callbacks import AverageModelCheckpoint
avg_callback = AverageModelCheckpoint(
filepath=os.path.join(params['model_dir'], 'ckpt'),
Expand Down

0 comments on commit c64759c

Please sign in to comment.