neural: Store the serialized model

This commit is contained in:
Elias Projahn 2021-11-26 11:40:54 +01:00
parent 88b1a9ab6a
commit c6a5c2b59c

View file

@ -212,7 +212,7 @@ neural <- function(preset, progress = NULL, seed = 49641, n_models = 5) {
# Store the details. # Store the details.
networks[[i]]$model <- model networks[[i]]$model <- keras::serialize_model(model)
networks[[i]]$fit <- fit networks[[i]]$fit <- fit
if (!is.null(progress)) { if (!is.null(progress)) {