gcae_train | R Documentation |
Train model, and save its state at certain epochs to disk, use the GCAE command-line interface.
gcae_train(
gcae_setup,
epochs = 1,
save_interval = 1,
gcae_options = create_gcae_options(),
verbose = FALSE
)
gcae_setup |
GCAE model setup, as created by create_gcae_setup, read from file by read_gcae_setup_file, checked by check_gcae_setup, and saved to file by save_gcae_setup. |
epochs |
number of epochs, as checked by check_epochs |
save_interval |
epoch intervals at which to save state of model, and at which to calculate the valid loss |
gcae_options |
options to run GCAE, as created by create_gcae_options |
verbose |
the verbosity of a function. Set to TRUE for more output. Use check_verbose to detect if this argument is valid. |
This will train the model from epoch zero. To resume training, use gcae_train_more
full paths to the created files
Richèl J.C. Bilderbeek
Use gcae_train_more to continue training. Use create_gcae_train_args to get the command-line arguments.
if (plinkr::is_on_ci() && has_cloned_gcae_repo()) {
gcae_options <- create_gcae_options()
gcae_setup <- create_test_gcae_setup()
train_filenames <- gcae_train(
gcae_setup = gcae_setup,
epochs = 1,
save_interval = 1
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.