Skip to content

nets train

Trains a deep learning model from feature/response datasets and an input configuration file.


usage: nets train [-h] [-o OUTPUT_DIRECTORY] [--resume-from config.yml]
                  features_data response_data model_config model_id

positional arguments:
  features_data         Path to the feature data myco archive (.npy).
  response_data         Path to the response data myco archive (.npy).
  model_config          Path to the myco model configuration file (.yml).
                        Generate with `nets get-config`.
  model_id              Unique identifier to generate the output directory and
                        files.

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUT_DIRECTORY, --output_directory OUTPUT_DIRECTORY
                        Path to write output files. Will be written to
                        subdirectory {output_directory}/{model_id}/ (default:
                        ./)
  --resume-from config.yml
                        Load a previously-saved model and resume training
                        (default: None)