scglue.utils.ConfigManager

class scglue.utils.ConfigManager[源代码]

基类:object

Global configurations

方法

属性

ALLOW_TRAINING_INTERRUPTION

Allow interruption before model training converges.

ANNDATA_KEY

Key in adata.uns for storing dataset configurations.

ARRAY_SHUFFLE_NUM_WORKERS

Number of background workers for array data shuffling.

BEDTOOLS_PATH

Path to bedtools executable.

CHECKPOINT_SAVE_INTERVAL

Automatically save checkpoints every n epochs.

CHECKPOINT_SAVE_NUMBERS

Maximal number of checkpoints to preserve at any point.

CPU_ONLY

Whether computation should use only CPUs.

CUDNN_MODE

CuDNN computation mode, should be one of {"repeatability", "performance"}.

DATALOADER_FETCHES_PER_BATCH

Number of fetches per batch in data loader (read-only).

DATALOADER_FETCHES_PER_WORKER

Number of fetches per worker per batch to use in data loader.

DATALOADER_NUM_WORKERS

Number of worker processes to use in data loader.

DATALOADER_PIN_MEMORY

Whether to use pin memory in data loader.

FORCE_TERMINATE_WORKER_PATIENCE

Seconds to wait before force terminating unresponsive workers.

GRAPH_SHUFFLE_NUM_WORKERS

Number of background workers for graph data shuffling.

MASKED_GPUS

A list of GPUs that should not be used when selecting computation device.

PRINT_LOSS_INTERVAL

Print loss values every n epochs.

TENSORBOARD_FLUSH_SECS

Flush tensorboard logs to file every n seconds.

TMP_PREFIX

Prefix of temporary files and directories created.

logger