Automatic lateral ventricle and choroid plexus segmentation method in infant brain MR images.
3 blocks of code here have a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.
The 3 matches
- [1] § Method › LV and CP segmentation method › Network architecture ↔ nnunetv2/training/loss/compound_losses.py, lines 8 to 56 · score 0.63 · Cross Entropy loss, Dice loss, softmax, weighted, Class · block
oscr:b:P924R2QYNR2VP-R· Report a mismatch - [2] § Method › Model training ↔ nnunetv2/training/nnUNetTrainer/pretraining/pretrainedTrainer.py, lines 526 to 624 · score 0.62 · AdamW, weight decay, clipping, PyTorch, optimizer, trained · block
oscr:b:7SP4Z5DNNK8KE-G· Report a mismatch - [3] § Method › Model training ↔ nnunetv2/training/nnUNetTrainer/primus/primus_trainers.py, lines 25 to 124 · score 0.59 · AdamW, weight decay, clipping, PyTorch, optimizer, trained · block
oscr:b:V98ACZKRVJ5HX-Y· Report a mismatch
Paper
Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
Python · 156 lines · 6.1 KB · Apache-2.0 · 1 match
- import torch
- from nnunetv2.training.loss.dice import SoftDiceLoss, MemoryEfficientSoftDiceLoss
- from nnunetv2.training.loss.robust_ce_loss import RobustCrossEntropyLoss, TopKLoss
- from nnunetv2.utilities.helpers import softmax_helper_dim1
- from torch import nn
- class DC_and_CE_loss(nn.Module):
- def __init__(self, soft_dice_kwargs, ce_kwargs, weight_ce=1, weight_dice=1, ignore_label=None,
- dice_class=SoftDiceLoss):
- """
- Weights for CE and Dice do not need to sum to one. You can set whatever you want.
- :param soft_dice_kwargs:
- :param ce_kwargs:
- :param aggregate:
- :param square_dice:
- :param weight_ce:
- :param weight_dice:
- """
- super(DC_and_CE_loss, self).__init__()
- if ignore_label is not None:
- ce_kwargs['ignore_index'] = ignore_label
- self.weight_dice = weight_dice
- self.weight_ce = weight_ce
- self.ignore_label = ignore_label
- self.ce = RobustCrossEntropyLoss(**ce_kwargs)
- self.dc = dice_class(apply_nonlin=softmax_helper_dim1, **soft_dice_kwargs)
- def forward(self, net_output: torch.Tensor, target: torch.Tensor):
- """
- target must be b, c, x, y(, z) with c=1
- :param net_output:
- :param target:
- :return:
- """
- if self.ignore_label is not None:
- assert target.shape[1] == 1, 'ignore label is not implemented for one hot encoded target variables ' \
- '(DC_and_CE_loss)'
- mask = target != self.ignore_label
- # remove ignore label from target, replace with one of the known labels. It doesn't matter because we
- # ignore gradients in those areas anyway
- target_dice = torch.where(mask, target, 0)
- num_fg = mask.sum()
- else:
- target_dice = target
- mask = None
- dc_loss = self.dc(net_output, target_dice, loss_mask=mask) \
- if self.weight_dice != 0 else 0
- ce_loss = self.ce(net_output, target[:, 0]) \
- if self.weight_ce != 0 and (self.ignore_label is None or num_fg > 0) else 0
- result = self.weight_ce * ce_loss + self.weight_dice * dc_loss
- return result
- class DC_and_BCE_loss(nn.Module):
- def __init__(self, bce_kwargs, soft_dice_kwargs, weight_ce=1, weight_dice=1, use_ignore_label: bool = False,
- dice_class=MemoryEfficientSoftDiceLoss):
- """
- DO NOT APPLY NONLINEARITY IN YOUR NETWORK!
- target mut be one hot encoded
- IMPORTANT: We assume use_ignore_label is located in target[:, -1]!!!
- :param soft_dice_kwargs:
- :param bce_kwargs:
- :param aggregate:
- """
- super(DC_and_BCE_loss, self).__init__()
- if use_ignore_label:
- bce_kwargs['reduction'] = 'none'
- self.weight_dice = weight_dice
- self.weight_ce = weight_ce
- self.use_ignore_label = use_ignore_label
- self.ce = nn.BCEWithLogitsLoss(**bce_kwargs)
- self.dc = dice_class(apply_nonlin=torch.sigmoid, **soft_dice_kwargs)
- def forward(self, net_output: torch.Tensor, target: torch.Tensor):
- if self.use_ignore_label:
- # target is one hot encoded here. invert it so that it is True wherever we can compute the loss
- if target.dtype == torch.bool:
- mask = ~target[:, -1:]
- else:
- mask = (1 - target[:, -1:]).bool()
- # remove ignore channel now that we have the mask
- # why did we use clone in the past? Should have documented that...
- # target_regions = torch.clone(target[:, :-1])
- target_regions = target[:, :-1]
- else:
- target_regions = target
- mask = None
- dc_loss = self.dc(net_output, target_regions, loss_mask=mask)
- target_regions = target_regions.float()
- if mask is not None:
- ce_loss = (self.ce(net_output, target_regions) * mask).sum() / torch.clip(mask.sum(), min=1e-8)
- else:
- ce_loss = self.ce(net_output, target_regions)
- result = self.weight_ce * ce_loss + self.weight_dice * dc_loss
- return result
- class DC_and_topk_loss(nn.Module):
- def __init__(self, soft_dice_kwargs, ce_kwargs, weight_ce=1, weight_dice=1, ignore_label=None):
- """
- Weights for CE and Dice do not need to sum to one. You can set whatever you want.
- :param soft_dice_kwargs:
- :param ce_kwargs:
- :param aggregate:
- :param square_dice:
- :param weight_ce:
- :param weight_dice:
- """
- super().__init__()
- if ignore_label is not None:
- ce_kwargs['ignore_index'] = ignore_label
- self.weight_dice = weight_dice
- self.weight_ce = weight_ce
- self.ignore_label = ignore_label
- self.ce = TopKLoss(**ce_kwargs)
- self.dc = SoftDiceLoss(apply_nonlin=softmax_helper_dim1, **soft_dice_kwargs)
- def forward(self, net_output: torch.Tensor, target: torch.Tensor):
- """
- target must be b, c, x, y(, z) with c=1
- :param net_output:
- :param target:
- :return:
- """
- if self.ignore_label is not None:
- assert target.shape[1] == 1, 'ignore label is not implemented for one hot encoded target variables ' \
- '(DC_and_CE_loss)'
- mask = (target != self.ignore_label).bool()
- # remove ignore label from target, replace with one of the known labels. It doesn't matter because we
- # ignore gradients in those areas anyway
- target_dice = torch.clone(target)
- target_dice[target == self.ignore_label] = 0
- num_fg = mask.sum()
- else:
- target_dice = target
- mask = None
- dc_loss = self.dc(net_output, target_dice, loss_mask=mask) \
- if self.weight_dice != 0 else 0
- ce_loss = self.ce(net_output, target) \
- if self.weight_ce != 0 and (self.ignore_label is None or num_fg > 0) else 0
- result = self.weight_ce * ce_loss + self.weight_dice * dc_loss
- return result
compound_losses.py at commit 1489d74, under Apache-2.0 · at the source
Overview
- Department of Biomedical Engineering, Hankuk University of Foreign Studies,Yongin-si, Gyeonggi-do 17035 Korea
- Department of Radiology and Research Institute of Radiology, Asan Medical Center, University of Ulsan College of Medicine,Seoul, 05505 Republic of Korea
- Department of Radiology, Eunpyeong St. Mary’s Hospital, College of Medicine, The Catholic University of Korea,Eunpyeong-gu, Seoul, Korea
- Department of Radiology and Research Institute of Radiological Science and Center for Clinical Imaging Data Science, Yonsei University College of Medicine,Seoul, Republic of Korea
- Institute for Innovation in Digital Healthcare, Yonsei University,Seoul, Republic of Korea
Abstract
The abstract is not reproduced here: the paper's license (CC BY-NC-ND) does not allow it. Read it in the paper, at the publisher or on Europe PMC.
Repositories
Its files are read in the Code ↔ Paper reader above, with 3 matches between paragraphs and lines of code.
jhkang0526/Infant_LVCPseg
15554d2d6df5fb6ae9071b9fbbe590ed942e4e1d, 3 April 2026Availability: 1 check, the latest on 28 September 2026: the link answers
- 28 September 2026: the link answers
1 file
- README.md, Text, 48 lines
MIC-DKFZ/nnUNet
1489d746e084459581ff20382c1241d8cc2eb258, 22 October 2026Availability: 2 checks, the latest on 27 October 2026: the link answers
- 27 October 2026: the link answers
- 26 September 2026: the link answers
237 files
- .github/
scripts/ , Shell, 46 linessafe-label.sh - .github/
scripts/ , Shell, 29 linessafe-pr-review.sh - documentation/
__init__.py , Python, 1 line - documentation/
competitions/ , Python, 1 lineFLARE24/ Task_1/ __init__.py - documentation/
competitions/ , Python, 209 linesFLARE24/ Task_1/ inference_flare_task1.py - documentation/
competitions/ , Python, 1 lineFLARE24/ Task_2/ __init__.py - documentation/
competitions/ , Python, 467 linesFLARE24/ Task_2/ inference_flare_task2.py - documentation/
competitions/ , Python, 1 lineFLARE24/ __init__.py - documentation/
competitions/ , Python, 1 lineToothfairy2/ __init__.py - documentation/
competitions/ , Python, 359 linesToothfairy2/ inference_script_semseg_ only_customInf2.py - documentation/
competitions/ , Python, 1 line__init__.py - nnunetv2/
__init__.py , Python, 1 line - nnunetv2/
batch_running/ , Python, 1 line__init__.py - nnunetv2/
batch_running/ , Python, 1 linebenchmarking/ __init__.py - nnunetv2/
batch_running/ , Python, 41 linesbenchmarking/ generate_benchmarking_co mmands.py - nnunetv2/
batch_running/ , Python, 69 linesbenchmarking/ summarize_benchmark_resu lts.py - nnunetv2/
batch_running/ , Python, 121 linescollect_results_custom_D ecathlon.py - nnunetv2/
batch_running/ , Python, 17 linescollect_results_custom_D ecathlon_2d.py - nnunetv2/
batch_running/ , Python, 111 linesgenerate_lsf_runs_custom Decathlon.py - nnunetv2/
batch_running/ , Shell, 52 linesjobs.sh - nnunetv2/
batch_running/ , Python, 1 linerelease_trainings/ __init__.py - nnunetv2/
batch_running/ , Python, 1 linerelease_trainings/ nnunetv2_v1/ __init__.py - nnunetv2/
batch_running/ , Python, 112 linesrelease_trainings/ nnunetv2_v1/ collect_results.py - nnunetv2/
batch_running/ , Python, 91 linesrelease_trainings/ nnunetv2_v1/ generate_lsf_commands.py - nnunetv2/
configuration.py , Python, 10 lines - nnunetv2/
dataset_conversion/ , Python, 221 linesDataset015_018_RibFrac_R ibSeg.py - nnunetv2/
dataset_conversion/ , Python, 70 linesDataset021_CTAAorta.py - nnunetv2/
dataset_conversion/ , Python, 55 linesDataset023_AbdomenAtlas1 _1Mini.py - nnunetv2/
dataset_conversion/ , Python, 114 linesDataset027_ACDC.py - nnunetv2/
dataset_conversion/ , Python, 110 linesDataset042_BraTS18.py - nnunetv2/
dataset_conversion/ , Python, 110 linesDataset043_BraTS19.py - nnunetv2/
dataset_conversion/ , Python, 212 linesDataset047_Chaos_Challen ge.py - nnunetv2/
dataset_conversion/ , Python, 84 linesDataset073_Fluo_C3DH_A54 9_SIM.py - nnunetv2/
dataset_conversion/ , Python, 198 linesDataset114_MNMs.py - nnunetv2/
dataset_conversion/ , Python, 61 linesDataset115_EMIDEC.py - nnunetv2/
dataset_conversion/ , Python, 196 linesDataset119_ToothFairy2_A ll.py - nnunetv2/
dataset_conversion/ , Python, 86 linesDataset120_RoadSegmentat ion.py - nnunetv2/
dataset_conversion/ , Python, 97 linesDataset137_BraTS21.py - nnunetv2/
dataset_conversion/ , Python, 68 linesDataset218_Amos2022_task 1.py - nnunetv2/
dataset_conversion/ , Python, 64 linesDataset219_Amos2022_task 2.py - nnunetv2/
dataset_conversion/ , Python, 49 linesDataset220_KiTS2023.py - nnunetv2/
dataset_conversion/ , Python, 70 linesDataset221_AutoPETII_202 3.py - nnunetv2/
dataset_conversion/ , Python, 59 linesDataset223_AMOS2022postC hallenge.py - nnunetv2/
dataset_conversion/ , Python, 60 linesDataset224_AbdomenAtlas1 .0.py - nnunetv2/
dataset_conversion/ , Python, 55 linesDataset226_BraTS2024-Bra TS-GLI.py - nnunetv2/
dataset_conversion/ , Python, 54 linesDataset227_TotalSegmenta torMRI.py - nnunetv2/
dataset_conversion/ , Python, 765 linesDataset237_LIDC.py - nnunetv2/
dataset_conversion/ , Python, 176 linesDataset239_QUADRA_HC.py - nnunetv2/
dataset_conversion/ , Python, 431 linesDataset340_InsectBrain.p y - nnunetv2/
dataset_conversion/ , Python, 32 linesDataset987_dummyDataset4 .py - nnunetv2/
dataset_conversion/ , Python, 32 linesDataset989_dummyDataset4 _2.py - nnunetv2/
dataset_conversion/ , Python, 1 line__init__.py - nnunetv2/
dataset_conversion/ , Python, 131 linesconvert_MSD_dataset.py - nnunetv2/
dataset_conversion/ , Python, 53 linesconvert_raw_dataset_from _old_nnunet_format.py - nnunetv2/
dataset_conversion/ , Python, 73 linesdatasets_for_integration _tests/ Dataset996_IntegrationTe st_Hippocampus_regions_i gnore.py - nnunetv2/
dataset_conversion/ , Python, 37 linesdatasets_for_integration _tests/ Dataset997_IntegrationTe st_Hippocampus_regions.p y - nnunetv2/
dataset_conversion/ , Python, 33 linesdatasets_for_integration _tests/ Dataset998_IntegrationTe st_Hippocampus_ignore.py - nnunetv2/
dataset_conversion/ , Python, 27 linesdatasets_for_integration _tests/ Dataset999_IntegrationTe st_Hippocampus.py - nnunetv2/
dataset_conversion/ , Python, 1 linedatasets_for_integration _tests/ __init__.py - nnunetv2/
dataset_conversion/ , Python, 111 linesgenerate_dataset_json.py - nnunetv2/
ensembling/ , Python, 1 line__init__.py - nnunetv2/
ensembling/ , Python, 207 linesensemble.py - nnunetv2/
evaluation/ , Python, 1 line__init__.py - nnunetv2/
evaluation/ , Python, 58 linesaccumulate_cv_results.py - nnunetv2/
evaluation/ , Python, 349 linesevaluate_predictions.py - nnunetv2/
evaluation/ , Python, 339 linesfind_best_configuration. py - nnunetv2/
experiment_planning/ , Python, 1 line__init__.py - nnunetv2/
experiment_planning/ , Python, 1 linedataset_fingerprint/ __init__.py - nnunetv2/
experiment_planning/ , Python, 222 linesdataset_fingerprint/ fingerprint_extractor.py - nnunetv2/
experiment_planning/ , Python, 1 lineexperiment_planners/ __init__.py - nnunetv2/
experiment_planning/ , Python, 603 linesexperiment_planners/ default_experiment_plann er.py - nnunetv2/
experiment_planning/ , Python, 108 linesexperiment_planners/ network_topology.py - nnunetv2/
experiment_planning/ , Python, 1 lineexperiment_planners/ resampling/ __init__.py - nnunetv2/
experiment_planning/ , Python, 54 linesexperiment_planners/ resampling/ planners_no_resampling.p y - nnunetv2/
experiment_planning/ , Python, 199 linesexperiment_planners/ resampling/ resample_with_torch.py - nnunetv2/
experiment_planning/ , Python, 26 linesexperiment_planners/ resencUNet_planner.py - nnunetv2/
experiment_planning/ , Python, 1 lineexperiment_planners/ residual_unets/ __init__.py - nnunetv2/
experiment_planning/ , Python, 291 linesexperiment_planners/ residual_unets/ residual_encoder_unet_pl anners.py - nnunetv2/
experiment_planning/ , Python, 512 lineslike_nnssl.py - nnunetv2/
experiment_planning/ , Python, 171 linesplan_and_preprocess_api. py - nnunetv2/
experiment_planning/ , Python, 235 linesplan_and_preprocess_entr ypoints.py - nnunetv2/
experiment_planning/ , Python, 1 lineplans_for_pretraining/ __init__.py - nnunetv2/
experiment_planning/ , Python, 82 linesplans_for_pretraining/ move_plans_between_datas ets.py - nnunetv2/
experiment_planning/ , Python, 239 linesverify_dataset_integrity .py - nnunetv2/
imageio/ , Python, 1 line__init__.py - nnunetv2/
imageio/ , Python, 107 linesbase_reader_writer.py - nnunetv2/
imageio/ , Python, 81 linesnatural_image_reader_wri ter.py - nnunetv2/
imageio/ , Python, 222 linesnibabel_reader_writer.py - nnunetv2/
imageio/ , Python, 88 linesreader_writer_registry.p y - nnunetv2/
imageio/ , Python, 234 linessimpleitk_reader_writer. py - nnunetv2/
imageio/ , Python, 100 linestif_reader_writer.py - nnunetv2/
inference/ , Python, 197 linesJHU_inference.py - nnunetv2/
inference/ , Python, 1 line__init__.py - nnunetv2/
inference/ , Python, 315 linesdata_iterators.py - nnunetv2/
inference/ , Python, 100 linesexamples.py - nnunetv2/
inference/ , Python, 160 linesexport_prediction.py - nnunetv2/
inference/ , Python, 1,111 linespredict_from_raw_data.py - nnunetv2/
inference/ , Python, 65 linessliding_window_predictio n.py - nnunetv2/
model_sharing/ , Python, 1 line__init__.py - nnunetv2/
model_sharing/ , Python, 64 linesentry_points.py - nnunetv2/
model_sharing/ , Python, 39 linesmodel_download.py - nnunetv2/
model_sharing/ , Python, 126 linesmodel_export.py - nnunetv2/
model_sharing/ , Python, 8 linesmodel_import.py - nnunetv2/
paths.py , Python, 79 lines - nnunetv2/
postprocessing/ , Python, 1 line__init__.py - nnunetv2/
postprocessing/ , Python, 361 linesremove_connected_compone nts.py - nnunetv2/
preprocessing/ , Python, 1 line__init__.py - nnunetv2/
preprocessing/ , Python, 1 linecropping/ __init__.py - nnunetv2/
preprocessing/ , Python, 39 linescropping/ cropping.py - nnunetv2/
preprocessing/ , Python, 1 linenormalization/ __init__.py - nnunetv2/
preprocessing/ , Python, 104 linesnormalization/ default_normalization_sc hemes.py - nnunetv2/
preprocessing/ , Python, 24 linesnormalization/ map_channel_name_to_norm alization.py - nnunetv2/
preprocessing/ , Python, 1 linepreprocessors/ __init__.py - nnunetv2/
preprocessing/ , Python, 492 linespreprocessors/ default_preprocessor.py - nnunetv2/
preprocessing/ , Python, 1 lineresampling/ __init__.py - nnunetv2/
preprocessing/ , Python, 243 linesresampling/ default_resampling.py - nnunetv2/
preprocessing/ , Python, 13 linesresampling/ no_resampling.py - nnunetv2/
preprocessing/ , Python, 419 linesresampling/ resample_torch.py - nnunetv2/
preprocessing/ , Python, 15 linesresampling/ utils.py - nnunetv2/
preprocessing/ , Python, 1 linesampling_locations/ __init__.py - nnunetv2/
preprocessing/ , Python, 171 linessampling_locations/ extract_sampling_locatio ns.py - nnunetv2/
run/ , Python, 1 line__init__.py - nnunetv2/
run/ , Python, 75 linesload_pretrained_weights. py - nnunetv2/
run/ , Python, 362 linesrun_training.py - nnunetv2/
run/ , Python, 252 linesrun_training_from_pretra ined.py - nnunetv2/
tests/ , Python, 1 line__init__.py - nnunetv2/
tests/ , Python, 1 lineintegration_tests/ __init__.py - nnunetv2/
tests/ , Python, 42 linesintegration_tests/ add_lowres_and_cascade.p y - nnunetv2/
tests/ , Python, 18 linesintegration_tests/ cleanup_integration_test .py - nnunetv2/
tests/ , Shell, 10 linesintegration_tests/ lsf_commands.sh - nnunetv2/
tests/ , Shell, 18 linesintegration_tests/ prepare_integration_test s.sh - nnunetv2/
tests/ , Shell, 27 linesintegration_tests/ run_integration_test.sh - nnunetv2/
tests/ , Python, 75 linesintegration_tests/ run_integration_test_bes tconfig_inference.py - nnunetv2/
tests/ , Shell, 1 lineintegration_tests/ run_integration_test_tra iningOnly_DDP.sh - nnunetv2/
tests/ , Python, 46 linesintegration_tests/ run_nnunet_inference.py - nnunetv2/
tests/ , Python, 688 linestest_checkpoints.py - nnunetv2/
tests/ , Python, 31 linestest_compile_helpers.py - nnunetv2/
tests/ , Python, 53 linestest_copy_file_if_newer. py - nnunetv2/
tests/ , Python, 54 linestest_dataset_fingerprint .py - nnunetv2/
tests/ , Python, 75 linestest_do_split.py - nnunetv2/
tests/ , Python, 304 linestest_evaluate_prediction s.py - nnunetv2/
tests/ , Python, 140 linestest_find_objects.py - nnunetv2/
tests/ , Python, 521 linestest_foreground_location s.py - nnunetv2/
tests/ , Python, 148 linestest_natural_image_tiff_ compression.py - nnunetv2/
tests/ , Python, 45 linestest_paths.py - nnunetv2/
tests/ , Python, 844 linestest_resampling.py - nnunetv2/
tests/ , Python, 63 linestest_simpleitk_reorient_ write_seg.py - nnunetv2/
training/ , Python, 1 line__init__.py - nnunetv2/
training/ , Python, 1 linedata_augmentation/ __init__.py - nnunetv2/
training/ , Python, 24 linesdata_augmentation/ compute_initial_patch_si ze.py - nnunetv2/
training/ , Python, 1 linedata_augmentation/ custom_transforms/ __init__.py - nnunetv2/
training/ , Python, 136 linesdata_augmentation/ custom_transforms/ cascade_transforms.py - nnunetv2/
training/ , Python, 55 linesdata_augmentation/ custom_transforms/ deep_supervision_donwsam pling.py - nnunetv2/
training/ , Python, 22 linesdata_augmentation/ custom_transforms/ masking.py - nnunetv2/
training/ , Python, 31 linesdata_augmentation/ custom_transforms/ region_based_training.py - nnunetv2/
training/ , Python, 45 linesdata_augmentation/ custom_transforms/ transforms_for_dummy_2d. py - nnunetv2/
training/ , Python, 1 linedataloading/ __init__.py - nnunetv2/
training/ , Python, 217 linesdataloading/ data_loader.py - nnunetv2/
training/ , Python, 586 linesdataloading/ foreground_locations.py - nnunetv2/
training/ , Python, 530 linesdataloading/ nnunet_dataset.py - nnunetv2/
training/ , Python, 71 linesdataloading/ utils.py - nnunetv2/
training/ , Python, 1 linelogging/ __init__.py - nnunetv2/
training/ , Python, 304 lineslogging/ nnunet_logger.py - nnunetv2/
training/ , Python, 1 lineloss/ __init__.py - nnunetv2/
training/ , Python, 156 lines, 1 matchloss/ compound_losses.py - nnunetv2/
training/ , Python, 29 linesloss/ deep_supervision.py - nnunetv2/
training/ , Python, 200 linesloss/ dice.py - nnunetv2/
training/ , Python, 32 linesloss/ robust_ce_loss.py - nnunetv2/
training/ , Python, 1 linelr_scheduler/ __init__.py - nnunetv2/
training/ , Python, 26 lineslr_scheduler/ polylr.py - nnunetv2/
training/ , Python, 143 lineslr_scheduler/ warmup.py - nnunetv2/
training/ , Python, 1 linennUNetTrainer/ __init__.py - nnunetv2/
training/ , Python, 1,566 linesnnUNetTrainer/ nnUNetTrainer.py - nnunetv2/
training/ , Python, 1 linennUNetTrainer/ pretraining/ __init__.py - nnunetv2/
training/ , Python, 456 linesnnUNetTrainer/ pretraining/ dynamicPretrainedTrainer .py - nnunetv2/
training/ , Python, 766 lines, 1 matchnnUNetTrainer/ pretraining/ pretrainedTrainer.py - nnunetv2/
training/ , Python, 288 linesnnUNetTrainer/ pretraining/ thrp_primusx_finetuning. py - nnunetv2/
training/ , Python, 1 linennUNetTrainer/ primus/ __init__.py - nnunetv2/
training/ , Python, 511 lines, 1 matchnnUNetTrainer/ primus/ primus_trainers.py - nnunetv2/
training/ , Python, 1 linennUNetTrainer/ variants/ __init__.py - nnunetv2/
training/ , Python, 1 linennUNetTrainer/ variants/ benchmarking/ __init__.py - nnunetv2/
training/ , Python, 67 linesnnUNetTrainer/ variants/ benchmarking/ nnUNetTrainerBenchmark_5 epochs.py - nnunetv2/
training/ , Python, 68 linesnnUNetTrainer/ variants/ benchmarking/ nnUNetTrainerBenchmark_5 epochs_noDataLoading.py - nnunetv2/
training/ , Python, 1 linennUNetTrainer/ variants/ competitions/ __init__.py - nnunetv2/
training/ , Python, 5 linesnnUNetTrainer/ variants/ competitions/ aortaseg24.py - nnunetv2/
training/ , Python, 1 linennUNetTrainer/ variants/ data_augmentation/ __init__.py - nnunetv2/
training/ , Python, 390 linesnnUNetTrainer/ variants/ data_augmentation/ nnUNetTrainerDA5.py - nnunetv2/
training/ , Python, 191 linesnnUNetTrainer/ variants/ data_augmentation/ nnUNetTrainerDAOrd0.py - nnunetv2/
training/ , Python, 34 linesnnUNetTrainer/ variants/ data_augmentation/ nnUNetTrainerNoDA.py - nnunetv2/
training/ , Python, 215 linesnnUNetTrainer/ variants/ data_augmentation/ nnUNetTrainerNoMirroring .py - nnunetv2/
training/ , Python, 35 linesnnUNetTrainer/ variants/ data_augmentation/ nnUNetTrainer_noDummy2DD A.py - nnunetv2/
training/ , Python, 1 linennUNetTrainer/ variants/ loss/ __init__.py - nnunetv2/
training/ , Python, 40 linesnnUNetTrainer/ variants/ loss/ nnUNetTrainerCELoss.py - nnunetv2/
training/ , Python, 59 linesnnUNetTrainer/ variants/ loss/ nnUNetTrainerDiceLoss.py - nnunetv2/
training/ , Python, 76 linesnnUNetTrainer/ variants/ loss/ nnUNetTrainerTopkLoss.py - nnunetv2/
training/ , Python, 1 linennUNetTrainer/ variants/ lr_schedule/ __init__.py - nnunetv2/
training/ , Python, 12 linesnnUNetTrainer/ variants/ lr_schedule/ nnUNetTrainerCosAnneal.p y - nnunetv2/
training/ , Python, 133 linesnnUNetTrainer/ variants/ lr_schedule/ nnUNetTrainer_warmup.py - nnunetv2/
training/ , Python, 1 linennUNetTrainer/ variants/ network_architecture/ __init__.py - nnunetv2/
training/ , Python, 29 linesnnUNetTrainer/ variants/ network_architecture/ nnUNetTrainerBN.py - nnunetv2/
training/ , Python, 15 linesnnUNetTrainer/ variants/ network_architecture/ nnUNetTrainerNoDeepSuper vision.py - nnunetv2/
training/ , Python, 1 linennUNetTrainer/ variants/ optimizer/ __init__.py - nnunetv2/
training/ , Python, 58 linesnnUNetTrainer/ variants/ optimizer/ nnUNetTrainerAdam.py - nnunetv2/
training/ , Python, 65 linesnnUNetTrainer/ variants/ optimizer/ nnUNetTrainerAdan.py - nnunetv2/
training/ , Python, 1 linennUNetTrainer/ variants/ sampling/ __init__.py - nnunetv2/
training/ , Python, 57 linesnnUNetTrainer/ variants/ sampling/ nnUNetTrainer_probabilis ticOversampling.py - nnunetv2/
training/ , Python, 1 linennUNetTrainer/ variants/ training_length/ __init__.py - nnunetv2/
training/ , Python, 98 linesnnUNetTrainer/ variants/ training_length/ nnUNetTrainer_Xepochs.py - nnunetv2/
training/ , Python, 59 linesnnUNetTrainer/ variants/ training_length/ nnUNetTrainer_Xepochs_No Mirroring.py - nnunetv2/
utilities/ , Python, 1 line__init__.py - nnunetv2/
utilities/ , Python, 537 linescheckpoints.py - nnunetv2/
utilities/ , Python, 24 linescollate_outputs.py - nnunetv2/
utilities/ , Python, 141 linesconvert_checkpoints.py - nnunetv2/
utilities/ , Python, 16 linescrossval_split.py - nnunetv2/
utilities/ , Python, 75 linesdataset_name_id_conversi on.py - nnunetv2/
utilities/ , Python, 105 linesddp.py - nnunetv2/
utilities/ , Python, 53 linesddp_allgather.py - nnunetv2/
utilities/ , Python, 50 linesdefault_n_proc_DA.py - nnunetv2/
utilities/ , Python, 132 linesfile_path_utilities.py - nnunetv2/
utilities/ , Python, 174 linesfind_class_by_name.py - nnunetv2/
utilities/ , Python, 56 linesfind_objects.py - nnunetv2/
utilities/ , Python, 91 linesget_network_from_plans.p y - nnunetv2/
utilities/ , Python, 89 linesget_network_via_name.py - nnunetv2/
utilities/ , Python, 59 lineshelpers.py - nnunetv2/
utilities/ , Python, 60 linesjson_export.py - nnunetv2/
utilities/ , Python, 1 linelabel_handling/ __init__.py - nnunetv2/
utilities/ , Python, 351 lineslabel_handling/ label_handling.py - nnunetv2/
utilities/ , Python, 252 linesload_weights_utils.py - nnunetv2/
utilities/ , Python, 12 linesnetwork_initialization.p y - nnunetv2/
utilities/ , Python, 279 linesoverlay_plots.py - nnunetv2/
utilities/ , Python, 1 lineplans_handling/ __init__.py - nnunetv2/
utilities/ , Python, 341 linesplans_handling/ plans_handler.py - nnunetv2/
utilities/ , Python, 51 linespool_utils.py - nnunetv2/
utilities/ , Python, 76 linesutils.py - setup.py, Python, 4 lines
- LICENSE, License, 201 lines
- readme.md, Text, 78 lines
The paper's code and data availability statement is in the Data section.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 235 scripts, each with its path and the digest of its content;
- 3 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
Datasets cited
- humanconnectome.org/
study/ , at Human Connectome Project; found in “Data availability”lifespan-baby-connectome -project
Code and data availability statement
The paper has a code and data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:
- it points to a dataset: humanconnectome.org/
study/ lifespan-baby-connectome -project - it points to the authors' code: jhkang0526/
Infant_LVCPseg - it says that the data are available on request
Read it in the paper: doi.org/10.1186/s12880-026-02335-x.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 1, 28 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 4 authors, 4 keywords, 9 MeSH terms, 1 funder, 34 references.
Cite
This paper
Kang, J., Kim, H. G., Shin, N.-Y., & Nam, Y. (2026). Automatic lateral ventricle and choroid plexus segmentation method in infant brain MR images. BMC medical imaging, 26(1), 251. https://
BibTeX
@article{kang2026automat
author = {Kang, Junghwa and Kim, Hyun Gi and Shin, Na-Young and Nam, Yoonho},
title = {{Automatic lateral ventricle and choroid plexus segmentation method in infant brain MR images}},
journal = {BMC medical imaging},
year = {2026},
month = apr,
volume = {26},
number = {1},
pages = {251},
publisher = {BMC},
issn = {1471-2342},
doi = {10.1186/
url = {https://
pmid = {41933296},
pmcid = {PMC13173942}
}
RIS
TY - JOUR
AU - Kang, Junghwa
AU - Kim, Hyun Gi
AU - Shin, Na-Young
AU - Nam, Yoonho
TI - Automatic lateral ventricle and choroid plexus segmentation method in infant brain MR images
T2 - BMC medical imaging
J2 - BMC Med Imaging
PY - 2026
DA - 2026/
VL - 26
IS - 1
SP - 251
SN - 1471-2342
PB - BMC
DO - 10.1186/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1186/
"type": "article-journal",
"title": "Automatic lateral ventricle and choroid plexus segmentation method in infant brain MR images",
"container-title": "BMC medical imaging",
"author": [
{
"family": "Kang",
"given": "Junghwa"
},
{
"family": "Kim",
"given": "Hyun Gi"
},
{
"family": "Shin",
"given": "Na-Young"
},
{
"family": "Nam",
"given": "Yoonho"
}
],
"container-title-short":
"volume": "26",
"issue": "1",
"page": "251",
"DOI": "10.1186/
"PMID": "41933296",
"PMCID": "PMC13173942",
"ISSN": "1471-2342",
"publisher": "BMC",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
3
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1002/hipo.70124 [code]
- Association Between Anterior Hippocampal Gyrification and Episodic Memory Performance in Neurotypical Young Adults.Journal: HippocampusIn common: nnU-Net, pydicom, SimpleITK, 11 other tools, structural MRI / diffusion, 2 references
- [2] doi:10.3389/fmed.2026.1875760 [code]
- Adaptive multi-stage domain unlearning for white-matter lesion segmentation.Journal: Frontiers in medicineIn common: nnU-Net, pydicom, SimpleITK, 11 other tools, structural MRI / diffusion, 2 references
- [3] doi:10.1016/j.media.2023.102789 [code]
- SynthSeg: Segmentation of brain MRI scans of any contrast and resolution without retraining.Journal: Medical image analysisIn common: nnU-Net, pydicom, SimpleITK, 11 other tools, structural MRI / diffusion, 2 references
- [4] doi:10.1371/journal.pone.0323398 [code]
- Ratio maps of T1w/
T2w MRI signal intensity do not improve deep-learning segmentation of pediatric brain tumors. Journal: PloS oneIn common: nnU-Net, pydicom, SimpleITK, 11 other tools, structural MRI / diffusion, 1 reference - [5] doi:10.1186/s12880-025-01687-0 [code]
- The impact of cerebral vessels morphological alteration and white matter hyperintensities burden on the one-year risk of ischemic stroke recurrence.Journal: BMC medical imagingIn common: nnU-Net, pydicom, SimpleITK, 11 other tools, structural MRI / diffusion, 1 reference
- [6] doi:10.1186/s41747-025-00554-5 [code]
- Enhancing deep learning methods for brain metastasis detection through cross-technique annotations on SPACE MRI.Journal: European radiology experimentalIn common: nnU-Net, pydicom, SimpleITK, 11 other tools, structural MRI / diffusion, 1 reference
- [7] doi:10.1007/s00701-024-05973-8 [code]
- NnU-Net versus mesh growing algorithm as a tool for the robust and timely segmentation of neurosurgical 3D images in contrast-enhanced T1 MRI scans.Journal: Acta neurochirurgicaIn common: nnU-Net, pydicom, SimpleITK, 11 other tools, structural MRI / diffusion, 1 reference
- [8] doi:10.3389/fnimg.2023.1252261 [code]
- Pseudo-Label Assisted nnU-Net enables automatic segmentation of 7T MRI from a single acquisition.Journal: Frontiers in neuroimagingIn common: nnU-Net, pydicom, SimpleITK, 11 other tools, structural MRI / diffusion, 1 reference
- [9] doi:10.3389/fonc.2023.1143688 [code]
- Deep-learning and conventional radiomics to predict <i>IDH</
i> genotyping status based on magnetic resonance imaging data in adult diffuse glioma. Journal: Frontiers in oncologyIn common: nnU-Net, pydicom, SimpleITK, 11 other tools, structural MRI / diffusion, 1 reference - [10] doi:10.1093/braincomms/fcad118 [code]
- Brain tumour segmentation with incomplete imaging data.Journal: Brain communicationsIn common: nnU-Net, pydicom, SimpleITK, 11 other tools, structural MRI / diffusion, 1 reference
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 2 repositories of the authors' code, each at its verified commit and with its license, 235 scripts, and 3 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:fa1d06d2f06ef297…
Add the badge to the code's README
If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.
Markdown
<!-- oscr-badge:start -->
[](https://openscicode.org/badge/doi/10.1186/s12880-026-02335-x)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1186/s12880-026-02335-x.svg
:target: https://openscicode.org/badge/doi/10.1186/s12880-026-02335-x
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1186/s12880-026-02335-x"><img src="https://openscicode.org/badge/doi/10.1186/s12880-026-02335-x.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".
If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.
Report a mismatch between the code and the paper · Report a code error (signed in)
Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.
Report a reproduction failure (signed in)
Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
