Get keras model input image height
Source:R/zzz_keras_wrapper.R
KERAS_WRAPPER-cash-get_input_height.Rd
This function get the input image height (the input shape is (batch_size, height, width, channels)) of a keras model.
Examples
keras_model <- try(get_keras_model("vss_phn_32"))
if (!inherits(keras_model, "try-error")) {
keras_wrapper(keras_model)$get_input_height()
}
#> [1] 32