Fix ubuntu sanity-check

This commit is contained in:
Mark Daoust 2020-03-05 05:54:47 -08:00 committed by GitHub
parent 56cafc2c6c
commit 142d271f01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -359,7 +359,7 @@ class FileWriter(SummaryToEventTransformer):
raise RuntimeError(
"v1.summary.FileWriter is not compatible with eager execution. "
"Use `tf.summary.create_file_writer`,"
"or a `with v1.Graph().as_default():` context")
"or a `with v1.Graph().as_default():` context")
if session is not None:
event_writer = EventFileWriterV2(
session, logdir, max_queue, flush_secs, filename_suffix)