MCPcopy Create free account

hub / github.com/devinxzhang/MFuser / functions

Functions1,143 in github.com/devinxzhang/MFuser

↓ 1 callersFunctionread_in_q_k_v_head
(state_dict, config)
models/backbones/siglip/convert_siglip_to_hf.py:205
↓ 1 callersFunctionreduce_loss
Reduce loss as specified. Args: loss (Tensor): Elementwise loss tensor. reduction (str): Options are "none", "mean" and "sum".
mmseg/models/losses/utils.py:28
↓ 1 callersMethodrefine_output
(self, output, k)
mmseg/models/decode_heads/maskclip_head.py:133
↓ 1 callersFunctionrename_key
(dct, old, new, config)
models/backbones/siglip/convert_siglip_to_hf.py:181
↓ 1 callersFunctionrenorm_
(img, mean, std)
mmseg/models/utils/dacs_transforms.py:46
↓ 1 callersMethodrescale
(param, layer_id)
models/backbones/eva_clip/eva_vit_model.py:508
↓ 1 callersFunctionresize_clip_pos_embed
(state_dict, model, interpolation: str = 'bicubic', seq_dim=1)
models/backbones/eva_clip/utils.py:13
↓ 1 callersFunctionresize_eva_pos_embed
(state_dict, model, interpolation: str = 'bicubic', seq_dim=1)
models/backbones/eva_clip/utils.py:109
↓ 1 callersFunctionresize_evaclip_pos_embed
(state_dict, model, interpolation: str = 'bicubic', seq_dim=1)
models/backbones/eva_clip/utils.py:78
↓ 1 callersFunctionresize_visual_pos_embed
(state_dict, model, interpolation: str = 'bicubic', seq_dim=1)
models/backbones/eva_clip/utils.py:46
↓ 1 callersMethodsaturation
Saturation distortion.
mmseg/datasets/pipelines/transforms.py:831
↓ 1 callersFunctionsave_class_stats
(out_dir, sample_class_stats)
tools/convert_datasets/synthia.py:64
↓ 1 callersFunctionsave_class_stats
(out_dir, sample_class_stats)
tools/convert_datasets/cityscapes.py:44
↓ 1 callersFunctionsave_class_stats
(out_dir, sample_class_stats)
tools/convert_datasets/gta.py:62
↓ 1 callersMethodscaled_l2
(x, codewords, scale)
mmseg/ops/encoding.py:35
↓ 1 callersMethodscaled_l2
(x, codewords, scale)
mmseg/models/utils/encoding.py:34
↓ 1 callersFunctionset_random_seed
Set random seed. Args: seed (int): Seed to be used. deterministic (bool): Whether to set the deterministic option for
mmseg/apis/train.py:21
↓ 1 callersMethodsimple_test
Placeholder for single image test.
mmseg/models/segmentors/base.py:57
↓ 1 callersMethodsingle_level_valid_flags
Generate the valid flags of points of a single feature map. Args: featmap_size (tuple[int]): The size of feature maps, arrange as
mmseg/core/anchor/point_generator.py:202
↓ 1 callersMethodslide_inference
Inference by sliding-window with overlap. If h_crop > h_img or w_crop > w_img, the small patch will be used to decode without padding
mmseg/models/segmentors/encoder_decoder.py:179
↓ 1 callersMethodslide_inference
Inference by sliding-window with overlap. If h_crop > h_img or w_crop > w_img, the small patch will be used to decode without padding
models/segmentors/mfuser_eva_clip.py:146
↓ 1 callersMethodslide_inference
Inference by sliding-window with overlap. If h_crop > h_img or w_crop > w_img, the small patch will be used to decode without padding
models/segmentors/mfuser_clip.py:146
↓ 1 callersMethodslide_inference
Inference by sliding-window with overlap. If h_crop > h_img or w_crop > w_img, the small patch will be used to decode without padding
models/segmentors/mfuser_siglip.py:146
↓ 1 callersFunctionstyle_transform
(size)
mmseg/models/uda/photo_wct_batch.py:15
↓ 1 callersFunctiontensor2obj
Deserialize tensor to picklable python object.
mmseg/core/utils/dist_utils.py:81
↓ 1 callersMethodto_ddp
Wrap models with separate MMDistributedDataParallel. It only wraps the modules with parameters.
mmseg/core/ddp_wrapper.py:70
↓ 1 callersFunctiontokenize
Returns the tokenized representation of given input string(s) Parameters ---------- texts : Union[str, List[str]] An input st
models/backbones/utils.py:137
↓ 1 callersFunctiontotal_intersect_and_union
Calculate Total Intersection and Union. Args: results (list[ndarray] | list[str]): List of prediction segmentation maps or li
mmseg/core/evaluation/metrics.py:132
↓ 1 callersFunctiontrain_segmentor
Launch segmentor training.
mmseg/apis/train.py:42
↓ 1 callersFunctiontrunc_normal_tf_
( tensor: torch.Tensor, mean: float = 0.0, std: float = 1.0, a: float = -2.0, b: float = 2.0 )
models/backbones/siglip/modeling_siglip.py:86
↓ 1 callersFunctionwhitespace_clean
(text)
models/backbones/utils.py:57
↓ 1 callersMethodwhole_inference
Inference with full image.
mmseg/models/segmentors/encoder_decoder.py:224
↓ 1 callersMethodwhole_inference
Inference with full image.
models/segmentors/mfuser_eva_clip.py:190
↓ 1 callersMethodwhole_inference
Inference with full image.
models/segmentors/mfuser_clip.py:190
↓ 1 callersMethodwhole_inference
Inference with full image.
models/segmentors/mfuser_siglip.py:190
Method__call__
Call function to load images into results. Args: results (dict): A result dict contains the file name of the imag
mmseg/apis/inference.py:60
Method__call__
Call function to apply test time augment transforms on results. Args: results (dict): Result dict contains the data to transform.
mmseg/datasets/pipelines/test_time_aug.py:95
Method__call__
Call function to resize images, bounding boxes, masks, semantic segmentation map. Args: results (dict): Result dict from
mmseg/datasets/pipelines/transforms.py:214
Method__call__
Call function to flip bounding boxes, masks, semantic segmentation maps. Args: results (dict): Result dict from loading p
mmseg/datasets/pipelines/transforms.py:263
Method__call__
Call function to pad images, masks, semantic segmentation maps. Args: results (dict): Result dict from loading pipeline.
mmseg/datasets/pipelines/transforms.py:346
Method__call__
Call function to normalize images. Args: results (dict): Result dict from loading pipeline. Returns: dict: N
mmseg/datasets/pipelines/transforms.py:385
Method__call__
Call function to rerange images. Args: results (dict): Result dict from loading pipeline. Returns: dict: Rera
mmseg/datasets/pipelines/transforms.py:427
Method__call__
Call function to Use CLAHE method process images. Args: results (dict): Result dict from loading pipeline. Returns:
mmseg/datasets/pipelines/transforms.py:476
Method__call__
Call function to randomly crop images, semantic segmentation maps. Args: results (dict): Result dict from loading pipeline.
mmseg/datasets/pipelines/transforms.py:533
Method__call__
Call function to rotate image, semantic segmentation maps. Args: results (dict): Result dict from loading pipeline. Retu
mmseg/datasets/pipelines/transforms.py:613
Method__call__
Call function to convert RGB image to grayscale image. Args: results (dict): Result dict from loading pipeline. Returns:
mmseg/datasets/pipelines/transforms.py:680
Method__call__
Call function to process the image with gamma correction. Args: results (dict): Result dict from loading pipeline. Retur
mmseg/datasets/pipelines/transforms.py:728
Method__call__
Call function to scale the semantic segmentation map. Args: results (dict): Result dict from loading pipeline. Returns:
mmseg/datasets/pipelines/transforms.py:758
Method__call__
Call function to perform photometric distortion on images. Args: results (dict): Result dict from loading pipeline. Retu
mmseg/datasets/pipelines/transforms.py:852
Method__call__
Call functions to load image and get image meta information. Args: results (dict): Result dict from :obj:`mmseg.CustomDataset`.
mmseg/datasets/pipelines/loading.py:44
Method__call__
Call function to load multiple types annotations. Args: results (dict): Result dict from :obj:`mmseg.CustomDataset`. Ret
mmseg/datasets/pipelines/loading.py:115
Method__call__
Call function to apply transforms sequentially. Args: data (dict): A result dict contains the data to transform. Returns
mmseg/datasets/pipelines/compose.py:31
Method__call__
Call function to convert data in results to :obj:`torch.Tensor`. Args: results (dict): Result dict contains the data to convert.
mmseg/datasets/pipelines/formating.py:49
Method__call__
Call function to convert image in results to :obj:`torch.Tensor` and transpose the channel order. Args: results (dict): R
mmseg/datasets/pipelines/formating.py:83
Method__call__
Call function to convert image in results to :obj:`torch.Tensor` and transpose the channel order. Args: results (dict): R
mmseg/datasets/pipelines/formating.py:119
Method__call__
Call function to convert data in results to :obj:`mmcv.DataContainer`. Args: results (dict): Result dict contains the dat
mmseg/datasets/pipelines/formating.py:157
Method__call__
Call function to transform and format common fields in results. Args: results (dict): Result dict contains the data to convert.
mmseg/datasets/pipelines/formating.py:191
Method__call__
(self, results)
mmseg/datasets/pipelines/formating.py:270
Method__call__
Call function to collect keys in results. The keys in ``meta_keys`` will be converted to :obj:mmcv.DataContainer. Args: r
mmseg/datasets/pipelines/formating.py:343
Method__call__
Args: cls_pred (Tensor): Predicted classification logits, shape [num_query, num_class]. gt_labels (Te
mmseg/models/losses/match_loss.py:38
Method__call__
Args: cls_pred (Tensor): Predicted classfication logits in shape (N1, H, W), dtype=torch.float32. gt_
mmseg/models/losses/match_loss.py:67
Method__call__
Args: cls_pred (Tensor): Predicted classification logits, shape [num_query, num_class]. gt_labels (Te
mmseg/models/losses/match_loss.py:115
Method__call__
Args: mask_preds (Tensor): Mask prediction logits in shape (N1, H, W). gt_masks (Tensor): Ground truth in shape (N2,
mmseg/models/losses/match_loss.py:167
Method__call__
Args: cls_pred (Tensor): Predicted classification logits, shape [num_query, num_class]. gt_labels (Te
mmseg/models/losses/match_costs.py:38
Method__call__
Args: cls_pred (Tensor): Predicted classfication logits in shape (N1, H, W), dtype=torch.float32. gt_
mmseg/models/losses/match_costs.py:67
Method__call__
Args: cls_pred (Tensor): Predicted classification logits, shape [num_query, num_class]. gt_labels (Te
mmseg/models/losses/match_costs.py:115
Method__call__
Args: mask_preds (Tensor): Mask prediction logits in shape (N1, H, W). gt_masks (Tensor): Ground truth in shape (N2,
mmseg/models/losses/match_costs.py:167
Method__call__
Args: cls_pred (Tensor): Predicted classification logits. gt_labels (Tensor): Labels. Returns: Te
mmseg/models/losses/match_costs.py:219
Method__call__
Main method to prepare for the model one or several sequences(s) and image(s). This method forwards the `text` and `kwargs` arguments
models/backbones/siglip/processing_siglip.py:49
Method__call__
(self, texts:Union[str, List[str]], context_length:int=77)
models/backbones/eva_clip/tokenizer.py:194
Method__enter__
(self)
mmseg/models/uda/photo_wct_batch.py:54
Method__exit__
(self, exc_type, exc_value, exc_tb)
mmseg/models/uda/photo_wct_batch.py:57
Method__getitem__
Get training/test data after pipeline. Args: idx (int): Index of data. Returns: dict: Training/test data (wi
mmseg/datasets/custom.py:189
Method__getitem__
Get item from original dataset.
mmseg/datasets/dataset_wrappers.py:46
Method__getitem__
(self, idx)
mmseg/datasets/ug_dataset.py:101
Method__getitem__
(self, idx)
mmseg/datasets/uda_dataset.py:109
Method__getitem__
(self, index)
mmseg/models/uda/photo_wct_batch.py:30
Method__getstate__
(self)
models/backbones/siglip/tokenization_siglip.py:253
Method__init__
(self, channels, num_codes)
mmseg/ops/encoding.py:19
Method__init__
(self, size=None, scale_factor=None, mode='nearest',
mmseg/ops/wrappers.py:33
Method__init__
(self, module, device_ids, dim=0, broadcas
mmseg/core/ddp_wrapper.py:48
Method__init__
(self, *args, **kwargs)
mmseg/core/utils/dist_utils.py:60
Method__init__
(self, strides, offset=0.5)
mmseg/core/anchor/point_generator.py:53
Method__init__
(self, context, thresh=None, min_kept=100000)
mmseg/core/seg/sampler/ohem_pixel_sampler.py:25
Method__init__
(self, **kwargs)
mmseg/core/seg/sampler/base_pixel_sampler.py:9
Method__init__
(self, *args, by_epoch=False, efficient_test=False, **kwargs)
mmseg/core/evaluation/eval_hooks.py:62
Method__init__
(self, num, pos_fraction, neg_pos_ub=-1, a
mmseg/core/box/samplers/base_sampler.py:11
Method__init__
(self, pos_inds, neg_inds, masks, gt_masks, assign_result, gt_flags)
mmseg/core/box/samplers/mask_sampling_result.py:12
Method__init__
(self, pos_inds, neg_inds, bboxes, gt_bboxes, assign_result, gt_flags)
mmseg/core/box/samplers/sampling_result.py:24
Method__init__
(self, **kwargs)
mmseg/core/box/samplers/mask_pseudo_sampler.py:15
Method__init__
(self, pipeline, img_dir, img_suffix='.jpg',
mmseg/datasets/custom.py:77
Method__init__
(self, **kwargs)
mmseg/datasets/bdd100k.py:11
Method__init__
(self, **kwargs)
mmseg/datasets/synthia.py:11
Method__init__
(self, datasets)
mmseg/datasets/dataset_wrappers.py:19
Method__init__
(self, dataset, times)
mmseg/datasets/dataset_wrappers.py:39
Method__init__
(self, img_suffix='.jpg', seg_map_suffix='.png', reduce_zero_l
mmseg/datasets/ade.py:85
Method__init__
(self, source, cfg)
mmseg/datasets/ug_dataset.py:39
Method__init__
(self, source, target, cfg)
mmseg/datasets/uda_dataset.py:40
Method__init__
(self, **kwargs)
mmseg/datasets/cityscapes.py:34
Method__init__
(self, **kwargs)
mmseg/datasets/mapillary.py:11
← previousnext →401–500 of 1,143, ranked by callers