diff --git a/models/spleen_ct_segmentation/configs/metadata.json b/models/spleen_ct_segmentation/configs/metadata.json index 3ae11435..c41e4e85 100644 --- a/models/spleen_ct_segmentation/configs/metadata.json +++ b/models/spleen_ct_segmentation/configs/metadata.json @@ -1,7 +1,8 @@ { "schema": "https://github.com/Project-MONAI/MONAI-extra-test-data/releases/download/0.8.1/meta_schema_20220324.json", - "version": "0.3.9", + "version": "0.4.0", "changelog": { + "0.4.0": "fix multi-gpu train config typo", "0.3.9": "adapt to BundleWorkflow interface", "0.3.8": "add name tag", "0.3.7": "restructure readme to match updated template", diff --git a/models/spleen_ct_segmentation/configs/multi_gpu_train.json b/models/spleen_ct_segmentation/configs/multi_gpu_train.json index c61a56ae..fe16cbb0 100644 --- a/models/spleen_ct_segmentation/configs/multi_gpu_train.json +++ b/models/spleen_ct_segmentation/configs/multi_gpu_train.json @@ -26,7 +26,7 @@ "validate#evaluator#val_handlers": "$None if dist.get_rank() > 0 else @validate#handlers", "initialize": [ "$import torch.distributed as dist", - "dist.is_initialized() or dist.init_process_group(backend='nccl')", + "$dist.is_initialized() or dist.init_process_group(backend='nccl')", "$torch.cuda.set_device(@device)", "$monai.utils.set_determinism(seed=123)", "$setattr(torch.backends.cudnn, 'benchmark', True)",