修改函数:在 get_filenames_of_train_images_and_targets
函数中,添加检查逻辑以处理缺失的 'file_ending'
,例如:
if 'file_ending' not in dataset_json: dataset_json['file_ending'] = 'FLARE22_Tr_0050_0000.nii.gz' #
修改函数:在 get_filenames_of_train_images_and_targets
函数中,添加检查逻辑以处理缺失的 'file_ending'
,例如:
if 'file_ending' not in dataset_json: dataset_json['file_ending'] = 'FLARE22_Tr_0050_0000.nii.gz' #