MCPcopy Create free account

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

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

Function_check_py_package
(package)
annotator/uniformer/mmcv/utils/misc.py:244
Method_contain_invalid_identifier
(dict_str)
annotator/uniformer/mmcv/utils/config.py:453
Method_decode_head_forward_train
Run forward function and calculate loss for decode head in training.
annotator/uniformer/mmseg/models/segmentors/cascade_encoder_decoder.py:80
Method_do_evaluate
perform evaluation and save ckpt.
annotator/uniformer/mmcv/runner/hooks/evaluation.py:478
Method_format_basic_types
(k, v, use_mapping=False)
annotator/uniformer/mmcv/utils/config.py:421
Method_format_dict
(input_dict, outest_level=False)
annotator/uniformer/mmcv/utils/config.py:460
Method_format_list
(k, v, use_mapping=False)
annotator/uniformer/mmcv/utils/config.py:436
Method_get_init_info
(self)
annotator/uniformer/mmcv/cnn/utils/weight_init.py:157
Method_get_momentum
(optimizer)
annotator/uniformer/mmcv/runner/base_runner.py:233
Method_get_warmup_lr
(cur_iters, regular_lr)
annotator/uniformer/mmcv/runner/hooks/lr_updater.py:87
Method_get_warmup_momentum
(cur_iters, regular_momentum)
annotator/uniformer/mmcv/runner/hooks/momentum_updater.py:73
Method_indent
(s_, num_spaces)
annotator/uniformer/mmcv/utils/config.py:411
Method_init_decode_head
Initialize ``decode_head``
annotator/uniformer/mmseg/models/segmentors/cascade_encoder_decoder.py:38
Method_init_weights
(self, m)
annotator/uniformer/mmseg/models/backbones/uniformer.py:363
Method_inner_forward
(x)
annotator/uniformer/mmseg/models/backbones/resnest.py:228
Method_inner_forward
(x)
annotator/uniformer/mmseg/models/backbones/cgnet.py:39
Method_inner_forward
(x)
annotator/uniformer/mmseg/models/backbones/cgnet.py:144
Method_inner_forward
(x)
annotator/uniformer/mmseg/models/backbones/vit.py:158
Method_inner_forward
(x)
annotator/uniformer/mmseg/models/backbones/resnet.py:70
Method_inner_forward
(x)
annotator/uniformer/mmseg/models/backbones/resnet.py:267
Method_inner_forward
(x)
annotator/uniformer/mmseg/models/utils/inverted_residual.py:83
Method_inner_forward
(x)
annotator/uniformer/mmseg/models/utils/inverted_residual.py:185
Method_inner_forward
(x)
annotator/uniformer/mmcv/cnn/resnet.py:112
Method_is_power_of_2
(n)
annotator/uniformer/mmcv/ops/multi_scale_deform_attn.py:203
Method_list_dir_or_file
(dir_path, list_dir, list_file, suffix, recursive)
annotator/uniformer/mmcv/fileio/file_client.py:385
Method_list_dir_or_file
(dir_path, list_dir, list_file, suffix, recursive)
annotator/uniformer/mmcv/fileio/file_client.py:670
Method_load_from_state_dict
(self, state_dict, prefix, local_metadata, strict, missing_keys, unexpected_keys
annotator/uniformer/mmcv/ops/modulated_deform_conv.py:256
Method_load_from_state_dict
(self, state_dict, prefix, local_metadata, strict, missing_keys, unexpected_keys
annotator/uniformer/mmcv/ops/deform_conv.py:380
Method_log_handler
(prof)
annotator/uniformer/mmcv/runner/hooks/profiler.py:123
Function_make_pretrained_deitb16_384
(pretrained, use_readout="ignore", hooks=None)
annotator/midas/midas/vit.py:319
Function_make_pretrained_deitb16_distil_384
(pretrained, use_readout="ignore", hooks=None)
annotator/midas/midas/vit.py:328
Method_register
(cls)
annotator/uniformer/mmcv/utils/registry.py:310
Method_register
(loader_cls)
annotator/uniformer/mmcv/runner/checkpoint.py:204
Method_register
(backend_cls)
annotator/uniformer/mmcv/fileio/file_client.py:969
Function_resize_pos_embed
(self, posemb, gs_h, gs_w)
annotator/midas/midas/vit.py:100
Method_set_momentum
(self, runner, momentum_groups)
annotator/uniformer/mmcv/runner/hooks/momentum_updater.py:448
Functionaccumulate_flops
(self)
annotator/uniformer/mmcv/cnn/utils/flops_counter.py:264
Functionaccumulate_params
(self)
annotator/uniformer/mmcv/cnn/utils/flops_counter.py:255
Functionadd_extra_repr
(m)
annotator/uniformer/mmcv/cnn/utils/flops_counter.py:286
Functionadd_flops_counter_hook_function
(module)
annotator/uniformer/mmcv/cnn/utils/flops_counter.py:364
Functionadd_flops_counter_variable_or_reset
(module)
annotator/uniformer/mmcv/cnn/utils/flops_counter.py:530
Functionade_classes
ADE20K class names for external use.
annotator/uniformer/mmseg/core/evaluation/class_names.py:14
Functionade_palette
ADE20K palette for external use.
annotator/uniformer/mmseg/core/evaluation/class_names.py:63
Functionadjust_brightness
Adjust image brightness. This function controls the brightness of an image. An enhancement factor of 0.0 gives a black image. A factor of
annotator/uniformer/mmcv/image/photometric.py:176
Functionadjust_color
r"""It blends the source image and its gray image: .. math:: output = img * alpha + gray\_img * beta + gamma Args: img (ndar
annotator/uniformer/mmcv/image/photometric.py:100
Functionadjust_contrast
Adjust image contrast. This function controls the contrast of an image. An enhancement factor of 0.0 gives a solid grey image. A factor o
annotator/uniformer/mmcv/image/photometric.py:208
Functionadjust_lighting
AlexNet-style PCA jitter. This data augmentation is proposed in `ImageNet Classification with Deep Convolutional Neural Networks <https:/
annotator/uniformer/mmcv/image/photometric.py:338
Functionadjust_sharpness
Adjust image sharpness. This function controls the sharpness of an image. An enhancement factor of 0.0 gives a blurred image. A factor of
annotator/uniformer/mmcv/image/photometric.py:294
Methodafter_epoch
(self, runner)
annotator/uniformer/mmcv/runner/hooks/memory.py:23
Methodafter_epoch
All-reduce model buffers at the end of each epoch.
annotator/uniformer/mmcv/runner/hooks/sync_buffer.py:19
Methodafter_iter
(self, runner)
annotator/uniformer/mmcv/runner/hooks/memory.py:15
Methodafter_iter
(self, runner)
annotator/uniformer/mmcv/runner/hooks/iter_timer.py:16
Methodafter_run
(self, runner)
annotator/uniformer/mmcv/runner/hooks/hook.py:16
Methodafter_run
(self, runner)
annotator/uniformer/mmcv/runner/hooks/logger/tensorboard.py:56
Methodafter_run
(self, runner)
annotator/uniformer/mmcv/runner/hooks/logger/text.py:238
Methodafter_run
(self, runner)
annotator/uniformer/mmcv/runner/hooks/logger/neptune.py:81
Methodafter_run
(self, runner)
annotator/uniformer/mmcv/runner/hooks/logger/wandb.py:55
Methodafter_run
(self, runner)
annotator/uniformer/mmcv/runner/hooks/logger/pavi.py:89
Methodafter_run
(self, runner)
annotator/uniformer/mmcv/runner/hooks/logger/mlflow.py:76
Methodafter_train_epoch
After train epoch hook. Override default ``single_gpu_test``.
annotator/uniformer/mmseg/core/evaluation/eval_hooks.py:42
Methodafter_train_epoch
After train epoch hook. Override default ``multi_gpu_test``.
annotator/uniformer/mmseg/core/evaluation/eval_hooks.py:93
Methodafter_train_epoch
We load parameter values from ema backup to model before the EvalHook.
annotator/uniformer/mmcv/runner/hooks/ema.py:73
Methodafter_train_epoch
(self, runner)
annotator/uniformer/mmcv/runner/hooks/profiler.py:166
Methodafter_train_epoch
(self, runner)
annotator/uniformer/mmcv/runner/hooks/checkpoint.py:102
Methodafter_train_epoch
(self, runner)
annotator/uniformer/mmcv/runner/hooks/hook.py:37
Methodafter_train_epoch
(self, runner)
annotator/uniformer/mmcv/runner/hooks/logger/base.py:156
Methodafter_train_iter
After train epoch hook. Override default ``single_gpu_test``.
annotator/uniformer/mmseg/core/evaluation/eval_hooks.py:26
Methodafter_train_iter
After train epoch hook. Override default ``multi_gpu_test``.
annotator/uniformer/mmseg/core/evaluation/eval_hooks.py:74
Methodafter_train_iter
(self, runner)
annotator/uniformer/mmcv/runner/hooks/optimizer.py:33
Methodafter_train_iter
(self, runner)
annotator/uniformer/mmcv/runner/hooks/optimizer.py:105
Methodafter_train_iter
Backward optimization steps for Mixed Precision Training. For dynamic loss scaling, please refer to https://pytorch.org/docs/s
annotator/uniformer/mmcv/runner/hooks/optimizer.py:209
Methodafter_train_iter
(self, runner)
annotator/uniformer/mmcv/runner/hooks/optimizer.py:255
Methodafter_train_iter
Update ema parameter every self.interval iterations.
annotator/uniformer/mmcv/runner/hooks/ema.py:60
Methodafter_train_iter
(self, runner)
annotator/uniformer/mmcv/runner/hooks/profiler.py:174
Methodafter_train_iter
(self, runner)
annotator/uniformer/mmcv/runner/hooks/checkpoint.py:153
Methodafter_train_iter
(self, runner)
annotator/uniformer/mmcv/runner/hooks/hook.py:49
Methodafter_train_iter
(self, runner)
annotator/uniformer/mmcv/runner/hooks/logger/base.py:142
Methodafter_val_epoch
(self, runner)
annotator/uniformer/mmcv/runner/hooks/hook.py:40
Methodafter_val_epoch
(self, runner)
annotator/uniformer/mmcv/runner/hooks/logger/base.py:162
Methodafter_val_iter
(self, runner)
annotator/uniformer/mmcv/runner/hooks/hook.py:52
Methodallow_symlink
(self)
annotator/uniformer/mmcv/fileio/file_client.py:35
Methodallow_symlink
(self)
annotator/uniformer/mmcv/fileio/file_client.py:827
Functionallreduce_grads
(params, coalesce=True, bucket_size_mb=-1)
annotator/uniformer/mmcv/runner/fp16_utils.py:227
Functionannealing_linear
Calculate annealing linear learning rate. Linear anneal from `start` to `end` as percentage goes from 0.0 to 1.0. Args: start (float
annotator/uniformer/mmcv/runner/hooks/lr_updater.py:645
Functionapi_warning_wrapper
(old_func)
annotator/uniformer/mmcv/utils/misc.py:301
Functionapply_min_size
Rezise the sample to ensure the given size. Keeps aspect ratio. Args: sample (dict): sample size (tuple): image size Returns
annotator/midas/midas/transforms.py:6
Functionassert_attrs_equal
Check if attribute of class object is correct. Args: obj (object): Class object to be checked. expected_attrs (Dict[str, Any]): D
annotator/uniformer/mmcv/utils/testing.py:61
Functionassert_dict_contains_subset
Check if the dict_obj contains the expected_subset. Args: dict_obj (Dict[Any, Any]): Dict object to be checked. expected_subset (
annotator/uniformer/mmcv/utils/testing.py:42
Functionassert_dict_has_keys
Check if the obj has all the expected_keys. Args: obj (Dict[str, Any]): Object to be checked. expected_keys (List[str]): Keys exp
annotator/uniformer/mmcv/utils/testing.py:77
Functionassert_is_norm_layer
Check if the module is a norm layer. Args: module (nn.Module): The module to be checked. Returns: bool: Whether the module i
annotator/uniformer/mmcv/utils/testing.py:105
Functionassert_keys_equal
Check if target_keys is equal to result_keys. Args: result_keys (List[str]): Result keys to be checked. target_keys (List[str]):
annotator/uniformer/mmcv/utils/testing.py:92
Functionassert_params_all_zeros
Check if the parameters of the module is all zeros. Args: module (nn.Module): The module to be checked. Returns: bool: Wheth
annotator/uniformer/mmcv/utils/testing.py:120
Functionassert_tensor_type
(func)
annotator/uniformer/mmcv/parallel/data_container.py:7
Methodaug_test
Test with augmentations. Only rescale=True is supported.
annotator/uniformer/mmseg/models/segmentors/encoder_decoder.py:281
Methodauto_argparser
Generate argparser from config file automatically (experimental)
annotator/uniformer/mmcv/utils/config.py:366
Functionauto_contrast
Auto adjust image contrast. This function maximize (normalize) image contrast by first removing cutoff percent of the lightest and darkest pi
annotator/uniformer/mmcv/image/photometric.py:238
Functionauto_fp16
Decorator to enable fp16 training automatically. This decorator is useful when you write custom modules and want to support mixed precision t
annotator/uniformer/mmcv/runner/fp16_utils.py:55
Functionauto_fp16_wrapper
(old_func)
annotator/uniformer/mmcv/runner/fp16_utils.py:88
Methodbackward
(ctx, a=None, b=None)
annotator/uniformer/mmcv/ops/three_nn.py:47
Methodbackward
(ctx, grad_output)
annotator/uniformer/mmcv/ops/carafe.py:58
← previousnext →1,001–1,100 of 1,788, ranked by callers