MCPcopy Create free account

hub / github.com/showlab/Show-o / functions

Functions766 in github.com/showlab/Show-o

FunctionResnetBlockCausal3D
( dim, kernel_size: Union[int, Tuple[int, int, int]], pad_mode: str = "constant" )
models/common_modules.py:284
Method__Euler_Maruyama_step
(self, x, mean_x, t, model, **model_kwargs)
show-o2/transport/integrators.py:27
Method__Heun_step
(self, x, _, t, model, **model_kwargs)
show-o2/transport/integrators.py:37
Method__call__
(self, output_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
llava/llava/mm_utils.py:244
Method__call__
(self, *args, **kwargs)
show-o2/models/my_logging.py:304
Method__call__
input (tuple) : data pairs contain text(str), image(tensor), or videos(tensor). task (str) : a flag indicates the current task.
training/prompting_utils.py:400
Method__call__
(self, *args, **kwargs)
models/logging.py:304
Method__enter__
(self)
show-o2/models/my_logging.py:296
Method__enter__
(self)
models/logging.py:296
Method__exit__
(self, type_, value, traceback)
show-o2/models/my_logging.py:299
Method__exit__
(self, type_, value, traceback)
models/logging.py:299
Method__getattr__
(self, attr)
llava/llava/utils.py:70
Method__getattr__
The only reason we overwrite `getattr` here is to gracefully deprecate accessing config attributes directly. See https://github.com/huggingfac
show-o2/models/modeling_utils.py:139
Method__getattr__
Return empty function.
show-o2/models/my_logging.py:288
Method__getattr__
The only reason we overwrite `getattr` here is to gracefully deprecate accessing config attributes directly. See https://github.com/huggingfac
models/modeling_utils.py:139
Method__getattr__
Return empty function.
models/logging.py:288
Method__getitem__
(self, key)
show-o2/transport/utils.py:9
Method__getitem__
(self, idx)
show-o2/datasets/mmu_dataset.py:157
Method__getitem__
(self, idx: int)
show-o2/datasets/image_text_dataset.py:98
Method__getitem__
(self, idx: int)
show-o2/datasets/vist_dataset.py:173
Method__getitem__
(self, idx: int)
show-o2/datasets/imagenet_dataset.py:104
Method__getitem__
(self, idx)
training/imagenet_dataset.py:54
Method__init__
(self, tokenizer, phase, )
llava/llava_data_vq_unified.py:128
Method__init__
(self, tokenizer)
llava/llava_pretrain_data.py:59
Method__init__
(self, tokenizer)
llava/llava_instruct_data.py:133
Method__init__
(self, logger, log_level=logging.INFO)
llava/llava/utils.py:64
Method__init__
(self, keywords, tokenizer, input_ids)
llava/llava/mm_utils.py:217
Method__init__
(self, data_path, rank: int = 0, world_size: int = 1,
parquet/refinedweb_dataset.py:24
Method__init__
(self)
show-o2/utils.py:93
Method__init__
( self, drift, diffusion, *, t0, t1, num_steps,
show-o2/transport/integrators.py:8
Method__init__
( self, drift, *, t0, t1, sampler_type, num_steps,
show-o2/transport/integrators.py:82
Method__init__
(self, sigma_min=0.1, sigma_max=20.0)
show-o2/transport/path.py:152
Method__init__
(self, sigma=0.0)
show-o2/transport/path.py:186
Method__init__
(self, sub_dict)
show-o2/transport/utils.py:5
Method__init__
(self, *, model_type, path_type, loss_type, train_eps, sample_eps, snr_type, do_shift, seq_len)
show-o2/transport/transport.py:43
Method__init__
Constructor for a general sampler; supporting different sampling methods Args: - transport: an tranport object specify model predictio
show-o2/transport/transport.py:258
Method__init__
( self, root: str, text_tokenizer, max_seq_len=1024,
show-o2/datasets/mmu_dataset.py:30
Method__init__
(self, anno_path: str, text_tokenizer: Any, max_seq_len: in
show-o2/datasets/image_text_dataset.py:36
Method__init__
(self, loader_list: List[DataLoader], samp_probs: List[float] = [0.1],
show-o2/datasets/mixed_dataloader.py:34
Method__init__
Initializes the VIST dataset. Args: root: Root directory of images. text_tokenizer: Tokenizer for text processing.
show-o2/datasets/vist_dataset.py:31
Method__init__
(self, root: str, text_tokenizer: Any, max_seq_len: int = 3
show-o2/datasets/imagenet_dataset.py:36
Method__init__
Qwen2RMSNorm is equivalent to T5LayerNorm
show-o2/models/qwen2.py:74
Method__init__
( self, dim=None, max_position_embeddings=2048, base=10000, device=Non
show-o2/models/qwen2.py:95
Method__init__
(self, config: Qwen2Config, layer_idx: Optional[int] = None)
show-o2/models/qwen2.py:251
Method__init__
(self, *args, **kwargs)
show-o2/models/qwen2.py:362
Method__init__
(self, config: Qwen2Config, layer_idx: int)
show-o2/models/qwen2.py:581
Method__init__
(self, config: Qwen2Config)
show-o2/models/qwen2.py:796
Method__init__
(self, config)
show-o2/models/qwen2.py:1094
Method__init__
(self, config)
show-o2/models/qwen2.py:1227
Method__init__
(self, config)
show-o2/models/qwen2.py:1343
Method__init__
(self, config)
show-o2/models/qwen2.py:1435
Method__init__
(self)
show-o2/models/modeling_utils.py:136
Method__init__
(self, hidden_size, frequency_embedding_size=256)
show-o2/models/misc.py:161
Method__init__
(self, hidden_size, patch_size, out_channels)
show-o2/models/misc.py:202
Method__init__
(self, model, del_last_layer=True)
show-o2/models/misc.py:219
Method__init__
(self, model, del_last_layer=False)
show-o2/models/misc.py:243
Method__init__
A wrapper for extracting features from the penultimate layer of a vision transformer model. Args: model: The pre-trained
show-o2/models/misc.py:267
Method__init__
( self, llm_vocab_size=None, llm_model_path='', load_from_show
show-o2/models/modeling_showo2_qwen2_5.py:34
Method__init__
( self, llm_vocab_size=None, llm_model_path='', load_from_show
show-o2/models/modeling_semantic_layers.py:29
Method__init__
(self, config: SiglipVisionConfig)
show-o2/models/modeling_siglip.py:267
Method__init__
(self, config: SiglipTextConfig)
show-o2/models/modeling_siglip.py:340
Method__init__
(self, config)
show-o2/models/modeling_siglip.py:376
Method__init__
(self, *args, **kwargs)
show-o2/models/modeling_siglip.py:458
Method__init__
(self, config: SiglipConfig)
show-o2/models/modeling_siglip.py:632
Method__init__
(self, config: SiglipConfig)
show-o2/models/modeling_siglip.py:861
Method__init__
(self, config: SiglipTextConfig)
show-o2/models/modeling_siglip.py:941
Method__init__
(self, config: SiglipTextConfig)
show-o2/models/modeling_siglip.py:1020
Method__init__
(self, config: SiglipVisionConfig)
show-o2/models/modeling_siglip.py:1074
Method__init__
(self, config: SiglipVisionConfig)
show-o2/models/modeling_siglip.py:1133
Method__init__
(self, config: SiglipVisionConfig)
show-o2/models/modeling_siglip.py:1162
Method__init__
(self, config: SiglipConfig)
show-o2/models/modeling_siglip.py:1220
Method__init__
(self, config: SiglipConfig)
show-o2/models/modeling_siglip.py:1468
Method__init__
(self, *args, **kwargs)
show-o2/models/my_logging.py:282
Method__init__
(self)
show-o2/models/modules.py:46
Method__init__
(self, hidden_size=2048, head_dim=64, intermediate_size=8192)
show-o2/models/modules.py:73
Method__init__
(self, config: DiffusionHeadConfig, layer_idx: int)
show-o2/models/modules.py:110
Method__init__
( self, dim=None, max_position_embeddings=2048, base=10000,
show-o2/models/modules.py:256
Method__init__
(self, config: DiffusionHeadConfig, layer_idx: Optional[int] = None)
show-o2/models/modules.py:357
Method__init__
RMSNorm is equivalent to T5LayerNorm
show-o2/models/modules.py:581
Method__init__
(self, config, layer_idx: int)
show-o2/models/modules.py:626
Method__init__
( self, patch_size=16, in_chans=3, embed_dim=768,
show-o2/models/modules.py:708
Method__init__
(self, hidden_size, frequency_embedding_size=256)
show-o2/models/modules.py:742
Method__init__
(self, hidden_size, patch_size, out_channels)
show-o2/models/modules.py:783
Method__init__
(self, model, del_last_layer=True)
show-o2/models/modules.py:810
Method__init__
(self, model, del_last_layer=False)
show-o2/models/modules.py:834
Method__init__
A wrapper for extracting features from the penultimate layer of a vision transformer model. Args: model: The pre-trained
show-o2/models/modules.py:858
Method__init__
(self, *args, **kwargs)
show-o2/models/wan21_vae.py:22
Method__init__
(self, dim, channel_first=True, images=True, bias=False)
show-o2/models/wan21_vae.py:41
Method__init__
(self, dim, mode)
show-o2/models/wan21_vae.py:68
Method__init__
(self, in_dim, out_dim, dropout=0.0)
show-o2/models/wan21_vae.py:188
Method__init__
(self, dim)
show-o2/models/wan21_vae.py:228
Method__init__
(self, dim=128, z_dim=4, dim_mult=[1, 2, 4, 4],
show-o2/models/wan21_vae.py:267
Method__init__
(self, dim=128, z_dim=4, dim_mult=[1, 2, 4, 4],
show-o2/models/wan21_vae.py:371
Method__init__
(self, dim=128, z_dim=4, dim_mult=[1, 2, 4, 4],
show-o2/models/wan21_vae.py:485
Method__init__
(self, ckpt='damo/mplug_visual-question-answering_coco_large_en', device='gpu')
show-o2/evaluation/compute_dpg_bench.py:54
Method__init__
:param text_tokenizer: original text tokenizer
training/prompting_utils.py:19
Method__init__
Initialize the hyperparameters. Args: params (iterable): iterable of parameters to optimize or dicts defining parameter
training/optimizer.py:23
Method__init__
(self)
training/utils.py:163
Method__init__
(self, batch_size_t2i, batch_size_lm, batch_size_mmu, S, t2i_image_begin_end=[(128, 1152)], mmu_end=1027, righ
training/omni_attention.py:24
Method__init__
( self, root: str, loader: Callable[[str], Any] = default_loader, is_valid_fil
training/imagenet_dataset.py:25
← previousnext →301–400 of 766, ranked by callers