From e7818d373672ef60e7aa4bae85fb6e867cd6e12d Mon Sep 17 00:00:00 2001 From: LielinJiang Date: Fri, 25 Sep 2020 07:37:11 +0000 Subject: [PATCH] add to all --- python/paddle/hapi/callbacks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/paddle/hapi/callbacks.py b/python/paddle/hapi/callbacks.py index b72ae38901..69e0e0273c 100644 --- a/python/paddle/hapi/callbacks.py +++ b/python/paddle/hapi/callbacks.py @@ -19,7 +19,7 @@ from paddle.utils import try_import from .progressbar import ProgressBar -__all__ = ['Callback', 'ProgBarLogger', 'ModelCheckpoint'] +__all__ = ['Callback', 'ProgBarLogger', 'ModelCheckpoint', 'VisualDL'] def config_callbacks(callbacks=None, @@ -499,7 +499,7 @@ class VisualDL(Callback): callback = paddle.callbacks.VisualDL(log_dir='visualdl_log_dir') model.fit(train_dataset, eval_dataset, batch_size=64, callbacks=callback) - + """ def __init__(self, log_dir): -- GitLab