View source: R/reset_sewsnet.R
sewsnet_reset | R Documentation |
Restores S-EWSNet model weights to the defaults published at https://github.com/SMITA1996/S-EWSNet/. This is vital on first use of S-EWSNet as no model files are provided with 'EWSmethods'.
sewsnet_reset(
model_path = default_sewsnet_path(),
remove_model = FALSE,
auto = FALSE
)
model_path |
A string naming the path to install model files. Can be changed, but by default, attempts to add files to the same location as the Python scripts bundled with EWSmethods. |
remove_model |
Boolean. Should all model files be removed ( |
auto |
Boolean. If |
No return value, called for side effects.
# to remove all downloaded weights
sewsnet_reset(remove_model = TRUE, auto = TRUE,
model_path = tempfile())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.