MCPcopy Create free account

hub / github.com/Project-MONAI/MONAI / functions

Functions7,906 in github.com/Project-MONAI/MONAI

↓ 1 callersMethod_get_patch
(self, inputs: Any, location: tuple[int, ...], patch_size: tuple[int, ...])
monai/inferers/splitter.py:214
↓ 1 callersMethod_get_patch
(self, inputs: Any, location: tuple[int, ...], patch_size: tuple[int, ...])
monai/inferers/splitter.py:378
↓ 1 callersFunction_get_point_label
(id: int)
monai/apps/vista3d/sampler.py:34
↓ 1 callersMethod_get_property
With specified property name and information, get the expected property value. Args: name: the name of target property.
monai/bundle/workflows.py:164
↓ 1 callersFunction_get_same_padding_conv_nd
Helper for getting padding (nn.ConstantPadNd) to be used to get SAME padding conv operations similar to Tensorflow's SAME padding. This
monai/networks/nets/efficientnet.py:808
↓ 1 callersFunction_get_scan_interval
Compute scan interval according to the image size, roi size and overlap. Scan interval will be `int((1 - overlap) * roi_size)`, if interval i
monai/inferers/utils.py:399
↓ 1 callersMethod_get_seg_data
Get the array data and metadata of the segmentation image. Aegs: img: a Pydicom dataset object that has attribute "Segme
monai/data/image_reader.py:829
↓ 1 callersFunction_get_select
(f)
monai/optimizers/utils.py:72
↓ 1 callersMethod_get_signal
(self, image, guidance)
monai/apps/deepgrow/transforms.py:179
↓ 1 callersMethod_get_signal
(self, image, guidance)
monai/apps/deepedit/transforms.py:242
↓ 1 callersMethod_get_spatial_shape
Get the spatial shape of `img`. Args: img: an ITK image object loaded from an image file.
monai/data/image_reader.py:354
↓ 1 callersMethod_get_spatial_shape
Get the spatial shape of image data, it doesn't contain the channel dim. Args: img: a Nibabel image object loaded from a
monai/data/image_reader.py:1169
↓ 1 callersMethod_get_spatial_shape
Get the spatial shape of image data, it doesn't contain the channel dim. Args: img: a PIL Image object loaded from an ima
monai/data/image_reader.py:1439
↓ 1 callersMethod_get_time_and_class_embedding
(self, x, timesteps, class_labels)
monai/apps/generation/maisi/networks/diffusion_model_unet_maisi.py:310
↓ 1 callersMethod_get_up_layer
In each up layer, the input is passed through a convolution block before upsampled, unless this is the top layer in which case the in
monai/networks/nets/voxelmorph.py:285
↓ 1 callersMethod_get_up_layer
Returns the decoding (up) part of a layer of the network. This typically will upsample data at some point in its structure. Its outpu
monai/networks/nets/unet.py:250
↓ 1 callersMethod_get_vae_loss
Args: net_input: the original input of the network. vae_input: the input of VAE module, which is also the output of t
monai/networks/nets/segresnet.py:287
↓ 1 callersMethod_get_value_calculator
(self, value_calculator)
monai/handlers/parameter_scheduler.py:69
↓ 1 callersFunction_get_var_names
Parse the expression and discover what variables are present in it based on ast module. Args: expr: source expression to parse.
monai/bundle/scripts.py:129
↓ 1 callersMethod_get_variance
Compute the variance of the posterior at timestep t. Args: timestep: current timestep. predicted_variance: v
monai/networks/schedulers/ddpm.py:153
↓ 1 callersFunction_get_window_idx_c
Helper function to get the window index.
monai/apps/vista3d/inferer.py:147
↓ 1 callersMethod_handle_batched
utility function to handle batched MetaTensors.
monai/data/meta_tensor.py:230
↓ 1 callersFunction_ignite_all_gather
Implementation based on PyTorch ignite package, it can support more kinds of backends.
monai/utils/dist.py:108
↓ 1 callersFunction_image3_animated_gif
Function to actually create the animated gif. Args: tag: Data identifier image: 3D image tensors expected to be in `HWD` format
monai/visualize/img2tensorboard.py:42
↓ 1 callersMethod_init_identity_cache
Create cache of the identity grid if cache_grid=True and spatial_size is known.
monai/transforms/spatial/array.py:2497
↓ 1 callersMethod_init_weight
(self, conv)
monai/networks/nets/daf3d.py:155
↓ 1 callersMethod_init_weights
similar to monai/networks/blocks/patchembedding.py for the decoder positional encoding and for mask and classification tokens
monai/networks/nets/masked_autoencoder_vit.py:154
↓ 1 callersMethod_initialize_weights
Args: None, initializes weights for conv/linear/batchnorm layers following weight init methods from `offi
monai/networks/nets/efficientnet.py:451
↓ 1 callersMethod_inputs_to_dict
(self, input_example)
monai/networks/trt_compiler.py:402
↓ 1 callersMethod_is_thread_active
Return True if the read thread should be still active.
monai/utils/profiling.py:215
↓ 1 callersFunction_load_pretrained_encoder
(model: nn.Module, state_dict: OrderedDict | dict)
monai/networks/nets/hovernet.py:612
↓ 1 callersFunction_load_state_dict
(model: nn.Module, model_name: str, datasets23: bool = True)
monai/networks/nets/resnet.py:688
↓ 1 callersMethod_log_dataset
(self, sample_dict: dict[str, Any], context: str = "train")
monai/handlers/mlflow_handler.py:272
↓ 1 callersMethod_make_coeffs
(window_length, order)
monai/networks/layers/simplelayers.py:358
↓ 1 callersMethod_make_down_layers
(self)
monai/networks/nets/segresnet.py:103
↓ 1 callersMethod_make_sequence
Formats the sequence of intensities ranges to Sequence[Sequence[float]].
monai/transforms/intensity/array.py:2301
↓ 1 callersMethod_make_up_layers
(self)
monai/networks/nets/segresnet.py:119
↓ 1 callersMethod_masking
(self, x, masking_ratio: float | None = None)
monai/networks/nets/masked_autoencoder_vit.py:179
↓ 1 callersFunction_matching_no_gt
Matching result with not ground truth in image Args: iou_thresholds: defined which IoU thresholds should be evaluated dt_sco
monai/apps/detection/metrics/matching.py:188
↓ 1 callersFunction_matching_no_pred
Matching result with no predictions Args: iou_thresholds: defined which IoU thresholds should be evaluated gt_ignore: specif
monai/apps/detection/metrics/matching.py:233
↓ 1 callersFunction_matching_single_image_single_class
Adapted from https://github.com/cocodataset/cocoapi/blob/master/PythonAPI/pycocotools/cocoeval.py Args: iou_fn: compute overlap for
monai/apps/detection/metrics/matching.py:272
↓ 1 callersMethod_mean
(x)
monai/transforms/intensity/array.py:875
↓ 1 callersFunction_modified_bessel_1
(x: torch.Tensor)
monai/networks/layers/convutils.py:177
↓ 1 callersFunction_modified_bessel_i
(n: int, x: torch.Tensor)
monai/networks/layers/convutils.py:200
↓ 1 callersMethod_mse_gradient_loss
Compute the MSE loss of the gradients of the horizontal and vertical centroid distance maps
monai/apps/pathology/losses/hovernet_loss.py:80
↓ 1 callersFunction_no_grad_trunc_normal_
Tensor initialization with truncated normal distribution. Based on: https://people.sc.fsu.edu/~jburkardt/presentations/truncated_normal.pdf
monai/networks/layers/weight_init.py:19
↓ 1 callersFunction_non_zipping_check
Utility function based on `decollate_batch`, to identify the largest batch size from the collated data. returns batch_size, the list of non-i
monai/data/utils.py:512
↓ 1 callersMethod_normalize_probabilities
(self, weights)
monai/transforms/compose.py:481
↓ 1 callersMethod_normalize_probabilities
(self, weights)
monai/transforms/compose.py:748
↓ 1 callersFunction_not_requiring_metadata
(ret)
monai/data/meta_tensor.py:46
↓ 1 callersMethod_onnx_to_trt
Builds TRT engine from ONNX file at onnx_path and saves to self.plan_path
monai/networks/trt_compiler.py:498
↓ 1 callersFunction_onnx_trt_compile
This function takes an ONNX model as input, exports it to a TensorRT engine, wraps the TensorRT engine to a TensorRT engine-based TorchScript
monai/networks/utils.py:866
↓ 1 callersMethod_order_template
(self, template: np.ndarray)
monai/utils/ordering.py:144
↓ 1 callersFunction_pack_struct
(seg_out, dict_keys=None)
monai/inferers/utils.py:436
↓ 1 callersFunction_pairwise
s -> (s0,s1), (s1,s2), (s2, s3), ...
tests/utils/test_version.py:23
↓ 1 callersMethod_parse_artifacts
Log artifacts to mlflow. Given a path, all files in the path will be logged recursively. Given a file, it will be logged to mlflow.
monai/handlers/mlflow_handler.py:311
↓ 1 callersMethod_parse_import_string
parse single import statement such as "from monai.transforms import Resize
monai/bundle/config_item.py:329
↓ 1 callersFunction_parse_var
(s)
monai/utils/misc.py:402
↓ 1 callersMethod_post_transform
Process the data from before the first random transform to the final state ready for evaluation. Args: item_transformed:
monai/data/dataset.py:354
↓ 1 callersMethod_prepare_heatmap_keys
(self, heatmap_keys: KeysCollection | None)
monai/transforms/post/dictionary.py:637
↓ 1 callersMethod_prepare_optional_keys
(self, maybe_keys: KeysCollection | None)
monai/transforms/post/dictionary.py:647
↓ 1 callersMethod_prepare_shapes
( self, spatial_shape: Sequence[int] | Sequence[Sequence[int]] | None )
monai/transforms/post/dictionary.py:657
↓ 1 callersMethod_prepare_time_and_class_embedding
(self, x, timesteps, class_labels)
monai/apps/generation/maisi/networks/controlnet_maisi.py:124
↓ 1 callersMethod_prepare_vae_modules
(self)
monai/networks/nets/segresnet.py:264
↓ 1 callersMethod_raise_if_not_invertible
(data: Any)
monai/transforms/compose.py:409
↓ 1 callersMethod_randomize
(self, d, key_label)
monai/apps/deepedit/transforms.py:428
↓ 1 callersMethod_randomize
(self, d, key_label)
monai/apps/deepedit/transforms.py:879
↓ 1 callersMethod_recombine_heads
(self, x: torch.Tensor)
monai/networks/nets/vista3d.py:831
↓ 1 callersMethod_register_decollate
Register the decollate operation for batch data, will execute after model forward and loss forward.
monai/engines/workflow.py:196
↓ 1 callersMethod_register_handlers
Register the handlers to the engine, supports ignite Handlers with `attach` API.
monai/engines/workflow.py:262
↓ 1 callersMethod_register_metrics
Register the key metric and additional metrics to the engine, supports ignite Metrics.
monai/engines/workflow.py:227
↓ 1 callersMethod_register_postprocessing
Register the postprocessing logic to the engine, will execute them as a chain when iteration completed.
monai/engines/workflow.py:211
↓ 1 callersFunction_remap_preact_resnet_model
(model_url: str)
monai/networks/nets/hovernet.py:628
↓ 1 callersFunction_remap_standard_resnet_model
(model_url: str, state_dict_key: str | None = None)
monai/networks/nets/hovernet.py:658
↓ 1 callersMethod_reshape_maps
Concat network output map list to a single Tensor. This function is used in both training and inference. Args: r
monai/apps/detection/networks/retinanet_detector.py:583
↓ 1 callersMethod_resolve_sigma
(self, spatial_dims: int)
monai/transforms/post/array.py:893
↓ 1 callersMethod_resolve_spatial_shape
(self, call_shape: Sequence[int] | None, spatial_dims: int)
monai/transforms/post/array.py:879
↓ 1 callersMethod_restart
Restart background thread if killed for some reason.
monai/data/dataset.py:1147
↓ 1 callersMethod_rot90_template
(self, template: np.ndarray)
monai/utils/ordering.py:137
↓ 1 callersFunction_round_repeats
Re-calculate module's repeat number of a block based on depth coefficient multiplier. Args: repeats: number of original repeats.
monai/networks/nets/efficientnet.py:901
↓ 1 callersMethod_run
(self)
tests/hvd_evenly_divisible_all_gather.py:31
↓ 1 callersMethod_run
(self)
tests/utils/test_evenly_divisible_all_gather_dist.py:29
↓ 1 callersMethod_run
(self, tempdir)
tests/handlers/test_handler_metrics_saver_dist.py:35
↓ 1 callersMethod_run_cmd
Execute the training command with target devices information.
monai/apps/auto3dseg/bundle_gen.py:249
↓ 1 callersFunction_run_test
()
tests/integration/test_loader_semaphore.py:30
↓ 1 callersMethod_safe_deserialize
Load the object from the given bytes data, this must be loadable as weights only using `torch.load`.
monai/data/dataset.py:630
↓ 1 callersMethod_safe_serialize
Serialize the tensor/array `val` using the pickle protocol, and return its bytes object.
monai/data/dataset.py:623
↓ 1 callersFunction_save_data_2d
(vol_idx, vol_image, vol_label, dataset_dir, relative_path)
monai/apps/deepgrow/dataset.py:149
↓ 1 callersFunction_save_data_3d
(vol_idx, vol_image, vol_label, dataset_dir, relative_path)
monai/apps/deepgrow/dataset.py:211
↓ 1 callersMethod_seed_point
(self, label)
monai/apps/nuclick/transforms.py:339
↓ 1 callersFunction_separable_filtering_conv
( input_: torch.Tensor, kernels: list[torch.Tensor], pad_mode: str, d: int, spatial_dims:
monai/networks/layers/simplelayers.py:170
↓ 1 callersFunction_separation
Silhouette-based inter-class separation score. Requires scikit-learn. Returns ``None`` if unavailable. Args: emb: ``[N, D]`` float t
monai/metrics/embedding_collapse.py:360
↓ 1 callersMethod_set_default_range
Sets default intensity ranges to be sampled. Args: img: image to transform.
monai/transforms/intensity/array.py:2313
↓ 1 callersMethod_set_experiment
(self)
monai/handlers/mlflow_handler.py:241
↓ 1 callersMethod_set_learning_rate
Set learning rate(s) for optimizer.
monai/optimizers/lr_finder.py:378
↓ 1 callersMethod_set_property
With specified property name and information, set value for the expected property. Args: name: the name of target proper
monai/bundle/workflows.py:176
↓ 1 callersMethod_set_reader
Set the WSI reader object based on the input reader Args: reader: the module to be used for loading whole slide imaging.
monai/inferers/splitter.py:356
↓ 1 callersMethod_shape_from_reference
(self, reference: Any, spatial_dims: int)
monai/transforms/post/dictionary.py:698
↓ 1 callersMethod_solve_linear_system
(self, lap, rhs)
monai/data/ultrasound_confidence_map.py:282
↓ 1 callersMethod_split_datalist
(self, datalist: list[dict])
monai/apps/datasets.py:388
← previousnext →1,501–1,600 of 7,906, ranked by callers