This function will be called after an instance is built. User input will be stored in the environment.
Arguments
- keras_mod
Keras model. A trained computer vision model.
- node_index
Integer. An index indicating which node of the output layer contains the visual signal strength. This is particularly useful when the keras model has more than one output nodes.
Examples
keras_wrapper()
#>
#> ── <KERAS_WRAPPER object>
#> Status:
#> - Keras model: UNKNOWN
#> - Output node index: 1