Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Picsart-AI-Research/Text2Video-Zero
/ functions
Functions
1,788 in github.com/Picsart-AI-Research/Text2Video-Zero
⨍
Functions
1,788
◇
Types & classes
380
↳
Endpoints
1
Method
forward
Args: points_dist (Tensor): (B, N, N) Distance between each point pair. num_points (int): Number of points in the sam
annotator/uniformer/mmcv/ops/furthest_point_sample.py:55
Method
forward
(ctx, features, rois, out_size, spatial_scale,
annotator/uniformer/mmcv/ops/roi_align_rotated.py:39
Method
forward
(self, features, rois)
annotator/uniformer/mmcv/ops/roi_align_rotated.py:173
Method
forward
forward function of Criss-Cross Attention. Args: x (Tensor): Input feature. \ shape (batch_size, in_channels, hei
annotator/uniformer/mmcv/ops/cc_attention.py:52
Method
forward
(ctx, input, rois, output_size, spatial_scale=1.0)
annotator/uniformer/mmcv/ops/roi_pool.py:26
Method
forward
(self, input, rois)
annotator/uniformer/mmcv/ops/roi_pool.py:79
Method
forward
(ctx, input, target, gamma=2.0, alpha=0.25,
annotator/uniformer/mmcv/ops/focal_loss.py:29
Method
forward
(self, input, target)
annotator/uniformer/mmcv/ops/focal_loss.py:97
Method
forward
(ctx, input, target, gamma=2.0, alpha=0.25,
annotator/uniformer/mmcv/ops/focal_loss.py:123
Method
forward
(self, input, target)
annotator/uniformer/mmcv/ops/focal_loss.py:203
Method
forward
Args: features (Tensor): (B, C, N) features to gather. indices (Tensor): (B, M) where M is the number of points.
annotator/uniformer/mmcv/ops/gather_points.py:14
Method
forward
GPU version of multi-scale deformable attention. Args: value (Tensor): The value has shape (bs, num_keys, mum_hea
annotator/uniformer/mmcv/ops/multi_scale_deform_attn.py:23
Method
forward
Forward Function of MultiScaleDeformAttention. Args: query (Tensor): Query of Transformer with shape (num_query,
annotator/uniformer/mmcv/ops/multi_scale_deform_attn.py:252
Method
forward
Args: points_xyz (Tensor): (B, N, 3) xyz coordinates of the features. center_xyz (Tensor): (B, npoint, 3) coordinates
annotator/uniformer/mmcv/ops/group_points.py:67
Method
forward
Args: xyz (Tensor): (B, N, 3) xyz coordinates of the features. new_xyz (Tensor): new xyz coordinates of the features.
annotator/uniformer/mmcv/ops/group_points.py:145
Method
forward
Args: features (Tensor): (B, C, N) tensor of features to group. indices (Tensor): (B, npoint, nsample) the indices of
annotator/uniformer/mmcv/ops/group_points.py:177
Method
forward
(self, x)
annotator/uniformer/mmcv/cnn/alexnet.py:54
Method
forward
(self, x)
annotator/uniformer/mmcv/cnn/vgg.py:141
Method
forward
(self, x)
annotator/uniformer/mmcv/cnn/resnet.py:45
Method
forward
(self, x)
annotator/uniformer/mmcv/cnn/resnet.py:110
Method
forward
(self, x)
annotator/uniformer/mmcv/cnn/resnet.py:279
Method
forward
(self, x)
annotator/uniformer/mmcv/cnn/bricks/drop.py:43
Method
forward
(self, x_input)
annotator/uniformer/mmcv/cnn/bricks/generalized_attention.py:216
Method
forward
(self, x, activate=True, norm=True)
annotator/uniformer/mmcv/cnn/bricks/conv_module.py:196
Method
forward
(self, x)
annotator/uniformer/mmcv/cnn/bricks/conv_ws.py:49
Method
forward
(self, x)
annotator/uniformer/mmcv/cnn/bricks/conv_ws.py:109
Method
forward
(self, x)
annotator/uniformer/mmcv/cnn/bricks/context_block.py:111
Method
forward
(self, x)
annotator/uniformer/mmcv/cnn/bricks/upsample.py:44
Method
forward
(self, x)
annotator/uniformer/mmcv/cnn/bricks/depthwise_separable_conv_module.py:93
Method
forward
(self, x)
annotator/uniformer/mmcv/cnn/bricks/hsigmoid.py:31
Method
forward
(self, x)
annotator/uniformer/mmcv/cnn/bricks/swish.py:24
Method
forward
(self, x)
annotator/uniformer/mmcv/cnn/bricks/scale.py:20
Method
forward
(self, x)
annotator/uniformer/mmcv/cnn/bricks/non_local.py:160
Method
forward
(self, x)
annotator/uniformer/mmcv/cnn/bricks/conv2d_adaptive_padding.py:45
Method
forward
Forward function for `MultiheadAttention`. **kwargs allow passing a more general data flow when combining with other operations in `t
annotator/uniformer/mmcv/cnn/bricks/transformer.py:112
Method
forward
Forward function for `FFN`. The function would add x to the output tensor if residue is None.
annotator/uniformer/mmcv/cnn/bricks/transformer.py:269
Method
forward
Forward function for `TransformerDecoderLayer`. **kwargs contains some specific arguments of attentions. Args: query (Te
annotator/uniformer/mmcv/cnn/bricks/transformer.py:412
Method
forward
Forward function for `TransformerCoder`. Args: query (Tensor): Input query with shape `(num_queries, bs, embed_di
annotator/uniformer/mmcv/cnn/bricks/transformer.py:549
Method
forward
(self, x)
annotator/uniformer/mmcv/cnn/bricks/hswish.py:28
Method
forward
Forward function. Args: x (torch.Tensor): The input tensor. Returns: torch.Tensor: Clamped tensor.
annotator/uniformer/mmcv/cnn/bricks/activation.py:36
Method
forward
(self, input)
annotator/uniformer/mmcv/cnn/bricks/activation.py:70
Method
forward
(ctx, x, new_shape)
annotator/uniformer/mmcv/cnn/bricks/wrappers.py:31
Method
forward
(self, x)
annotator/uniformer/mmcv/cnn/bricks/wrappers.py:65
Method
forward
(self, x)
annotator/uniformer/mmcv/cnn/bricks/wrappers.py:88
Method
forward
(self, x)
annotator/uniformer/mmcv/cnn/bricks/wrappers.py:111
Method
forward
(self, x)
annotator/uniformer/mmcv/cnn/bricks/wrappers.py:131
Method
forward
(self, x)
annotator/uniformer/mmcv/cnn/bricks/wrappers.py:149
Method
forward
(self, x)
annotator/uniformer/mmcv/cnn/bricks/wrappers.py:168
Method
forward
(self, *inputs, **kwargs)
annotator/uniformer/mmcv/parallel/distributed_deprecated.py:55
Method
forward
Override the original forward function. The main difference lies in the CPU inference where the data in :class:`DataContainers` will
annotator/uniformer/mmcv/parallel/data_parallel.py:30
Method
forward
(self, x)
annotator/openpose/model.py:114
Method
forward
(self, x)
annotator/openpose/model.py:204
Method
forward
(self, x)
annotator/midas/api.py:165
Method
forward
(self, x)
annotator/midas/midas/vit.py:14
Method
forward
(self, x)
annotator/midas/midas/vit.py:23
Method
forward
(self, x)
annotator/midas/midas/vit.py:38
Method
forward
(self, x)
annotator/midas/midas/vit.py:51
Method
forward
Forward pass. Args: x (tensor): input data (image) Returns: tensor: depth
annotator/midas/midas/midas_net_custom.py:73
Method
forward
Forward pass. Args: x (tensor): input Returns: tensor: interpolated data
annotator/midas/midas/blocks.py:138
Method
forward
Forward pass. Args: x (tensor): input Returns: tensor: output
annotator/midas/midas/blocks.py:177
Method
forward
Forward pass. Returns: tensor: output
annotator/midas/midas/blocks.py:209
Method
forward
Forward pass. Args: x (tensor): input Returns: tensor: output
annotator/midas/midas/blocks.py:263
Method
forward
Forward pass. Returns: tensor: output
annotator/midas/midas/blocks.py:320
Method
forward
Forward pass. Args: x (tensor): input data (image) Returns: tensor: depth
annotator/midas/midas/midas_net.py:49
Method
forward
(self, x)
annotator/midas/midas/dpt_depth.py:107
Method
forward_dummy
Dummy forward function.
annotator/uniformer/mmseg/models/segmentors/encoder_decoder.py:130
Function
forward_flex
(self, x)
annotator/midas/midas/vit.py:117
Method
forward_test
Forward function for testing. Args: inputs (list[Tensor]): List of multi-level img features. img_metas (list[dict]):
annotator/uniformer/mmseg/models/decode_heads/decode_head.py:190
Method
forward_test
Forward function for testing. Args: inputs (list[Tensor]): List of multi-level img features. prev_output (Tensor): Th
annotator/uniformer/mmseg/models/decode_heads/point_head.py:203
Method
forward_test
Forward function for testing, ignore se_loss.
annotator/uniformer/mmseg/models/decode_heads/enc_head.py:151
Method
forward_test
Forward function for testing. Args: inputs (list[Tensor]): List of multi-level img features. prev_output (Tensor): Th
annotator/uniformer/mmseg/models/decode_heads/cascade_decode_head.py:41
Method
forward_test
Forward function for testing, only ``pam_cam`` is used.
annotator/uniformer/mmseg/models/decode_heads/da_head.py:160
Method
forward_train
Forward function for training. Args: inputs (list[Tensor]): List of multi-level img features. img_metas (list[dict]):
annotator/uniformer/mmseg/models/decode_heads/decode_head.py:170
Method
forward_train
Forward function for training. Args: inputs (list[Tensor]): List of multi-level img features. prev_output (Tensor): Th
annotator/uniformer/mmseg/models/decode_heads/point_head.py:165
Method
forward_train
Forward function for training. Args: inputs (list[Tensor]): List of multi-level img features. prev_output (Tensor): Th
annotator/uniformer/mmseg/models/decode_heads/cascade_decode_head.py:18
Method
fourcc
str: "Four character code" of the video.
annotator/uniformer/mmcv/video/io.py:115
Method
fps
float: FPS of the video.
annotator/uniformer/mmcv/video/io.py:105
Method
frame_cnt
int: Total frames of the video.
annotator/uniformer/mmcv/video/io.py:110
Function
frames2video
Read the frame images from a directory and join them as a video. Args: frame_dir (str): The directory containing video frames. vi
annotator/uniformer/mmcv/video/io.py:276
Function
fuse_conv_bn
Recursively fuse conv and bn in a module. During inference, the functionary of batch norm layers is turned off but only the mean and var alon
annotator/uniformer/mmcv/cnn/utils/fuse_conv_bn.py:27
Function
fuse_model
(m)
annotator/midas/midas/midas_net_custom.py:109
Method
gaussian
(self, theta_x, phi_x)
annotator/uniformer/mmcv/cnn/bricks/non_local.py:116
Method
get
(self, filepath)
annotator/uniformer/mmcv/fileio/file_client.py:39
Method
get
(self, filepath)
annotator/uniformer/mmcv/fileio/file_client.py:72
Method
get
(self, filepath)
annotator/uniformer/mmcv/fileio/file_client.py:440
Method
get
Get values according to the filepath. Args: filepath (str | obj:`Path`): Here, filepath is the lmdb key.
annotator/uniformer/mmcv/fileio/file_client.py:488
Method
get
Read data from a given ``filepath`` with 'rb' mode. Args: filepath (str or Path): Path to read data. Returns:
annotator/uniformer/mmcv/fileio/file_client.py:508
Function
get_canny_name_from_id
(id)
gradio_utils.py:85
Function
get_classes
Get class names of a dataset.
annotator/uniformer/mmseg/core/evaluation/class_names.py:121
Method
get_classifier
(self)
annotator/uniformer/mmseg/models/backbones/uniformer.py:376
Function
get_db_name_from_id
(id)
gradio_utils.py:80
Method
get_local_path
Download a file from ``filepath`` and return a temporary path. ``get_local_path`` is decorated by :meth:`contxtlib.contextmanager`. It
annotator/uniformer/mmcv/fileio/file_client.py:300
Method
get_local_path
Only for unified API and do nothing.
annotator/uniformer/mmcv/fileio/file_client.py:633
Method
get_local_path
Download a file from ``filepath``. ``get_local_path`` is decorated by :meth:`contxtlib.contextmanager`. It can be called with ``with`
annotator/uniformer/mmcv/fileio/file_client.py:703
Method
get_local_path
Download data from ``filepath`` and write the data to local path. ``get_local_path`` is decorated by :meth:`contxtlib.contextmanager`. It
annotator/uniformer/mmcv/fileio/file_client.py:1095
Method
get_lr
(self, runner, base_lr)
annotator/uniformer/mmcv/runner/hooks/lr_updater.py:162
Method
get_lr
(self, runner, base_lr)
annotator/uniformer/mmcv/runner/hooks/lr_updater.py:193
Method
get_lr
(self, runner, base_lr)
annotator/uniformer/mmcv/runner/hooks/lr_updater.py:220
Method
get_lr
(self, runner, base_lr)
annotator/uniformer/mmcv/runner/hooks/lr_updater.py:233
Method
get_lr
(self, runner, base_lr)
annotator/uniformer/mmcv/runner/hooks/lr_updater.py:252
← previous
next →
1,401–1,500 of 1,788, ranked by callers