MCPcopy Create free account

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

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

Methodbackward
(ctx, grad_output)
annotator/uniformer/mmcv/ops/carafe.py:147
Methodbackward
(ctx, grad_output)
annotator/uniformer/mmcv/ops/border_align.py:48
Methodbackward
Args: grad_out (Tensor): (B, C, N) tensor with gradients of outputs Returns: Tensor: (B, C, M) tensor with g
annotator/uniformer/mmcv/ops/three_interpolate.py:47
Methodbackward
(ctx, grad_output)
annotator/uniformer/mmcv/ops/modulated_deform_conv.py:97
Methodbackward
(ctx, grad_output)
annotator/uniformer/mmcv/ops/masked_conv.py:79
Methodbackward
(ctx, grad_output)
annotator/uniformer/mmcv/ops/correlation.py:63
Methodbackward
(ctx, grad_output)
annotator/uniformer/mmcv/ops/psa_mask.py:48
Methodbackward
Args: grad_out (torch.Tensor): (B, out_dim, npoint, K) Returns: grad_scores (torch.Tensor): (B, npoint, K, M
annotator/uniformer/mmcv/ops/assign_score_withk.py:81
Methodbackward
(ctx, grad_output)
annotator/uniformer/mmcv/ops/tin_shift.py:35
Methodbackward
(ctx, grad_output)
annotator/uniformer/mmcv/ops/corner_pool.py:32
Methodbackward
(ctx, grad_output)
annotator/uniformer/mmcv/ops/corner_pool.py:53
Methodbackward
(ctx, grad_output)
annotator/uniformer/mmcv/ops/corner_pool.py:74
Methodbackward
(ctx, grad_output)
annotator/uniformer/mmcv/ops/corner_pool.py:95
Methodbackward
(ctx, grad_output)
annotator/uniformer/mmcv/ops/roi_align.py:110
Methodbackward
(ctx, grad_output)
annotator/uniformer/mmcv/ops/deform_conv.py:114
Methodbackward
(ctx, grad_voxel_feats, grad_voxel_coors=None)
annotator/uniformer/mmcv/ops/scatter_points.py:44
Methodbackward
(ctx, grad_output)
annotator/uniformer/mmcv/ops/deform_roi_pool.py:67
Methodbackward
(ctx, gradgrad_input)
annotator/uniformer/mmcv/ops/upfirdn2d.py:152
Methodbackward
(ctx, grad_output)
annotator/uniformer/mmcv/ops/upfirdn2d.py:225
Methodbackward
(ctx, a=None)
annotator/uniformer/mmcv/ops/ball_query.py:51
Methodbackward
(ctx, grad_out)
annotator/uniformer/mmcv/ops/roiaware_pool3d.py:105
Methodbackward
(ctx, grad_out)
annotator/uniformer/mmcv/ops/roipoint_pool3d.py:76
Methodbackward
(self, grad_output)
annotator/uniformer/mmcv/ops/sync_bn.py:129
Methodbackward
(ctx, gradgrad_input, gradgrad_bias)
annotator/uniformer/mmcv/ops/fused_bias_leakyrelu.py:142
Methodbackward
(ctx, grad_output)
annotator/uniformer/mmcv/ops/fused_bias_leakyrelu.py:181
Methodbackward
(xyz, a=None)
annotator/uniformer/mmcv/ops/furthest_point_sample.py:46
Methodbackward
(xyz, a=None)
annotator/uniformer/mmcv/ops/furthest_point_sample.py:78
Methodbackward
(ctx, grad_output)
annotator/uniformer/mmcv/ops/roi_align_rotated.py:82
Methodbackward
(ctx, grad_output)
annotator/uniformer/mmcv/ops/roi_pool.py:52
Methodbackward
(ctx, grad_output)
annotator/uniformer/mmcv/ops/focal_loss.py:66
Methodbackward
(ctx, grad_output)
annotator/uniformer/mmcv/ops/focal_loss.py:171
Methodbackward
(ctx, grad_out)
annotator/uniformer/mmcv/ops/gather_points.py:40
Methodbackward
GPU version of backward function. Args: grad_output (Tensor): Gradient of output tensor of forward. Retu
annotator/uniformer/mmcv/ops/multi_scale_deform_attn.py:61
Methodbackward
Args: grad_out (Tensor): (B, C, npoint, nsample) tensor of the gradients of the output from forward. Ret
annotator/uniformer/mmcv/ops/group_points.py:202
Methodbackward
(ctx, grad)
annotator/uniformer/mmcv/cnn/bricks/wrappers.py:36
Functionbatch_counter_hook
(module, input, output)
annotator/uniformer/mmcv/cnn/utils/flops_counter.py:498
Functionbatched_nms
Performs non-maximum suppression in a batched fashion. Modified from https://github.com/pytorch/vision/blob /505cd6957711af790211896d32b40291
annotator/uniformer/mmcv/ops/nms.py:260
Functionbbox_overlaps
Calculate overlap between two set of bboxes. If ``aligned`` is ``False``, then calculate the ious between each bbox of bboxes1 and bboxes2, o
annotator/uniformer/mmcv/ops/bbox.py:7
Methodbefore_epoch
(self, runner)
annotator/uniformer/mmcv/runner/hooks/memory.py:19
Methodbefore_epoch
(self, runner)
annotator/uniformer/mmcv/runner/hooks/iter_timer.py:10
Methodbefore_epoch
(self, runner)
annotator/uniformer/mmcv/runner/hooks/sampler_seed.py:14
Methodbefore_epoch
(self, runner)
annotator/uniformer/mmcv/runner/hooks/logger/base.py:139
Methodbefore_epoch
(self, runner)
annotator/uniformer/mmcv/runner/hooks/logger/pavi.py:107
Methodbefore_iter
(self, runner)
annotator/uniformer/mmcv/runner/hooks/iter_timer.py:13
Methodbefore_run
Preparing steps before Mixed Precision Training.
annotator/uniformer/mmcv/runner/hooks/optimizer.py:184
Methodbefore_run
(self, runner)
annotator/uniformer/mmcv/runner/hooks/evaluation.py:202
Methodbefore_run
To resume model with it's ema parameters more friendly. Register ema parameter as ``named_buffer`` to model
annotator/uniformer/mmcv/runner/hooks/ema.py:41
Methodbefore_run
(self, runner)
annotator/uniformer/mmcv/runner/hooks/momentum_updater.py:273
Methodbefore_run
(self, runner)
annotator/uniformer/mmcv/runner/hooks/momentum_updater.py:371
Methodbefore_run
(self, runner)
annotator/uniformer/mmcv/runner/hooks/profiler.py:107
Methodbefore_run
(self, runner)
annotator/uniformer/mmcv/runner/hooks/checkpoint.py:71
Methodbefore_run
(self, runner)
annotator/uniformer/mmcv/runner/hooks/hook.py:13
Methodbefore_run
(self, runner)
annotator/uniformer/mmcv/runner/hooks/lr_updater.py:472
Methodbefore_run
(self, runner)
annotator/uniformer/mmcv/runner/hooks/lr_updater.py:575
Methodbefore_run
(self, runner)
annotator/uniformer/mmcv/runner/hooks/logger/tensorboard.py:24
Methodbefore_run
(self, runner)
annotator/uniformer/mmcv/runner/hooks/logger/text.py:89
Methodbefore_run
(self, runner)
annotator/uniformer/mmcv/runner/hooks/logger/neptune.py:62
Methodbefore_run
(self, runner)
annotator/uniformer/mmcv/runner/hooks/logger/wandb.py:34
Methodbefore_run
(self, runner)
annotator/uniformer/mmcv/runner/hooks/logger/base.py:133
Methodbefore_run
(self, runner)
annotator/uniformer/mmcv/runner/hooks/logger/pavi.py:36
Methodbefore_run
(self, runner)
annotator/uniformer/mmcv/runner/hooks/logger/mlflow.py:62
Methodbefore_run
(self, runner)
annotator/uniformer/mmcv/runner/hooks/logger/dvclive.py:50
Methodbefore_train_epoch
Evaluate the model only at the start of training by epoch.
annotator/uniformer/mmcv/runner/hooks/evaluation.py:236
Methodbefore_train_epoch
We recover model's parameter from ema backup after last epoch's EvalHook.
annotator/uniformer/mmcv/runner/hooks/ema.py:78
Methodbefore_train_epoch
(self, runner)
annotator/uniformer/mmcv/runner/hooks/momentum_updater.py:128
Methodbefore_train_epoch
(self, runner)
annotator/uniformer/mmcv/runner/hooks/hook.py:31
Methodbefore_train_epoch
(self, runner)
annotator/uniformer/mmcv/runner/hooks/lr_updater.py:126
Methodbefore_train_iter
Evaluate the model only at the start of training by iteration.
annotator/uniformer/mmcv/runner/hooks/evaluation.py:228
Methodbefore_train_iter
(self, runner)
annotator/uniformer/mmcv/runner/hooks/momentum_updater.py:134
Methodbefore_train_iter
(self, runner)
annotator/uniformer/mmcv/runner/hooks/hook.py:43
Methodbefore_train_iter
(self, runner)
annotator/uniformer/mmcv/runner/hooks/lr_updater.py:137
Methodbefore_val_epoch
(self, runner)
annotator/uniformer/mmcv/runner/hooks/hook.py:34
Methodbefore_val_iter
(self, runner)
annotator/uniformer/mmcv/runner/hooks/hook.py:46
Functionbgr2ycbcr
Convert a BGR image to YCbCr image. The bgr version of rgb2ycbcr. It implements the ITU-R BT.601 conversion for standard-definition telev
annotator/uniformer/mmcv/image/colorspace.py:177
Functionbinary_cross_entropy
Calculate the binary CrossEntropy loss. Args: pred (torch.Tensor): The prediction with shape (N, 1). label (torch.Tensor): The le
annotator/uniformer/mmseg/models/losses/cross_entropy_loss.py:57
Functionbox_iou_rotated
Return intersection-over-union (Jaccard index) of boxes. Both sets of boxes are expected to be in (x_center, y_center, width, height, angle)
annotator/uniformer/mmcv/ops/box_iou_rotated.py:7
Functionboxes_iou_bev
Calculate boxes IoU in the Bird's Eye View. Args: boxes_a (torch.Tensor): Input boxes a with shape (M, 5). boxes_b (torch.Tensor)
annotator/uniformer/mmcv/ops/iou3d.py:12
Functionbuild_backbone
Build backbone.
annotator/uniformer/mmseg/models/builder.py:15
Functionbuild_head
Build head.
annotator/uniformer/mmseg/models/builder.py:25
Functionbuild_model_from_cfg
Build a PyTorch model from config dict(s). Different from ``build_from_cfg``, if cfg is a list, a ``nn.Sequential`` will be built. Args:
annotator/uniformer/mmcv/cnn/builder.py:6
Functionbuild_neck
Build neck.
annotator/uniformer/mmseg/models/builder.py:20
Functionbuild_positional_encoding
Builder for Position Encoding.
annotator/uniformer/mmcv/cnn/bricks/transformer.py:33
Functionbuild_transformer_layer_sequence
Builder for transformer encoder and transformer decoder.
annotator/uniformer/mmcv/cnn/bricks/transformer.py:53
Functioncaffe2_xavier_init
(module, bias=0)
annotator/uniformer/mmcv/cnn/utils/weight_init.py:110
Functioncalculate_uncertainty
Estimate uncertainty based on seg logits. For each location of the prediction ``seg_logits`` we estimate uncertainty as the difference betwee
annotator/uniformer/mmseg/models/decode_heads/point_head.py:14
Functioncanny_select
(evt: gr.SelectData)
app_canny_db.py:22
Methodcapacity
(self)
annotator/uniformer/mmcv/video/io.py:23
Functioncheck_python_script
Run the python cmd script with `__main__`. The difference between `os.system` is that, this function exectues code in the current process, so
annotator/uniformer/mmcv/utils/testing.py:10
Functioncityscapes_classes
Cityscapes class names for external use.
annotator/uniformer/mmseg/core/evaluation/class_names.py:4
Functioncityscapes_palette
Cityscapes palette for external use.
annotator/uniformer/mmseg/core/evaluation/class_names.py:54
Functionclahe
Use CLAHE method to process the image. See `ZUIDERVELD,K. Contrast Limited Adaptive Histogram Equalization[J]. Graphics Gems, 1994:474-485.`
annotator/uniformer/mmcv/image/photometric.py:405
Methodcls_seg
Classify each pixel.
annotator/uniformer/mmseg/models/decode_heads/decode_head.py:207
Functioncollect_env
Collect the information of the running environments. Returns: dict: The environment information. The following fields are contained.
annotator/uniformer/mmcv/utils/env.py:16
Functioncompute_average_flops_cost
Compute average FLOPs cost. A method to compute average FLOPs cost, which will be available after `add_flops_counting_methods()` is called on
annotator/uniformer/mmcv/cnn/utils/flops_counter.py:337
Functionconcat_list
Concatenate a list of list into a single list. Args: in_list (list): The list of list to be merged. Returns: list: The conca
annotator/uniformer/mmcv/utils/misc.py:194
Functionconcat_video
Concatenate multiple videos into a single one. Args: video_list (list): A list of video filenames out_file (str): Output video fi
annotator/uniformer/mmcv/video/processing.py:128
Methodconcatenation
(self, theta_x, phi_x)
annotator/uniformer/mmcv/cnn/bricks/non_local.py:143
Functioncontour_expand
Expand kernel contours so that foreground pixels are assigned into instances. Arguments: kernel_mask (np.array or Tensor): The instan
annotator/uniformer/mmcv/ops/contour_expand.py:10
Functionconv_flops_counter_hook
(conv_module, input, output)
annotator/uniformer/mmcv/cnn/utils/flops_counter.py:467
Functionconvert_color
(img)
annotator/uniformer/mmcv/image/colorspace.py:279
← previousnext →1,101–1,200 of 1,788, ranked by callers