scglue.utils.ConfigManager
- class scglue.utils.ConfigManager[source]
Bases:
objectGlobal configurations
Methods
Attributes
ALLOW_TRAINING_INTERRUPTIONAllow interruption before model training converges.
ANNDATA_KEYKey in
adata.unsfor storing dataset configurations.ARRAY_SHUFFLE_NUM_WORKERSNumber of background workers for array data shuffling.
BEDTOOLS_PATHPath to bedtools executable.
CHECKPOINT_SAVE_INTERVALAutomatically save checkpoints every n epochs.
CHECKPOINT_SAVE_NUMBERSMaximal number of checkpoints to preserve at any point.
CPU_ONLYWhether computation should use only CPUs.
CUDNN_MODECuDNN computation mode, should be one of {"repeatability", "performance"}.
DATALOADER_FETCHES_PER_BATCHNumber of fetches per batch in data loader (read-only).
DATALOADER_FETCHES_PER_WORKERNumber of fetches per worker per batch to use in data loader.
DATALOADER_NUM_WORKERSNumber of worker processes to use in data loader.
DATALOADER_PIN_MEMORYWhether to use pin memory in data loader.
FORCE_TERMINATE_WORKER_PATIENCESeconds to wait before force terminating unresponsive workers.
GRAPH_SHUFFLE_NUM_WORKERSNumber of background workers for graph data shuffling.
MASKED_GPUSA list of GPUs that should not be used when selecting computation device.
PRINT_LOSS_INTERVALPrint loss values every n epochs.
TENSORBOARD_FLUSH_SECSFlush tensorboard logs to file every n seconds.
TMP_PREFIXPrefix of temporary files and directories created.
logger