示例#1
0
def main(unused_argv=None):
  if FLAGS.inspect:
    logging.info('Not bringing up TensorBoard, but inspecting event files.')
    event_file = os.path.expanduser(FLAGS.event_file)
    efi.inspect(FLAGS.logdir, event_file, FLAGS.tag)
    return 0
  else:
    tb = create_tb_app()
    run_simple_server(tb)
示例#2
0
def main(unused_argv=None):
    if FLAGS.inspect:
        logging.info(
            'Not bringing up TensorBoard, but inspecting event files.')
        event_file = os.path.expanduser(FLAGS.event_file)
        efi.inspect(FLAGS.logdir, event_file, FLAGS.tag)
        return 0
    else:
        tb = create_tb_app()
        run_simple_server(tb)
示例#3
0
def main(unused_argv=None):
  if FLAGS.inspect:
    logging.info('Not bringing up TensorBoard, but inspecting event files.')
    event_file = os.path.expanduser(FLAGS.event_file)
    efi.inspect(FLAGS.logdir, event_file, FLAGS.tag)
    return 0
  else:
    plugins = [
        projector_plugin.ProjectorPlugin(),
        text_plugin.TextPlugin(),
    ]
    tb = create_tb_app(plugins)
    run_simple_server(tb)
示例#4
0
def main(unused_argv=None):
    if FLAGS.inspect:
        logging.info(
            'Not bringing up TensorBoard, but inspecting event files.')
        event_file = os.path.expanduser(FLAGS.event_file)
        efi.inspect(FLAGS.logdir, event_file, FLAGS.tag)
        return 0
    else:
        plugins = [
            projector_plugin.ProjectorPlugin(),
            text_plugin.TextPlugin(),
        ]
        tb = create_tb_app(plugins)
        run_simple_server(tb)
示例#5
0
def main(unused_argv=None):
  if FLAGS.inspect:
    tf.logging.info('Not bringing up TensorBoard, but inspecting event files.')
    event_file = os.path.expanduser(FLAGS.event_file)
    efi.inspect(FLAGS.logdir, event_file, FLAGS.tag)
    return 0
  else:
    plugins = [
        scalars_plugin.ScalarsPlugin(),
        images_plugin.ImagesPlugin(),
        audio_plugin.AudioPlugin(),
        graphs_plugin.GraphsPlugin(),
        distributions_plugin.DistributionsPlugin(),
        histograms_plugin.HistogramsPlugin(),
        projector_plugin.ProjectorPlugin(),
        text_plugin.TextPlugin(),
    ]
    tb = create_tb_app(plugins)
    run_simple_server(tb)