All environment variables should be put in a .env file in the project root which will be loaded automatically. Alternatively they can be set manually using export VAR=VALUE at the start of each session.
ASPARAGUS_CONFIGS=/PATH/TO/CONFIG/DIR
ASPARAGUS_DATA=/PATH/TO/ASPARAGUS/DATA
ASPARAGUS_MODELS=/PATH/TO/ASPARAGUS/MODELS
ASPARAGUS_RESULTS=/PATH/TO/ASPARAGUS/RESULTS
ASPARAGUS_RAW_LABELS=/PATH/TO/ASPARAGUS/RAW_LABELSASPARAGUS_CONFIGSpoints to the directory containing the default configs found in asparagus/configs. This variable is used in the training and inference scripts.ASPARAGUS_DATApoints to the directory containing the task converted data and is used to locate data and metadata for the Task. Task Conversion scripts must save processed data here.ASPARAGUS_MODELSpoints to the directory containing model checkpoints, test outputs (results only), logs and metadata.ASPARAGUS_RESULTSpoints to the directory containing predict outputs (output files and results).ASPARAGUS_RAW_LABELSpoints to the directory containing raw labels. Preprocessing scripts must save FORMATTED but NOT PROCESSED labels here. This is used to get results on native labels. I.e. formatting such as changing all LabelX instances to become LabelY SHOULD be done on the RAW labels but preprocessing such as resampling to a specific resolution/spacing SHOULD NOT be done on the RAW labels. For additional explanation see: Asparagus Preprocessing.
(supports multiple colon-separated (":") paths):
ASPARAGUS_PRETRAIN_CONFIGS=/PATH1/TO/ADDITIONAL/PRETRAIN/CONFIG/DIR:PATH2/TO/ADDITIONAL/PRETRAIN/CONFIG/DIR:PATH3...
ASPARAGUS_TRAIN_CONFIGS=/PATH1/TO/ADDITIONAL/TRAIN/CONFIG/DIR:PATH2/TO/ADDITIONAL/TRAIN/CONFIG/DIR:PATH3...
ASPARAGUS_FINETUNE_CONFIGS=/PATH1/TO/ADDITIONAL/FINETUNE/CONFIG/DIR:PATH2/TO/ADDITIONAL/FINETUNECONFIG/DIR:PATH3...ASPARAGUS_PRETRAIN_CONFIGSpoints to all directories containing pretraining configs. Whenasp_pretrain --config-name MyFancyPretrainConfigis called all the givenASPARAGUS_PRETRAIN_CONFIGSdirectories are scanned for MyFancyPretrainConfig.yaml.ASPARAGUS_TRAIN_CONFIGSpoints to all directories containing training from scratch configs. Whenasp_train_[cls,reg,seg] --config-name MyLovelyTrainConfigis called all the givenASPARAGUS_PRETRAIN_CONFIGSdirectories are scanned for MyLovelyTrainingConfig.yaml.ASPARAGUS_FINETUNE_CONFIGSpoints to all directories containing finetuning configs. Whenasp_finetune_[cls,reg,seg] --config-name MyAwesomeFinetuneConfigis called all the givenASPARAGUS_PRETRAIN_CONFIGSdirectories are scanned for MyAwesomeFinetuneConfig.yaml.