'task_data_name': os.getenv('DATA_FOLDER', 'DUKE'),
'scratch_dir': os.getenv('SCRATCH_DIR', '/tmp/scratch'),
'data_dir': os.getenv('DATA_DIR', '/mnt/swarm_alpha/odelia_dataset_divided'),
'max_epochs': int(os.getenv('MAX_EPOCHS', 100)),
'min_peers': int(os.getenv('MIN_PEERS', 2)),
'max_peers': int(os.getenv('MAX_PEERS', 7)),
'local_compare_flag': os.getenv('LOCAL_COMPARE_FLAG', 'False').lower() == 'true',
'use_adaptive_sync': os.getenv('USE_ADAPTIVE_SYNC', 'False').lower() == 'true',
'sync_frequency': int(os.getenv('SYNC_FREQUENCY', 1024)),
'model_name': os.getenv('MODEL_NAME', 'ResNet50'),
'prediction_flag': os.getenv('PREDICT_FLAG', 'ext')
Tobe controlled by user define(through dashboard or manual project.yml generation):
Tobe controlled by user define(through dashboard or manual project.yml generation):
Tobe controlled by admin define: