The function extract the objects that we are going to save together with the vaeac
model to make it possible to
train the model further and to evaluate it.
The environment should be the local environment inside the vaeac_train_model_auxiliary()
function.
vaeac_get_current_save_state(environment)
List containing the values of epoch
, train_vlb
, val_iwae
, val_iwae_running
,
and the state_dict()
of the vaeac model and optimizer.
The base::environment()
where the objects are stored.
Lars Henry Berge Olsen