diff --git a/ppdet/engine/callbacks.py b/ppdet/engine/callbacks.py index e45e91d65228bfd41fa2c68c6a32ca415e4b1cde..77ca94602c518411f040fa9e55f6c2ee656d726f 100644 --- a/ppdet/engine/callbacks.py +++ b/ppdet/engine/callbacks.py @@ -261,7 +261,7 @@ class VisualDLWriter(Callback): for loss_name, loss_value in training_staus.get().items(): self.vdl_writer.add_scalar(loss_name, loss_value, self.vdl_loss_step) - self.vdl_loss_step += 1 + self.vdl_loss_step += 1 elif mode == 'test': ori_image = status['original_image'] result_image = status['result_image']