提交 e7818d37 编写于 作者: L LielinJiang

add to all

上级 b80f73b1
...@@ -19,7 +19,7 @@ from paddle.utils import try_import ...@@ -19,7 +19,7 @@ from paddle.utils import try_import
from .progressbar import ProgressBar from .progressbar import ProgressBar
__all__ = ['Callback', 'ProgBarLogger', 'ModelCheckpoint'] __all__ = ['Callback', 'ProgBarLogger', 'ModelCheckpoint', 'VisualDL']
def config_callbacks(callbacks=None, def config_callbacks(callbacks=None,
...@@ -499,7 +499,7 @@ class VisualDL(Callback): ...@@ -499,7 +499,7 @@ class VisualDL(Callback):
callback = paddle.callbacks.VisualDL(log_dir='visualdl_log_dir') callback = paddle.callbacks.VisualDL(log_dir='visualdl_log_dir')
model.fit(train_dataset, eval_dataset, batch_size=64, callbacks=callback) model.fit(train_dataset, eval_dataset, batch_size=64, callbacks=callback)
""" """
def __init__(self, log_dir): def __init__(self, log_dir):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册