-
Notifications
You must be signed in to change notification settings - Fork 19.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move TensorBoard callback to v2 -- still need to fix some tests.
- Loading branch information
Showing
6 changed files
with
908 additions
and
662 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
from __future__ import absolute_import | ||
|
||
from .callbacks import Callback | ||
from .callbacks import CallbackList | ||
from .callbacks import BaseLogger | ||
from .callbacks import TerminateOnNaN | ||
from .callbacks import ProgbarLogger | ||
from .callbacks import History | ||
from .callbacks import ModelCheckpoint | ||
from .callbacks import EarlyStopping | ||
from .callbacks import RemoteMonitor | ||
from .callbacks import LearningRateScheduler | ||
from .callbacks import ReduceLROnPlateau | ||
from .callbacks import CSVLogger | ||
from .callbacks import LambdaCallback | ||
|
||
from .. import backend as K | ||
|
||
if K.backend() == 'tensorflow' and not K.tensorflow_backend._is_tf_1(): | ||
from .tensorboard_v2 import TensorBoard | ||
else: | ||
from .tensorboard_v1 import TensorBoard |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.