KERAS_WRAPPER$get_input_height {autovi}R Documentation

Get keras model input image height

Description

This function get the input image height (the input shape is (batch_size, height, width, channels)) of a keras model.

Usage

KERAS_WRAPPER$get_input_height(keras_model = self$keras_model)

Arguments

keras_model

Keras model. A trained computer vision model.

Value

An integer.

Examples

keras_model <- try(get_keras_model("vss_phn_32"))
if (!inherits(keras_model, "try-error")) {
  keras_wrapper(keras_model)$get_input_height()
}


[Package autovi version 0.4.0 Index]