GammaLearn CLI programs

gammalearn

Run a GammaLearn experiment from a configuration file. An experiment can be a training, a testing or both. See examples configuration files in the examples folder.

usage: gammalearn [-h] [--fast_debug] [--logfile] [--version]
                  configuration_file
configuration_file

path to configuration file

-h, --help

show this help message and exit

--fast_debug

log useful information for debug purpose

--logfile

whether to write the log on disk

--version

show program’s version number and exit

gl_dl1_to_dl2

Convert DL1 files to DL2 files using a trained model.

usage: gl_dl1_to_dl2 [-h] [--batch-size BATCH_SIZE] [--max-queue MAX_QUEUE]
                     [--preprocess-workers PREPROCESS_WORKERS]
                     [--dataloader-workers DATALOADER_WORKERS] [--version]
                     [--overwrite]
                     settings checkpoint dl1 dl2
settings

Path to the experiment settings file

checkpoint

Path to the checkpoint file to load

dl1

Directory path to the dl1 files

dl2

Directory path to write the dl2 files

-h, --help

show this help message and exit

--batch-size <batch_size>
--max-queue <max_queue>
--preprocess-workers <preprocess_workers>
--dataloader-workers <dataloader_workers>
--version

show program’s version number and exit

--overwrite

Overwrite existing output files