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
cpu_only
(self)
annotator/uniformer/mmcv/parallel/data_container.py:68
Function
create_demo
(model: Model)
app_canny_db.py:27
Function
create_demo
(model: Model)
app_canny.py:7
Function
create_demo
(model: Model)
app_depth.py:7
Function
create_demo
(model: Model)
app_text_to_video.py:21
Function
create_demo
(model: Model)
app_pose.py:15
Function
create_demo
(model: Model)
app_pix2pix_video.py:7
Function
create_gif
(frames, fps, rescale=False, path=None, watermark=None)
utils.py:116
Function
create_video
(frames, fps, rescale=False, path=None, watermark=None)
utils.py:95
Function
cross_entropy
The wrapper function for :func:`F.cross_entropy`
annotator/uniformer/mmseg/models/losses/cross_entropy_loss.py:9
Method
current_frame
Get the current frame (frame that is just visited). Returns: ndarray or None: If the video is fresh, return None, otherwise
annotator/uniformer/mmcv/video/io.py:187
Function
cut_video
Cut a clip from a video. Args: in_file (str): Input video filename. out_file (str): Output video filename. start (None or
annotator/uniformer/mmcv/video/processing.py:93
Function
cutout
Randomly cut out a rectangle from the original img. Args: img (ndarray): Image to be cutout. shape (int | tuple[int]): Expected c
annotator/uniformer/mmcv/image/geometric.py:538
Method
cvt2frames
Convert a video to frame images. Args: frame_dir (str): Output directory to store all the frame images. file_start (i
annotator/uniformer/mmcv/video/io.py:198
Method
data
(self)
annotator/uniformer/mmcv/parallel/data_container.py:57
Method
datatype
(self)
annotator/uniformer/mmcv/parallel/data_container.py:61
Function
deconv_flops_counter_hook
(conv_module, input, output)
annotator/uniformer/mmcv/cnn/utils/flops_counter.py:440
Function
del_extra_repr
(m)
annotator/uniformer/mmcv/cnn/utils/flops_counter.py:295
Function
deprecated_api_warning
A decorator to check if some arguments are deprecate and try to replace deprecate src_arg_name to dst_arg_name. Args: name_dict(dict)
annotator/uniformer/mmcv/utils/misc.py:288
Function
dict_from_file
Load a text file and parse the content as a dict. Each line of the text file will be two or more columns split by whitespaces or tabs. The fi
annotator/uniformer/mmcv/fileio/parse.py:55
Function
disabled_train
Overwrite model.train with this function to make sure train/eval mode does not change anymore.
annotator/midas/api.py:26
Method
dot_product
(self, theta_x, phi_x)
annotator/uniformer/mmcv/cnn/bricks/non_local.py:135
Function
draw_bodypose
(canvas, candidate, subset)
annotator/openpose/util.py:37
Function
draw_handpose
(canvas, all_hand_peaks, show_number=False)
annotator/openpose/util.py:74
Function
dump
Dump data to json/yaml/pickle strings or files. This method provides a unified api for dumping data as strings or to files, and also supports
annotator/uniformer/mmcv/fileio/io.py:69
Method
dump_to_fileobj
(self, obj, file, **kwargs)
annotator/uniformer/mmcv/fileio/handlers/pickle_handler.py:22
Method
dump_to_fileobj
(self, obj, file, **kwargs)
annotator/uniformer/mmcv/fileio/handlers/yaml_handler.py:18
Method
dump_to_fileobj
(self, obj, file, **kwargs)
annotator/uniformer/mmcv/fileio/handlers/json_handler.py:30
Method
dump_to_path
(self, obj, filepath, mode='w', **kwargs)
annotator/uniformer/mmcv/fileio/handlers/base.py:28
Method
dump_to_path
(self, obj, filepath, **kwargs)
annotator/uniformer/mmcv/fileio/handlers/pickle_handler.py:26
Method
dump_to_str
(self, obj, **kwargs)
annotator/uniformer/mmcv/fileio/handlers/pickle_handler.py:18
Method
dump_to_str
(self, obj, **kwargs)
annotator/uniformer/mmcv/fileio/handlers/yaml_handler.py:22
Method
dump_to_str
(self, obj, **kwargs)
annotator/uniformer/mmcv/fileio/handlers/json_handler.py:34
Function
edge_path_to_video_path
(edge_path)
gradio_utils.py:6
Method
embedded_gaussian
Embedded gaussian with temperature.
annotator/uniformer/mmseg/models/decode_heads/dnl_head.py:21
Method
embedded_gaussian
(self, theta_x, phi_x)
annotator/uniformer/mmcv/cnn/bricks/non_local.py:124
Function
empty_flops_counter_hook
(module, input, output)
annotator/uniformer/mmcv/cnn/utils/flops_counter.py:400
Method
encode_decode
Placeholder for encode images with backbone and decode into a semantic segmentation map of the same size as input.
annotator/uniformer/mmseg/models/segmentors/base.py:45
Method
encode_decode
Encode images with backbone and decode into a semantic segmentation map of the same size as input.
annotator/uniformer/mmseg/models/segmentors/cascade_encoder_decoder.py:65
Method
epoch
int: Current epoch.
annotator/uniformer/mmcv/runner/base_runner.py:160
Method
epoch
(self)
annotator/uniformer/mmcv/runner/iter_based_runner.py:27
Method
evaluate
Evaluation in Cityscapes/default protocol. Args: results (list): Testing results of the dataset. metric (str | list[s
annotator/uniformer/mmseg/datasets/cityscapes.py:124
Method
exists
Check whether a file path exists. Args: filepath (str or Path): Path to be checked whether exists. Returns:
annotator/uniformer/mmcv/fileio/file_client.py:220
Method
exists
Check whether a file path exists. Args: filepath (str or Path): Path to be checked whether exists. Returns:
annotator/uniformer/mmcv/fileio/file_client.py:581
Method
extra_repr
Extra repr.
annotator/uniformer/mmseg/models/decode_heads/decode_head.py:88
Function
fake_func
(*args, **kwargs)
annotator/uniformer/mmcv/utils/ext_loader.py:43
Method
filename
(self)
annotator/uniformer/mmcv/utils/config.py:399
Method
find_next_comma
Find the position of next comma in the string. If no ',' is found in the string, return the string length. All chars inside '
annotator/uniformer/mmcv/utils/config.py:641
Function
find_vcs_root
Finds the root directory (including itself) of specified markers. Args: path (str): Path of directory or file. markers (list[str]
annotator/uniformer/mmcv/utils/path.py:83
Function
flops_repr
(self)
annotator/uniformer/mmcv/cnn/utils/flops_counter.py:273
Function
flow_from_bytes
Read dense optical flow from bytes. .. note:: This load optical flow function works for FlyingChairs, FlyingThings3D, Sintel, Fly
annotator/uniformer/mmcv/video/optflow.py:204
Function
flow_warp
Use flow to warp img. Args: img (ndarray, float or uint8): Image to be warped. flow (ndarray, float): Optical Flow. filli
annotator/uniformer/mmcv/video/optflow.py:143
Function
flowshow
Show optical flow. Args: flow (ndarray or str): The optical flow to be displayed. win_name (str): The window name. wait_t
annotator/uniformer/mmcv/visualization/optflow.py:11
Function
flowwrite
Write optical flow to file. If the flow is not quantized, it will be saved as a .flo file losslessly, otherwise a jpeg image which is lossy b
annotator/uniformer/mmcv/video/optflow.py:61
Function
fopen
(filepath, *args, **kwargs)
annotator/uniformer/mmcv/utils/path.py:13
Function
force_fp32
Decorator to convert input arguments to fp32 in force. This decorator is useful when you write custom modules and want to support mixed preci
annotator/uniformer/mmcv/runner/fp16_utils.py:141
Function
force_fp32_wrapper
(old_func)
annotator/uniformer/mmcv/runner/fp16_utils.py:176
Method
format_results
Place holder to format result to dataset specific output.
annotator/uniformer/mmseg/datasets/custom.py:227
Method
forward
(self, x)
annotator/uniformer/mmseg/ops/encoding.py:57
Method
forward
(self, x)
annotator/uniformer/mmseg/ops/wrappers.py:45
Method
forward
Calls either :func:`forward_train` or :func:`forward_test` depending on whether ``return_loss`` is ``True``. Note this setting will c
annotator/uniformer/mmseg/models/segmentors/base.py:111
Method
forward
(self, inputs)
annotator/uniformer/mmseg/models/necks/fpn.py:162
Method
forward
(self, inputs)
annotator/uniformer/mmseg/models/necks/multilevel_neck.py:55
Method
forward
(self, x)
annotator/uniformer/mmseg/models/backbones/resnest.py:28
Method
forward
(self, x)
annotator/uniformer/mmseg/models/backbones/resnest.py:117
Method
forward
(self, x)
annotator/uniformer/mmseg/models/backbones/resnest.py:226
Method
forward
Forward function.
annotator/uniformer/mmseg/models/backbones/unet.py:76
Method
forward
Forward function.
annotator/uniformer/mmseg/models/backbones/unet.py:137
Method
forward
Forward function.
annotator/uniformer/mmseg/models/backbones/unet.py:211
Method
forward
(self, x)
annotator/uniformer/mmseg/models/backbones/unet.py:376
Method
forward
(self, x)
annotator/uniformer/mmseg/models/backbones/cgnet.py:37
Method
forward
(self, x)
annotator/uniformer/mmseg/models/backbones/cgnet.py:142
Method
forward
(self, x)
annotator/uniformer/mmseg/models/backbones/cgnet.py:179
Method
forward
(self, x)
annotator/uniformer/mmseg/models/backbones/cgnet.py:309
Method
forward
(self, x)
annotator/uniformer/mmseg/models/backbones/vit.py:50
Method
forward
(self, x)
annotator/uniformer/mmseg/models/backbones/vit.py:89
Method
forward
(self, x)
annotator/uniformer/mmseg/models/backbones/vit.py:156
Method
forward
(self, x)
annotator/uniformer/mmseg/models/backbones/vit.py:201
Method
forward
(self, inputs)
annotator/uniformer/mmseg/models/backbones/vit.py:421
Method
forward
(self, x)
annotator/uniformer/mmseg/models/backbones/mobilenet_v3.py:233
Method
forward
(self, x)
annotator/uniformer/mmseg/models/backbones/uniformer.py:34
Method
forward
(self, x)
annotator/uniformer/mmseg/models/backbones/uniformer.py:53
Method
forward
(self, x)
annotator/uniformer/mmseg/models/backbones/uniformer.py:77
Method
forward
(self, x)
annotator/uniformer/mmseg/models/backbones/uniformer.py:97
Method
forward
(self, x)
annotator/uniformer/mmseg/models/backbones/uniformer.py:128
Method
forward
(self, x)
annotator/uniformer/mmseg/models/backbones/uniformer.py:185
Method
forward
(self, x)
annotator/uniformer/mmseg/models/backbones/uniformer.py:232
Method
forward
(self, x)
annotator/uniformer/mmseg/models/backbones/uniformer.py:420
Method
forward
Forward function.
annotator/uniformer/mmseg/models/backbones/hrnet.py:185
Method
forward
Forward function.
annotator/uniformer/mmseg/models/backbones/hrnet.py:510
Method
forward
(self, x)
annotator/uniformer/mmseg/models/backbones/fast_scnn.py:66
Method
forward
(self, x)
annotator/uniformer/mmseg/models/backbones/fast_scnn.py:172
Method
forward
(self, higher_res_feature, lower_res_feature)
annotator/uniformer/mmseg/models/backbones/fast_scnn.py:235
Method
forward
(self, x)
annotator/uniformer/mmseg/models/backbones/fast_scnn.py:367
Method
forward
(self, x)
annotator/uniformer/mmseg/models/backbones/mobilenet_v2.py:149
Method
forward
Forward function.
annotator/uniformer/mmseg/models/backbones/resnet.py:67
Method
forward
Forward function.
annotator/uniformer/mmseg/models/backbones/resnet.py:264
Method
forward
Forward function.
annotator/uniformer/mmseg/models/backbones/resnet.py:632
Method
forward
(self, x)
annotator/uniformer/mmseg/models/utils/drop.py:22
Method
forward
Forward function.
annotator/uniformer/mmseg/models/utils/self_attention_block.py:131
← previous
next →
1,201–1,300 of 1,788, ranked by callers