View source: R/serialization.R
luz_load_model_weights | R Documentation |
This can be useful when you have saved model checkpoints during training and want to reload the best checkpoint in the end.
luz_load_model_weights(obj, path, ...)
luz_save_model_weights(obj, path)
obj |
luz object to which you want to copy the new weights. |
path |
path to saved model in disk. |
... |
other arguments passed to |
Returns NULL
invisibly.
luz_save_model_weights
operates inplace, ie modifies the model object to contain the
new weights.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.