MCPcopy Create free account

hub / github.com/YaoZhang93/MAML / functions

Functions895 in github.com/YaoZhang93/MAML

Methodresample_and_normalize
data and seg must already have been transposed by transpose_forward. properties are the un-transposed values (spacing etc) :p
nnunet/preprocessing/preprocessing.py:489
Methodresample_and_normalize
(self, data, target_spacing, properties, seg=None, force_separate_z=None)
nnunet/preprocessing/preprocessing.py:612
Methodresample_and_normalize
if target_spacing[0] is None or nan we use original_spacing_transposed[0] (no resampling along z) :param data: :param target_
nnunet/preprocessing/preprocessing.py:686
Methodresample_and_normalize
if target_spacing[0] is None or nan we use original_spacing_transposed[0] (no resampling along z) :param data: :param target_
nnunet/preprocessing/preprocessing.py:777
Methodresample_and_normalize
(self, data, target_spacing, properties, seg=None, force_separate_z=None)
nnunet/preprocessing/preprocessing.py:859
Methodresample_and_normalize
(self, data, target_spacing, properties, seg=None, force_separate_z=None)
nnunet/preprocessing/custom_preprocessors/preprocessor_scale_RGB_to_0_1.py:27
Functionresample_and_save
(predicted, target_shape, output_file, force_separate_z=False, interpolation_order=1, in
nnunet/training/cascade_stuff/predict_next_stage.py:31
Functionreset_trainerName_these
changes best checkpoint pickle nnunettrainer class name to nnUNetTrainer :param experiments: :return:
nnunet/dataset_conversion/Task040_KiTS.py:186
Functionrestore_original_slice_orientation
(mask, header)
nnunet/dataset_conversion/Task056_Verse_normalize_orientation.py:91
Functionrevert_orientation_on_all_images_in_folder
(folder: str, num_processes: int = 8)
nnunet/utilities/image_reorientation.py:76
Functionrevert_reorientation
(image: str)
nnunet/utilities/image_reorientation.py:49
Methodrun
:param target_spacings: list of lists [[1.25, 1.25, 5]] :param input_folder_with_cropped_npz: dim: c, x, y, z | npz_file['data'] np.
nnunet/preprocessing/preprocessing.py:358
Methodrun
(self, target_spacings, input_folder_with_cropped_npz, output_folder, data_identifier, num_threads
nnunet/preprocessing/preprocessing.py:768
Functionrun_evaluation
(args)
nnunet/evaluation/evaluator.py:306
Methodrun_iteration
(self, data_generator, do_backprop=True, run_online_evaluation=False)
nnunet/training/network_training/nnUNetTrainerV2_DP.py:170
Methodrun_iteration
gradient clipping improves training stability :param data_generator: :param do_backprop: :param run_online_evaluatio
nnunet/training/network_training/MAMLTrainerV2.py:230
Methodrun_iteration
gradient clipping improves training stability :param data_generator: :param do_backprop: :param run_online_evaluatio
nnunet/training/network_training/nnUNetTrainerV2.py:223
Methodrun_iteration
gradient clipping improves training stability :param data_generator: :param do_backprop: :param run_online_evaluatio
nnunet/training/network_training/nnUNetLightTrainerV2.py:223
Methodrun_iteration
(self, data_generator, do_backprop=True, run_online_evaluation=False)
nnunet/training/network_training/nnUNet_variants/benchmarking/nnUNetTrainerV2_dummyLoad.py:33
Methodrun_iteration
(self, data_generator, do_backprop=True, run_online_evaluation=False)
nnunet/training/network_training/nnUNet_variants/benchmarking/nnUNetTrainerV2_dummyLoad.py:108
Methodrun_iteration
(self, data_generator, do_backprop=True, run_online_evaluation=False)
nnunet/training/network_training/nnUNet_variants/benchmarking/nnUNetTrainerV2_2epochs.py:102
Methodrun_iteration
(self, data_generator, do_backprop=True, run_online_evaluation=False)
nnunet/training/network_training/nnUNet_variants/benchmarking/nnUNetTrainerV2_2epochs.py:176
Methodrun_iteration
(self, data_generator, do_backprop=True, run_online_evaluation=False)
nnunet/training/network_training/nnUNet_variants/benchmarking/nnUNetTrainerV2_2epochs.py:260
Methodrun_iteration
(self, data_generator, do_backprop=True, run_online_evaluation=False)
nnunet/training/network_training/competitions_with_custom_Trainers/BraTS2020/nnUNetTrainerV2BraTSRegions.py:325
Methodrun_online_evaluation
(self, output, target)
nnunet/training/network_training/nnUNetTrainer.py:683
Methodrun_online_evaluation
due to deep supervision the return value and the reference are now lists of tensors. We only need the full resolution output because
nnunet/training/network_training/nnUNet_variants/architectural_variants/nnUNetTrainerV2_softDeepSupervision.py:116
Methodrun_online_evaluation
(self, output, target)
nnunet/training/network_training/nnUNet_variants/architectural_variants/nnUNetTrainerV2_noDeepSupervision.py:163
Methodrun_online_evaluation
(self, output, target)
nnunet/training/network_training/competitions_with_custom_Trainers/BraTS2020/nnUNetTrainerV2BraTSRegions.py:168
Methodrun_online_evaluation
(self, output, target)
nnunet/training/network_training/competitions_with_custom_Trainers/BraTS2020/nnUNetTrainerV2BraTSRegions_moreDA.py:135
Methodrun_preprocessing
(self, num_threads)
nnunet/experiment_planning/alternative_experiment_planning/experiment_planner_baseline_3DUNet_v21_3convperstage.py:39
Methodrun_preprocessing
On all datasets except 3d fullres on spleen the preprocessed data would look identical to ExperimentPlanner3D_v21 (I tested decathlon
nnunet/experiment_planning/alternative_experiment_planning/experiment_planner_residual_3DUNet_v21.py:124
Methodrun_preprocessing
(self, num_threads)
nnunet/experiment_planning/alternative_experiment_planning/experiment_planner_pretrained.py:40
Methodrun_preprocessing
(self, num_threads)
nnunet/experiment_planning/alternative_experiment_planning/pooling_and_convs/experiment_planner_baseline_3DUNet_allConv3x3.py:136
Methodrun_training
if we run with -c then we need to set the correct lr for the first epoch, otherwise it will run the first continued epoch with self.i
nnunet/training/network_training/nnUNetTrainerV2_DDP.py:315
Methodrun_training
(self)
nnunet/training/network_training/nnUNetTrainerV2_DP.py:157
Methodrun_training
(self)
nnunet/training/network_training/network_trainer.py:414
Methodrun_training
if we run with -c then we need to set the correct lr for the first epoch, otherwise it will run the first continued epoch with self.i
nnunet/training/network_training/nnUNetTrainerV2.py:428
Methodrun_training
if we run with -c then we need to set the correct lr for the first epoch, otherwise it will run the first continued epoch with self.i
nnunet/training/network_training/nnUNetLightTrainerV2.py:428
Methodrun_training
(self)
nnunet/training/network_training/nnUNetTrainer.py:315
Methodrun_training
(self)
nnunet/training/network_training/nnUNet_variants/architectural_variants/nnUNetTrainerV2_ResencUNet_DA3.py:95
Methodrun_training
(self)
nnunet/training/network_training/nnUNet_variants/architectural_variants/nnUNetTrainerV2_ResencUNet.py:92
Functionsave_as_npz
(args)
nnunet/training/dataloading/dataset_loading.py:48
Methodsave_checkpoint
(self, fname, save_optimizer=True)
nnunet/training/network_training/nnUNetTrainer.py:726
Methodsave_checkpoint
(self, fname, save_optimizer=True)
nnunet/training/network_training/nnUNet_variants/benchmarking/nnUNetTrainerV2_dummyLoad.py:99
Methodsave_checkpoint
(self, fname, save_optimizer=True)
nnunet/training/network_training/nnUNet_variants/benchmarking/nnUNetTrainerV2_2epochs.py:73
Methodsave_checkpoint
(self, fname, save_optimizer=True)
nnunet/training/network_training/nnUNet_variants/benchmarking/nnUNetTrainerV2_2epochs.py:99
Methodsave_checkpoint
(self, fname, save_optimizer=True)
nnunet/training/network_training/nnUNet_variants/benchmarking/nnUNetTrainerV2_2epochs.py:173
Methodsave_checkpoint
(self, fname, save_optimizer=True)
nnunet/training/network_training/nnUNet_variants/benchmarking/nnUNetTrainerV2_2epochs.py:248
Functionsave_image
CAREFUL you need to restore_original_slice_orientation before saving! :param img: :param header: :return:
nnunet/dataset_conversion/Task056_Verse_normalize_orientation.py:40
Methodsave_properties
(self, case_identifier, properties)
nnunet/preprocessing/cropping.py:214
Functionsave_segmentation_nifti
faster and uses less ram than save_segmentation_nifti_from_softmax, but maybe less precise and also does not support softmax export (which is
nnunet/inference/segmentation_export.py:158
Functionscore_and_postprocess_model_based_on_rank_then_aggregate
Similarly to BraTS 2017 - BraTS 2019, each participant will be ranked for each of the X test cases. Each case includes 3 regions of evaluatio
nnunet/dataset_conversion/Task082_BraTS_2020.py:431
Methodset_metrics
Set evaluation metrics
nnunet/evaluation/evaluator.py:137
Methodset_reference
Set the reference segmentation.
nnunet/evaluation/evaluator.py:287
Methodset_test
Set the test segmentation.
nnunet/evaluation/evaluator.py:277
Methodsetup_DA_params
(self)
nnunet/training/network_training/nnUNet_variants/data_augmentation/nnUNetTrainerV2_DA2.py:20
Methodsetup_DA_params
(self)
nnunet/training/network_training/nnUNet_variants/data_augmentation/nnUNetTrainerV2_independentScalePerAxis.py:20
Methodsetup_DA_params
(self)
nnunet/training/network_training/nnUNet_variants/data_augmentation/nnUNetTrainerV2_noMirroring.py:41
Methodsetup_DA_params
(self)
nnunet/training/network_training/nnUNet_variants/cascade/nnUNetTrainerV2CascadeFullRes_DAVariants.py:34
Methodsetup_DA_params
(self)
nnunet/training/network_training/nnUNet_variants/cascade/nnUNetTrainerV2CascadeFullRes_DAVariants.py:48
Methodsetup_DA_params
(self)
nnunet/training/network_training/nnUNet_variants/cascade/nnUNetTrainerV2CascadeFullRes_DAVariants.py:62
Methodsetup_DA_params
(self)
nnunet/training/network_training/nnUNet_variants/cascade/nnUNetTrainerV2CascadeFullRes_DAVariants.py:76
Methodsetup_DA_params
net_num_pool_op_kernel_sizes is different in resunet
nnunet/training/network_training/nnUNet_variants/architectural_variants/nnUNetTrainerV2_ResencUNet_DA3.py:49
Methodsetup_DA_params
(self)
nnunet/training/network_training/competitions_with_custom_Trainers/MMS/nnUNetTrainerV2_MMS.py:11
Functionsplit_4d_nifti
(filename, output_folder)
nnunet/experiment_planning/common_utils.py:23
Functionsplit_4d_parallel
(args)
nnunet/dataset_conversion/Task114_heart_MNMs.py:174
Methodto_dict
(self)
nnunet/evaluation/evaluator.py:227
Methodto_pandas
Return result as pandas DataFrame.
nnunet/evaluation/evaluator.py:254
Functiontotal_negatives_reference
TN + FP
nnunet/evaluation/metrics.py:303
Functiontotal_negatives_test
TN + FN
nnunet/evaluation/metrics.py:281
Functiontotal_positives_reference
TP + FN
nnunet/evaluation/metrics.py:292
Functiontotal_positives_test
TP + FP
nnunet/evaluation/metrics.py:270
Functiontrue_negative_rate
TN / (TN + FP)
nnunet/evaluation/metrics.py:252
Methodvalidate
(self, do_mirroring: bool = True, use_sliding_window: bool = True, step_size: float = 0.5,
nnunet/training/network_training/nnUNetTrainerCascadeFullRes.py:152
Methodvalidate
(self, do_mirroring: bool = True, use_sliding_window: bool = True, step_size: float = 0.5, sa
nnunet/training/network_training/nnUNetTrainerV2_DDP.py:428
Methodvalidate
(self, do_mirroring: bool = True, use_sliding_window: bool = True, step_size: float = 0.5, sa
nnunet/training/network_training/nnUNetTrainerV2_CascadeFullRes.py:190
Methodvalidate
(self, *args, **kwargs)
nnunet/training/network_training/network_trainer.py:684
Methodvalidate
We need to wrap this because we need to enforce self.network.do_ds = False for prediction
nnunet/training/network_training/nnUNetTrainerV2.py:182
Methodvalidate
We need to wrap this because we need to enforce self.network.do_ds = False for prediction
nnunet/training/network_training/nnUNetLightTrainerV2.py:182
Methodvalidate
if debug=True then the temporary files generated for postprocessing determination will be kept
nnunet/training/network_training/nnUNetTrainer.py:526
Methodvalidate
We need to wrap this because we need to enforce self.network.do_ds = False for prediction
nnunet/training/network_training/nnUNet_variants/data_augmentation/nnUNetTrainerV2_noMirroring.py:20
Methodvalidate
We need to wrap this because we need to enforce self.network.do_ds = False for prediction
nnunet/training/network_training/nnUNet_variants/data_augmentation/nnUNetTrainerV2_noDA.py:116
Methodvalidate
(self, do_mirroring: bool = True, use_sliding_window: bool = True, step_size: float = 0.5, sa
nnunet/training/network_training/nnUNet_variants/architectural_variants/nnUNetTrainerV2_ResencUNet_DA3.py:57
Methodvalidate
(self, do_mirroring: bool = True, use_sliding_window: bool = True, step_size: float = 0.5, sa
nnunet/training/network_training/nnUNet_variants/architectural_variants/nnUNetTrainerV2_ResencUNet.py:55
Methodvalidate
(self, do_mirroring: bool = True, use_sliding_window: bool = True, step_size: float = 0.5, sa
nnunet/training/network_training/nnUNet_variants/benchmarking/nnUNetTrainerV2_dummyLoad.py:85
Methodvalidate
(self, do_mirroring: bool = True, use_sliding_window: bool = True, step_size: float = 0.5, sa
nnunet/training/network_training/nnUNet_variants/benchmarking/nnUNetTrainerV2_2epochs.py:34
Methodvalidate
(self, do_mirroring: bool = True, use_sliding_window: bool = True, step_size: float = 0.5, sa
nnunet/training/network_training/nnUNet_variants/benchmarking/nnUNetTrainerV2_2epochs.py:59
Methodvalidate
(self, do_mirroring: bool = True, use_sliding_window: bool = True, step_size: float = 0.5, sa
nnunet/training/network_training/nnUNet_variants/benchmarking/nnUNetTrainerV2_2epochs.py:85
Methodvalidate
(self, do_mirroring: bool = True, use_sliding_window: bool = True, step_size: float = 0.5, sa
nnunet/training/network_training/nnUNet_variants/benchmarking/nnUNetTrainerV2_2epochs.py:159
Methodvalidate
(self, do_mirroring: bool = True, use_sliding_window: bool = True, step_size: float = 0.5, sa
nnunet/training/network_training/nnUNet_variants/benchmarking/nnUNetTrainerV2_2epochs.py:234
Methodvalidate
(self, do_mirroring: bool = True, use_sliding_window: bool = True, step_size: float = 0.5, sa
nnunet/training/network_training/nnUNet_variants/resampling/nnUNetTrainerV2_resample33.py:21
Methodvalidate
(self, do_mirroring: bool = True, use_sliding_window: bool = True, step_size: int = 0.5, save
nnunet/training/network_training/competitions_with_custom_Trainers/BraTS2020/nnUNetTrainerV2BraTSRegions.py:312
Methodvalidate
(self, do_mirroring: bool = True, use_sliding_window: bool = True, step_size: int = 0.5, save
nnunet/training/network_training/competitions_with_custom_Trainers/BraTS2020/nnUNetTrainerV2BraTSRegions_moreDA.py:122
Functionverify_contains_only_expected_labels
(itk_img: str, valid_labels: (tuple, list))
nnunet/preprocessing/sanity_checks.py:79
Methodwrite_normalization_scheme_to_patients
This is used for test set preprocessing :return:
nnunet/experiment_planning/experiment_planner_baseline_3DUNet.py:413
← previous801–895 of 895, ranked by callers