MCPcopy Create free account

hub / github.com/CVL-UESTC/MVAR / functions

Functions241 in github.com/CVL-UESTC/MVAR

↓ 1 callersMethodremaining
(self)
utils/evaluations/c2i/evaluator.py:445
↓ 1 callersFunctionsample_with_top_k_top_p_
(logits_BlV: torch.Tensor, top_k: int = 0, top_p: float = 0.0, rng=None, num_samples=1)
models/helpers.py:6
↓ 1 callersMethodseed_everything
(self, benchmark: bool)
utils/arg_util.py:142
↓ 1 callersMethodset_tf32
(tf32: bool)
utils/arg_util.py:215
↓ 1 callersFunctionslow_attn
(query, key, value, scale: float, attn_mask=None, dropout_p=0.0)
models/basic_mvar.py:40
↓ 1 callersMethodsynchronize_between_processes
(self)
utils/misc.py:347
↓ 1 callersMethodtime_preds
(self, counts)
utils/misc.py:296
↓ 1 callersMethodtrain_one_ep_ratio_k
( self, *, ep: int, is_first_ep: bool, start_it: int, args: ar
trainer.py:286
↓ 1 callersMethodtrain_step
( self, *, it: int, g_it: int, stepping: bool, metric_lg: Metr
trainer.py:203
↓ 1 callersMethodupdate_patch_related
(self, x_BlC, attn_bias)
models/mvar.py:316
↓ 1 callersMethodwarmup
(self)
utils/evaluations/c2i/evaluator.py:141
Method__call__
(self, pil_image)
utils/data.py:77
Method__del__
(self)
utils/misc.py:170
Method__enter__
(self)
utils/amp_sc.py:8
Method__exit__
(self, exc_type, exc_val, exc_tb)
utils/amp_sc.py:11
Method__getattr__
(self, attr: str)
utils/misc.py:182
Method__getattr__
(self, attr)
utils/misc.py:331
Method__getitem__
Args: index (int): Index Returns: tuple: (sample, target, filename).
utils/data.py:15
Method__getitem__
Args: index (int): Index Returns: tuple: (moments, target).
utils/data.py:46
Method__getitem__
(self, idx)
utils/data.py:163
Method__getitem__
(self, at_from_0_to_1: float)
models/quant.py:369
Method__getitem__
(self, at_from_0_to_1: float)
models/quant.py:387
Method__init__
(self, module, *args, **kwargs)
train.py:451
Method__init__
( self, *, device, patch_nums: Tuple[int, ...], resos: Tuple[int, ...]
trainer.py:32
Method__init__
(self, dataset, num_replicas, rank)
utils/data_sampler.py:7
Method__init__
( self, dataset_len, batch_size, seed_for_all_rank=0,
utils/data_sampler.py:21
Method__init__
( self, world_size, rank, dataset_len, glb_bat
utils/data_sampler.py:77
Method__init__
(self, local_output_dir, sync_stdout=True)
utils/misc.py:134
Method__init__
(self, lg, verbose)
utils/misc.py:175
Method__init__
(self, log_dir, filename_suffix)
utils/misc.py:187
Method__init__
(self, window_size=30, fmt=None)
utils/misc.py:252
Method__init__
(self, delimiter=" ")
utils/misc.py:315
Method__init__
( self, root: str, )
utils/data.py:36
Method__init__
(self, img_size)
utils/data.py:74
Method__init__
(self, label_list)
utils/data.py:157
Method__init__
( self, mixed_precision: int, optimizer: torch.optim.Optimizer, names: List[s
utils/amp_sc.py:16
Method__init__
(self, mu: np.ndarray, sigma: np.ndarray)
utils/evaluations/c2i/evaluator.py:74
Method__init__
( self, session, batch_size=64, softmax_batch_size=512, )
utils/evaluations/c2i/evaluator.py:125
Method__init__
Estimate the manifold of given feature vectors. :param session: the TensorFlow session. :param row_batch_size: row batch siz
utils/evaluations/c2i/evaluator.py:218
Method__init__
(self, session)
utils/evaluations/c2i/evaluator.py:375
Method__init__
(self, gen_fn, length)
utils/evaluations/c2i/evaluator.py:462
Method__init__
(self, arr_f, shape, dtype)
utils/evaluations/c2i/evaluator.py:474
Method__init__
(self, arr)
utils/evaluations/c2i/evaluator.py:500
Method__init__
( self, vocab_size, Cvae, using_znorm, beta: float = 0.25, def
models/quant.py:19
Method__init__
(self, qresi: Phi)
models/quant.py:350
Method__init__
(self, qresi_ls: nn.ModuleList)
models/quant.py:359
Method__init__
(self, qresi: List)
models/quant.py:377
Method__init__
( self, # VQVAE args vae_local: VQVAE, # MVAR args num_classes=1000,
models/mvar.py:39
Method__init__
(self, in_channels)
models/basic_vae.py:30
Method__init__
(self, in_channels)
models/basic_vae.py:41
Method__init__
( self, *, in_channels, out_channels=None, dropout )
models/basic_vae.py:52
Method__init__
(self, in_channels)
models/basic_vae.py:83
Method__init__
( self, *, ch=128, ch_mult=(1, 2, 4, 8), num_res_blocks=2, dro
models/basic_vae.py:213
Method__init__
(self, drop_prob: float = 0., scale_by_keep: bool = True)
models/helpers.py:50
Method__init__
( self, block_idx, embed_dim=768, num_heads=12, attn_drop=0.0,
models/basic_mvar.py:129
Method__init__
( self, block_idx, last_drop_p, embed_dim, cond_dim, shared_al
models/basic_mvar.py:264
Method__init__
(self, C, D, norm_layer)
models/basic_mvar.py:352
Method__init__
( self, vocab_size=4096, z_channels=32, ch=128, dropout=0.0, b
models/vqvae.py:18
Method__iter__
(self)
utils/data_sampler.py:13
Method__iter__
(self)
utils/data_sampler.py:60
Method__iter__
(self)
utils/evaluations/c2i/evaluator.py:469
Method__len__
(self)
utils/data_sampler.py:16
Method__len__
(self)
utils/data_sampler.py:72
Method__len__
(self)
utils/evaluations/c2i/evaluator.py:466
Method__str__
(self)
utils/misc.py:304
Method__str__
(self)
utils/misc.py:340
Method__str__
(self)
utils/arg_util.py:271
Functionallgather
(t: torch.Tensor, cat=True)
utils/dist.py:108
Functionallgather_diff_shape
(t: torch.Tensor, cat=True)
utils/dist.py:121
Methodavg
(self)
utils/misc.py:281
Functionbroadcast
(t: torch.Tensor, src_rank)
utils/dist.py:148
Methodclose
(self)
utils/misc.py:243
Functioncompile_model
(m, fast)
main_cache.py:58
Functiondist_fmt_vals
(val: float, fmt: Union[str, None] = '%.2f')
utils/dist.py:158
Methoddo_nothing
(*args, **kwargs)
utils/misc.py:179
Functionecho
(info)
utils/misc.py:50
Methodeini
(self, eini)
models/quant.py:72
Methodevaluate
Evaluate if new feature vectors are at the manifold.
utils/evaluations/c2i/evaluator.py:289
Methodextra_repr
(self)
models/quant.py:80
Methodextra_repr
(self)
models/quant.py:372
Methodextra_repr
(self)
models/quant.py:392
Methodextra_repr
(self)
models/mvar.py:518
Methodextra_repr
(self)
models/helpers.py:58
Methodextra_repr
(self)
models/basic_mvar.py:124
Methodextra_repr
(self)
models/basic_mvar.py:258
Methodextra_repr
(self)
models/basic_mvar.py:347
Functionfinalize
()
utils/dist.py:208
Methodflush
(self)
utils/misc.py:240
Functionfor_visualize
(func)
utils/dist.py:196
Methodforward
(self, *args, **kwargs)
train.py:456
Methodforward
H, W is the height and width after encoding
models/quant.py:84
Methodforward
(self, h_BChw)
models/quant.py:343
Methodforward
(self, cond_BD)
models/mvar.py:32
Methodforward
(self, x)
models/basic_vae.py:36
Methodforward
(self, x)
models/basic_vae.py:47
Methodforward
(self, x)
models/basic_vae.py:76
Methodforward
(self, x)
models/basic_vae.py:96
Methodforward
(self, x)
models/basic_vae.py:193
Methodforward
(self, z)
models/basic_vae.py:278
Methodforward
(self, x)
models/helpers.py:55
← previousnext →101–200 of 241, ranked by callers