Skip to content

Tensorboard fails to open if tensorflow prints warnings #605

Description

@RalphJO

Hello,

In tensorflow:::tensorboard_version(), if tensorflow gives any warnings the call will fail with Error: invalid version specification '<tensorflow warning text>'

This comes from this line of the code:

ver <- package_version(system("tensorboard --version_tb", intern = TRUE))

Please could you consider adding an ignore.stderr = TRUE to the system call so that warnings from tensorflow are not parsed, only the stdout from tensorboard?

ver <- package_version(system("tensorboard --version_tb", intern = TRUE, ignore.stderr = TRUE)) 

Thank you,

Ralph

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions