callback_tqdm_progress_bar {tfaddons}R Documentation

TQDM Progress Bar

Description

TQDM Progress Bar

Usage

callback_tqdm_progress_bar(
  metrics_separator = " - ",
  overall_bar_format = NULL,
  epoch_bar_format = "{n_fmt}/{total_fmt}{bar} ETA: {remaining}s - {desc}",
  update_per_second = 10,
  leave_epoch_progress = TRUE,
  leave_overall_progress = TRUE,
  show_epoch_progress = TRUE,
  show_overall_progress = TRUE
)

Arguments

metrics_separator

(string) Custom separator between metrics. Defaults to ' - '

overall_bar_format

(string format) Custom bar format for overall (outer) progress bar, see https://github.com/tqdm/tqdm#parameters for more detail. By default: 'l_barbar n_fmt/total_fmt ETA: remainings, rate_fmtpostfix'

epoch_bar_format

(string format) Custom bar format for epoch (inner) progress bar, see https://github.com/tqdm/tqdm#parameters for more detail.

update_per_second

(int) Maximum number of updates in the epochs bar per second, this is to prevent small batches from slowing down training. Defaults to 10.

leave_epoch_progress

(bool) TRUE to leave epoch progress bars

leave_overall_progress

(bool) TRUE to leave overall progress bar

show_epoch_progress

(bool) FALSE to hide epoch progress bars

show_overall_progress

(bool) FALSE to hide overall progress bar

Details

TQDM Progress Bar for Tensorflow Keras.

Value

None

Examples


## Not run: 
model %>% fit(
x_train, y_train,
batch_size = 128,
epochs = 4,
validation_split = 0.2,
verbose = 0,
callbacks = callback_tqdm_progress_bar()
)

## End(Not run)




[Package tfaddons version 0.10.0 Index]