get_keras_model {autovi} | R Documentation |
Download and load the keras model
Description
This functions download the keras model from the TengMCing/autovi_data
Github repo using download.file()
and load the model using
reticulate::import("tensorflow")$keras$models$load_model
. Note that
tensorflow
version greater than 2.15 is not supported.
Usage
get_keras_model(model_name)
Arguments
model_name |
String. The model name. See also |
Value
A keras model.
Examples
keras_model <- try(get_keras_model("vss_phn_32"))
if (!inherits(keras_model, "try-error")) keras_model$summary()
[Package autovi version 0.4.0 Index]