MCPcopy Create free account

hub / github.com/Vchitect/Latte / functions

Functions555 in github.com/Vchitect/Latte

Method__init__
(self, capture_all=False, capture_mean_cov=False, max_items=None)
tools/metrics/metric_utils.py:65
Method__init__
(self, tag=None, num_items=None, flush_interval=1000, verbose=False, progress_fn=None, pfn_lo=0, pfn_hi=1000,
tools/metrics/metric_utils.py:145
Method__init__
(self, file_name: str = None, file_mode: str = "w", should_flush: bool = True)
tools/dnnlib/util.py:62
Method__init__
(self, diffusion)
diffusion/timestep_sampler.py:63
Method__init__
(self, diffusion, history_per_term=10, uniform_prob=0.001)
diffusion/timestep_sampler.py:121
Method__init__
( self, *, betas, model_mean_type, model_var_type, loss_
diffusion/gaussian_diffusion.py:153
Method__init__
(self, use_timesteps, **kwargs)
diffusion/respace.py:73
Method__init__
( self, tokenizer: T5Tokenizer, text_encoder: T5EncoderModel, vae: Autoencoder
sample/pipeline_latte.py:100
Method__init__
(self, num_threads=1, **kwargs)
datasets/ffs_datasets.py:101
Method__init__
(self, configs, transform=None, temporal_sample=None)
datasets/ffs_datasets.py:133
Method__init__
(self, size)
datasets/video_transforms.py:179
Method__init__
( self, size, interpolation_mode="bilinear", )
datasets/video_transforms.py:219
Method__init__
( self, size, interpolation_mode="bilinear", )
datasets/video_transforms.py:254
Method__init__
( self, size, interpolation_mode="bilinear", )
datasets/video_transforms.py:288
Method__init__
( self, size, interpolation_mode="bilinear", )
datasets/video_transforms.py:309
Method__init__
(self, mean, std, inplace=False)
datasets/video_transforms.py:348
Method__init__
(self)
datasets/video_transforms.py:370
Method__init__
(self, p=0.5)
datasets/video_transforms.py:393
Method__init__
(self, size)
datasets/video_transforms.py:420
Method__init__
(self, configs, transform, temporal_sample=None, train=True)
datasets/sky_datasets.py:16
Method__init__
(self, num_threads=1)
datasets/ucf101_image_datasets.py:117
Method__init__
(self, configs, transform=None, temporal_sample=None)
datasets/ucf101_image_datasets.py:148
Method__init__
(self, num_threads=1)
datasets/ucf101_datasets.py:116
Method__init__
(self, configs, transform=None, temporal_sample=None)
datasets/ucf101_datasets.py:147
Method__init__
(self, num_threads=1, **kwargs)
datasets/ffs_image_datasets.py:105
Method__init__
(self, configs, transform=None, temporal_sample=None)
datasets/ffs_image_datasets.py:137
Method__init__
(self, configs, transform, temporal_sample=None, train=True)
datasets/taichi_image_datasets.py:17
Method__init__
(self, configs, transform, temporal_sample=None, train=True)
datasets/taichi_datasets.py:17
Method__init__
(self, configs, transform, temporal_sample=None, train=True)
datasets/sky_image_datasets.py:15
Method__init__
(self, dim, num_heads=8, qkv_bias=False, attn_drop=0., proj_drop=0., use_lora=False, attention_mode='math')
models/latte.py:36
Method__init__
(self, hidden_size, frequency_embedding_size=256)
models/latte.py:88
Method__init__
(self, num_classes, hidden_size, dropout_prob)
models/latte.py:130
Method__init__
(self, hidden_size, num_heads, mlp_ratio=4.0, **block_kwargs)
models/latte.py:164
Method__init__
(self, hidden_size, patch_size, out_channels)
models/latte.py:188
Method__init__
(self)
models/clip.py:25
Method__init__
(self, path, device="cuda", max_length=77)
models/clip.py:35
Method__init__
(self, query_dim: int, context_dim: int, n_heads: int, d_head: int)
models/latte_t2v.py:40
Method__init__
( self, dim: int, dim_out: Optional[int] = None, mult: int = 4, dropou
models/latte_t2v.py:82
Method__init__
( self, dim: int, num_attention_heads: int, attention_head_dim: int, d
models/latte_t2v.py:161
Method__init__
(self, embedding_dim: int, use_additional_conditions: bool = False)
models/latte_t2v.py:409
Method__init__
(self, dim, num_heads=8, qkv_bias=False, attn_drop=0., proj_drop=0., use_lora=False, attention_mode='math')
models/latte_img.py:40
Method__init__
(self, hidden_size, frequency_embedding_size=256)
models/latte_img.py:91
Method__init__
(self, num_classes, hidden_size, dropout_prob)
models/latte_img.py:133
Method__init__
(self, hidden_size, num_heads, mlp_ratio=4.0, **block_kwargs)
models/latte_img.py:167
Method__init__
(self, hidden_size, patch_size, out_channels)
models/latte_img.py:191
Method__iter__
(self)
tools/torch_utils/misc.py:124
Method__len__
(self)
tools/utils/dataset.py:98
Method__len__
(self)
datasets/ffs_datasets.py:159
Method__len__
(self)
datasets/sky_datasets.py:47
Method__len__
(self)
datasets/ucf101_image_datasets.py:222
Method__len__
(self)
datasets/ucf101_datasets.py:180
Method__len__
(self)
datasets/ffs_image_datasets.py:195
Method__len__
(self)
datasets/taichi_image_datasets.py:76
Method__len__
(self)
datasets/taichi_datasets.py:50
Method__len__
(self)
datasets/sky_image_datasets.py:70
Method__repr__
(self)
datasets/ffs_datasets.py:117
Method__repr__
(self)
datasets/video_transforms.py:211
Method__repr__
(self)
datasets/video_transforms.py:246
Method__repr__
(self)
datasets/video_transforms.py:281
Method__repr__
(self)
datasets/video_transforms.py:335
Method__repr__
(self)
datasets/video_transforms.py:360
Method__repr__
(self)
datasets/video_transforms.py:382
Method__repr__
(self)
datasets/video_transforms.py:407
Method__repr__
(self)
datasets/ucf101_image_datasets.py:132
Method__repr__
(self)
datasets/ucf101_datasets.py:131
Method__repr__
(self)
datasets/ffs_image_datasets.py:121
Method__setattr__
(self, name: str, value: Any)
tools/dnnlib/util.py:49
Method_basic_init
(module)
models/latte.py:259
Method_basic_init
(module)
models/latte_img.py:261
Method_load_raw_labels
(self)
tools/utils/dataset.py:235
Method_load_raw_labels
We leave the `dataset.json` file in the same format as in the original SG2-ADA repo: it's `labels` field is a hashmap of filename-lab
tools/utils/dataset.py:359
Function_reconstruct_persistent_obj
r"""Hook that is called internally by the `pickle` module to unpickle a persistent object.
tools/torch_utils/persistence.py:179
Method_scale_timesteps
(self, t)
diffusion/respace.py:113
Method_set_gradient_checkpointing
(self, module, value=False)
models/latte_t2v.py:673
Methodas_dict
r"""Returns the averages accumulated between the last two calls to `update()` as an `dnnlib.EasyDict`. The contents are as follows:
tools/torch_utils/training_stats.py:212
Functionask_yes_no
Ask the user the question until the user inputs a valid answer.
tools/dnnlib/util.py:156
Functionassert_shape
(tensor, ref_shape)
tools/torch_utils/misc.py:80
Functionavg_pool_nd
Create a 1D, 2D, or 3D average pooling module.
models/utils.py:161
Methodbackward
(ctx, grad_output)
tools/torch_utils/ops/grid_sample_gradfix.py:54
Methodbackward
(ctx, grad2_grad_input, grad2_grad_grid)
tools/torch_utils/ops/grid_sample_gradfix.py:70
Methodbackward
(ctx, dy)
tools/torch_utils/ops/bias_act.py:161
Methodbackward
(ctx, d_dx)
tools/torch_utils/ops/bias_act.py:189
Methodbackward
(ctx, dy)
tools/torch_utils/ops/upfirdn2d.py:246
Methodbackward
(ctx, dout)
tools/torch_utils/ops/fma.py:29
Methodbackward
(ctx, grad_output)
tools/torch_utils/ops/conv2d_gradfix.py:119
Methodbackward
(ctx, grad2_grad_weight)
tools/torch_utils/ops/conv2d_gradfix.py:151
Functionbias_act
r"""Fused bias and activation function. Adds bias `b` to activation tensor `x`, evaluates activation function `act`, and scales the result by
tools/torch_utils/ops/bias_act.py:55
Methodcalc_bpd_loop
Compute the entire variational lower-bound, measured in bits-per-dim, as well as other related quantities. :param model: t
diffusion/gaussian_diffusion.py:813
Functioncalc_metric
(metric, num_runs: int=1, **kwargs)
tools/metrics/metric_main.py:43
Functioncenter_crop_arr
Center cropping implementation from ADM. https://github.com/openai/guided-diffusion/blob/8fb3ad9197f16bbc40620447b2742e13458d2831/guided_di
datasets/video_transforms.py:16
Functioncheck_ddp_consistency
(module, ignore_regex=None)
tools/torch_utils/misc.py:179
Functioncheckpoint
Evaluate a function without caching intermediate activations, allowing for reduced memory at the expense of extra compute in the backward p
models/utils.py:25
Methodclose
(self)
tools/utils/dataset.py:216
Methodclose
(self)
tools/utils/dataset.py:349
Functioncollect_env
()
utils.py:294
Functioncompute_feature_stats_for_dataset
( opts, detector_url, detector_kwargs, rel_lo=0, rel_hi=1, batch_size=64, data_loader_kwargs=None, max
tools/metrics/metric_utils.py:190
Functioncompute_feature_stats_for_generator
( opts, detector_url, detector_kwargs, rel_lo=0, rel_hi=1, batch_size: int=16, batch_gen=None, jit=Fal
tools/metrics/metric_utils.py:263
Functioncompute_fid
(opts, max_real, num_gen)
tools/metrics/frechet_inception_distance.py:22
Functioncompute_fvd
(opts, max_real: int, num_gen: int, num_frames: int, realdata_subsample_factor: int=3, gendata_subsample_facto
tools/metrics/frechet_video_distance.py:18
Functioncompute_is
(opts, num_gen, num_splits)
tools/metrics/inception_score.py:18
← previousnext →301–400 of 555, ranked by callers