MCPcopy Create free account

hub / github.com/Picsart-AI-Research/Text2Video-Zero / functions

Functions1,788 in github.com/Picsart-AI-Research/Text2Video-Zero

↓ 1 callersMethod__init__
(self, *args, by_epoch=False, efficient_test=False, **kwargs)
annotator/uniformer/mmseg/core/evaluation/eval_hooks.py:22
↓ 1 callersMethod__init__
(self, split, **kwargs)
annotator/uniformer/mmseg/datasets/pascal_context.py:47
↓ 1 callersMethod__init__
(self, groups=1, base_width=4, **kwargs)
annotator/uniformer/mmseg/models/backbones/resnext.py:134
↓ 1 callersMethod__init__
(self, extra, in_channels=3, conv_cfg=None,
annotator/uniformer/mmseg/models/backbones/hrnet.py:273
↓ 1 callersMethod__init__
(self, in_channels, out_channels, stride,
annotator/uniformer/mmseg/models/utils/inverted_residual.py:31
↓ 1 callersMethod__init__
(self, c1_in_channels, c1_channels, **kwargs)
annotator/uniformer/mmseg/models/decode_heads/sep_aspp_head.py:42
↓ 1 callersMethod__init__
(self, dilations=(1, 6, 12, 18), **kwargs)
annotator/uniformer/mmseg/models/decode_heads/aspp_head.py:64
↓ 1 callersMethod__init__
(self, reduction=2, use_scale=True, mode='embedded_gaussian
annotator/uniformer/mmseg/models/decode_heads/dnl_head.py:102
↓ 1 callersMethod__init__
(self, pool_scales, in_channels, channels, conv_cfg, norm_cfg, act_cfg, align_corners)
annotator/uniformer/mmseg/models/decode_heads/psp_head.py:24
↓ 1 callersMethod__init__
(self, num_codes=32, use_se_loss=True, add_lateral=False,
annotator/uniformer/mmseg/models/decode_heads/enc_head.py:78
↓ 1 callersMethod__init__
(self, filter_size, fusion, in_channels, channels, conv_cfg, norm_cfg, act_cfg)
annotator/uniformer/mmseg/models/decode_heads/dm_head.py:24
↓ 1 callersMethod__init__
(self, ema_channels, num_bases, num_stages,
annotator/uniformer/mmseg/models/decode_heads/ema_head.py:94
↓ 1 callersMethod__init__
(self, pool_scale, fusion, in_channels, channels, conv_cfg, norm_cfg, act_cfg)
annotator/uniformer/mmseg/models/decode_heads/apc_head.py:25
↓ 1 callersMethod__init__
(self, in_channels, out_channels, kernel_size,
annotator/uniformer/mmcv/ops/modulated_deform_conv.py:160
↓ 1 callersMethod__init__
(self, in_channels: int, out_channels: int, kernel_size: Un
annotator/uniformer/mmcv/ops/deform_conv.py:228
↓ 1 callersMethod__init__
(self, gamma, alpha, weight=None, reduction='mean')
annotator/uniformer/mmcv/ops/focal_loss.py:90
↓ 1 callersMethod__init__
(self, use_xyz: bool = True)
annotator/uniformer/mmcv/ops/group_points.py:141
↓ 1 callersMethod__init__
(self, start=True, print_tmpl=None)
annotator/uniformer/mmcv/utils/timer.py:38
↓ 1 callersMethod__init__
(self, dataloader, start=None, interval=1,
annotator/uniformer/mmcv/runner/hooks/evaluation.py:85
↓ 1 callersMethod__init__
(self, drop_prob=0.5, inplace=False)
annotator/uniformer/mmcv/cnn/bricks/drop.py:59
↓ 1 callersMethod__init__
(self, in_channels, out_channels, kernel_size,
annotator/uniformer/mmcv/cnn/bricks/conv_ws.py:28
↓ 1 callersMethod__init__
(self)
annotator/openpose/model.py:25
↓ 1 callersMethod__init__
( self, head, features=256, backbone="vitb_rn50_384", readout="project
annotator/midas/midas/dpt_depth.py:27
↓ 1 callersMethod_add_children
Add children for a registry. The ``registry`` will be added as children based on its scope. The parent registry could build objects f
annotator/uniformer/mmcv/utils/registry.py:214
↓ 1 callersMethod_auxiliary_head_forward_train
Run forward function and calculate loss for auxiliary head in training.
annotator/uniformer/mmseg/models/segmentors/encoder_decoder.py:113
↓ 1 callersMethod_binary_op
(self, x1, x2)
annotator/uniformer/mmcv/ops/merge_cells.py:89
↓ 1 callersMethod_check_branches
Check branches configuration.
annotator/uniformer/mmseg/models/backbones/hrnet.py:46
↓ 1 callersMethod_check_input_divisible
(self, x)
annotator/uniformer/mmseg/models/backbones/unet.py:399
↓ 1 callersFunction_concat_dataset
Build :obj:`ConcatDataset by.
annotator/uniformer/mmseg/datasets/builder.py:25
↓ 1 callersMethod_convert_to_label_id
Convert trainId to id for cityscapes.
annotator/uniformer/mmseg/datasets/cityscapes.py:39
↓ 1 callersMethod_convert_to_onehot_labels
Convert segmentation label to onehot. Args: seg_label (Tensor): Segmentation label of shape (N, H, W). num_classes (i
annotator/uniformer/mmseg/models/decode_heads/enc_head.py:159
↓ 1 callersMethod_decode_head_forward_test
Run forward function and calculate loss for decode head in inference.
annotator/uniformer/mmseg/models/segmentors/encoder_decoder.py:107
↓ 1 callersMethod_decode_head_forward_train
Run forward function and calculate loss for decode head in training.
annotator/uniformer/mmseg/models/segmentors/encoder_decoder.py:96
↓ 1 callersMethod_dump_init_info
Dump the initialization information to a file named `initialization.log.json` in workdir. Args: logger_name (str): The na
annotator/uniformer/mmcv/runner/base_module.py:137
↓ 1 callersMethod_evaluate_cityscapes
Evaluation in Cityscapes protocol. Args: results (list): Testing results of the dataset. logger (logging.Logger | str
annotator/uniformer/mmseg/datasets/cityscapes.py:164
↓ 1 callersFunction_expand_onehot_labels
Expand onehot labels to match the size of prediction.
annotator/uniformer/mmseg/models/losses/cross_entropy_loss.py:35
↓ 1 callersMethod_file2dict
(filename, use_predefined_variables=True)
annotator/uniformer/mmcv/utils/config.py:179
↓ 1 callersMethod_freeze_stages
(self)
annotator/uniformer/mmseg/models/backbones/mobilenet_v3.py:242
↓ 1 callersMethod_freeze_stages
(self)
annotator/uniformer/mmseg/models/backbones/mobilenet_v2.py:164
↓ 1 callersFunction_fuse_conv_bn
Fuse conv and bn into one module. Args: conv (nn.Module): Conv to be fused. bn (nn.Module): BN to be fused. Returns:
annotator/uniformer/mmcv/cnn/utils/fuse_conv_bn.py:6
↓ 1 callersMethod_get_checkpoint_loader
Finds a loader that supports the given path. Falls back to the local loader if no other loader is found. Args: path (str)
annotator/uniformer/mmcv/runner/checkpoint.py:211
↓ 1 callersFunction_get_conv
()
annotator/uniformer/mmcv/utils/parrots_wrapper.py:41
↓ 1 callersFunction_get_cuda_home
()
annotator/uniformer/mmcv/utils/parrots_wrapper.py:21
↓ 1 callersFunction_get_dataloader
()
annotator/uniformer/mmcv/utils/parrots_wrapper.py:49
↓ 1 callersFunction_get_extension
()
annotator/uniformer/mmcv/utils/parrots_wrapper.py:58
↓ 1 callersMethod_get_init_info
(self)
annotator/uniformer/mmcv/cnn/utils/weight_init.py:194
↓ 1 callersMethod_get_init_info
(self)
annotator/uniformer/mmcv/cnn/utils/weight_init.py:237
↓ 1 callersMethod_get_init_info
(self)
annotator/uniformer/mmcv/cnn/utils/weight_init.py:280
↓ 1 callersMethod_get_init_info
(self)
annotator/uniformer/mmcv/cnn/utils/weight_init.py:335
↓ 1 callersMethod_get_init_info
(self)
annotator/uniformer/mmcv/cnn/utils/weight_init.py:378
↓ 1 callersMethod_get_init_info
(self)
annotator/uniformer/mmcv/cnn/utils/weight_init.py:440
↓ 1 callersMethod_get_init_info
(self)
annotator/uniformer/mmcv/cnn/utils/weight_init.py:506
↓ 1 callersMethod_get_max_memory
(self, runner)
annotator/uniformer/mmcv/runner/hooks/logger/text.py:109
↓ 1 callersFunction_get_norm
()
annotator/uniformer/mmcv/utils/parrots_wrapper.py:81
↓ 1 callersFunction_get_pool
()
annotator/uniformer/mmcv/utils/parrots_wrapper.py:69
↓ 1 callersFunction_get_shear_matrix
Generate the shear matrix for transformation. Args: magnitude (int | float): The magnitude used for shear. direction (str): The f
annotator/uniformer/mmcv/image/geometric.py:593
↓ 1 callersFunction_get_translate_matrix
Generate the translate matrix. Args: offset (int | float): The offset used for translate. direction (str): The translate directio
annotator/uniformer/mmcv/image/geometric.py:662
↓ 1 callersMethod_has_inf_or_nan
Check if params contain NaN.
annotator/uniformer/mmcv/runner/fp16_utils.py:358
↓ 1 callersMethod_init_auxiliary_head
Initialize ``auxiliary_head``
annotator/uniformer/mmseg/models/segmentors/encoder_decoder.py:49
↓ 1 callersMethod_init_decode_head
Initialize ``decode_head``
annotator/uniformer/mmseg/models/segmentors/encoder_decoder.py:43
↓ 1 callersFunction_init_dist_mpi
(backend, **kwargs)
annotator/uniformer/mmcv/runner/dist_utils.py:35
↓ 1 callersFunction_init_dist_pytorch
(backend, **kwargs)
annotator/uniformer/mmcv/runner/dist_utils.py:27
↓ 1 callersFunction_init_dist_slurm
Initialize slurm distributed training environment. If argument ``port`` is not specified, then the master port will be system environment var
annotator/uniformer/mmcv/runner/dist_utils.py:43
↓ 1 callersMethod_init_inputs
Check and initialize input transforms. The in_channels, in_index and input_transform must match. Specifically, when input_transform i
annotator/uniformer/mmseg/models/decode_heads/decode_head.py:95
↓ 1 callersFunction_initialize_override
(module, override, cfg)
annotator/uniformer/mmcv/cnn/utils/weight_init.py:520
↓ 1 callersMethod_is_in
(self, param_group, param_group_list)
annotator/uniformer/mmcv/runner/optimizer/default_constructor.py:128
↓ 1 callersFunction_load_checkpoint
Load checkpoint from somewhere (modelzoo, file, url). Args: filename (str): Accept local filepath, URL, ``torchvision://xxx``,
annotator/uniformer/mmcv_custom/checkpoint.py:225
↓ 1 callersFunction_load_checkpoint_with_prefix
Load partial pretrained model with specific prefix. Args: prefix (str): The prefix of sub-module. filename (str): Accept local fi
annotator/uniformer/mmcv/runner/checkpoint.py:470
↓ 1 callersMethod_log_info
(self, log_dict, runner)
annotator/uniformer/mmcv/runner/hooks/logger/text.py:119
↓ 1 callersMethod_make_branches
Build multiple branch.
annotator/uniformer/mmseg/models/backbones/hrnet.py:109
↓ 1 callersFunction_make_efficientnet_backbone
(effnet)
annotator/midas/midas/blocks.py:88
↓ 1 callersMethod_make_fuse_layers
Build fuse layer.
annotator/uniformer/mmseg/models/backbones/hrnet.py:119
↓ 1 callersMethod_make_layer
(self)
annotator/uniformer/mmseg/models/backbones/mobilenet_v3.py:104
↓ 1 callersMethod_make_layer
Make each layer.
annotator/uniformer/mmseg/models/backbones/hrnet.py:418
↓ 1 callersMethod_make_one_branch
Build one branch.
annotator/uniformer/mmseg/models/backbones/hrnet.py:64
↓ 1 callersFunction_make_pretrained_efficientnet_lite3
(use_pretrained, exportable=False)
annotator/midas/midas/blocks.py:78
↓ 1 callersFunction_make_pretrained_resnext101_wsl
(use_pretrained)
annotator/midas/midas/blocks.py:114
↓ 1 callersFunction_make_pretrained_vitb16_384
(pretrained, use_readout="ignore", hooks=None)
annotator/midas/midas/vit.py:310
↓ 1 callersFunction_make_pretrained_vitb_rn50_384
( pretrained, use_readout="ignore", hooks=None, use_vit_only=False )
annotator/midas/midas/vit.py:478
↓ 1 callersFunction_make_pretrained_vitl16_384
(pretrained, use_readout="ignore", hooks=None)
annotator/midas/midas/vit.py:297
↓ 1 callersFunction_make_resnet_backbone
(resnet)
annotator/midas/midas/blocks.py:101
↓ 1 callersMethod_make_stem_layer
Make stem layer for ResNet.
annotator/uniformer/mmseg/models/backbones/resnet.py:532
↓ 1 callersFunction_make_vit_b_rn50_backbone
( model, features=[256, 512, 768, 768], size=[384, 384], hooks=[0, 1, 8, 11], vit_features
annotator/midas/midas/vit.py:343
↓ 1 callersFunction_minimal_ext_cmd
(cmd)
annotator/uniformer/mmcv/utils/version_utils.py:50
↓ 1 callersFunction_no_grad_trunc_normal_
Reference: https://people.sc.fsu.edu/~jburkardt/presentations /truncated_normal.pdf
annotator/uniformer/mmseg/models/utils/weight_init.py:10
↓ 1 callersFunction_no_grad_trunc_normal_
(tensor: Tensor, mean: float, std: float, a: float, b: float)
annotator/uniformer/mmcv/cnn/utils/weight_init.py:622
↓ 1 callersMethod_output_size
(ctx, input, weight)
annotator/uniformer/mmcv/ops/modulated_deform_conv.py:137
↓ 1 callersMethod_output_size
(ctx, input1)
annotator/uniformer/mmcv/ops/correlation.py:96
↓ 1 callersMethod_output_size
(ctx, input, weight)
annotator/uniformer/mmcv/ops/deform_conv.py:173
↓ 1 callersMethod_pad_img
Pad images according to ``self.size``.
annotator/uniformer/mmseg/datasets/pipelines/transforms.py:321
↓ 1 callersMethod_pad_seg
Pad masks according to ``results['pad_shape']``.
annotator/uniformer/mmseg/datasets/pipelines/transforms.py:334
↓ 1 callersMethod_parse_int_float_bool
(val)
annotator/uniformer/mmcv/utils/config.py:607
↓ 1 callersMethod_parse_iterable
Parse iterable values in the string. All elements inside '()' or '[]' are treated as iterable values. Args: val (str): V
annotator/uniformer/mmcv/utils/config.py:621
↓ 1 callersMethod_parse_losses
Parse the raw outputs (losses) of the network. Args: losses (dict): Raw output of the network, which usually contain
annotator/uniformer/mmseg/models/segmentors/base.py:173
↓ 1 callersMethod_pos_embeding
Positiong embeding method. Resize the pos_embed, if the input image size doesn't match the training size. Args:
annotator/uniformer/mmseg/models/backbones/vit.py:359
↓ 1 callersMethod_pre_substitute_base_vars
Substitute base variable placehoders to string, so that parsing would work.
annotator/uniformer/mmcv/utils/config.py:128
↓ 1 callersFunction_process_mmcls_checkpoint
(checkpoint)
annotator/uniformer/mmcv/runner/checkpoint.py:151
↓ 1 callersFunction_process_mmcls_checkpoint
(checkpoint)
annotator/uniformer/mmcv_custom/checkpoint.py:214
↓ 1 callersMethod_random_scale
Randomly sample an img_scale according to ``ratio_range`` and ``multiscale_mode``. If ``ratio_range`` is specified, a ratio will be s
annotator/uniformer/mmseg/datasets/pipelines/transforms.py:139
↓ 1 callersFunction_register_handler
Register a handler for some file extensions. Args: handler (:obj:`BaseFileHandler`): Handler to be registered. file_formats (str
annotator/uniformer/mmcv/fileio/io.py:126
← previousnext →301–400 of 1,788, ranked by callers