Skip to content

Commit

Permalink
Issue #605 - ignore stderr when parsing tensorboard version
Browse files Browse the repository at this point in the history
  • Loading branch information
RalphJO authored Oct 8, 2024
1 parent b68aa4a commit 1ea38e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/tensorboard.R
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ tensorboard <- function(log_dir, action = c("start", "stop"),

tensorboard_version <- function() {
if (is.null(ver <- .globals$tensorboard_version)) {
ver <- package_version(system("tensorboard --version_tb", intern = TRUE))
ver <- package_version(system("tensorboard --version_tb", intern = TRUE, ignore.stderr = TRUE))
.globals$tensorboard_version <- ver
}
ver
Expand Down

0 comments on commit 1ea38e7

Please sign in to comment.