Learn R Programming

sits (version 1.12.0)

sits_load_keras: Load a Keras model for processing in sits

Description

Takes a save Keras model trained by sits_deeplearning, which has been saved in two files and loads it in memory for further processing. One file is the keras model itself (saved as hdf5) and the other is the R enviroment required for sits to work with the model.

Usage

sits_load_keras(hdffile, rdsfile)

Arguments

hdffile

An hdf5 file where the keras model is to be saved.

rdsfile

A rds file where the R environment is to be saved.

Value

An R Keras model trained by sits_deeplearning.