MCPcopy Create free account

hub / github.com/baaivision/Emu / functions

Functions524 in github.com/baaivision/Emu

Method__call__
(self, url)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/data_reader.py:125
Method__call__
(self, url)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/data_reader.py:159
Method__call__
(self, row)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/data_reader.py:228
Method__call__
(self, x)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/dataloader/filters.py:17
Method__call__
(self, sample)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/dataloader/filters.py:37
Method__call__
(self, sample)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/dataloader/filters.py:51
Method__call__
(self, sample)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/dataloader/filters.py:69
Method__call__
(self, data)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/dataloader/transform.py:98
Method__call__
(self, sample)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/dataloader/transform.py:150
Method__call__
(self, *args, **kwargs)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/dataloader/video_decode.py:36
Method__call__
(self, key, data)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/dataloader/video_decode.py:159
Method__call__
( self, row, )
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/workers/subset_worker.py:33
Method__call__
( self, row, )
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/workers/download_worker.py:98
Method__call__
(self, streams, metadata)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/subsamplers/noop_subsampler.py:8
Method__call__
(self, streams, metadata)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/subsamplers/clipping_subsampler.py:36
Method__call__
(self, streams)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/subsamplers/cut_detection_subsampler.py:40
Method__call__
(self, video_bytes)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/subsamplers/resolution_subsampler.py:25
Method__call__
(self, audio_bytes)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/subsamplers/audio_rate_subsampler.py:22
Method__call__
(self, video_bytes)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/subsamplers/frame_subsampler.py:21
Method__call__
For chat generation, inputs must be List[List[str | Image.Image]] Otherwise, inputs must be List[str | Image.Image]
Emu2/demo/backend/hf_model/emu/chat.py:79
Method__getitem__
(self, index)
Emu1/mm_eval/datasets/okvqa.py:47
Method__getitem__
(self, item)
Emu1/mm_eval/datasets/mmvet.py:39
Method__getitem__
(self, index)
Emu1/mm_eval/datasets/visdial.py:65
Method__getitem__
(self, index)
Emu1/mm_eval/datasets/vqav2.py:52
Method__getitem__
(self, item)
Emu1/mm_eval/datasets/coco.py:47
Method__getitem__
(self, index)
Emu1/mm_eval/datasets/vizwiz.py:52
Method__getitem__
(self, value)
Emu1/mm_eval/models/trie.py:96
Method__getitem__
(self, value)
Emu1/mm_eval/models/trie.py:151
Method__init__
( self, shard_list, input_format, done_shards, )
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/output_sharder.py:17
Method__init__
(self, output_file, schema, buffer_size=100)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/data_writer.py:16
Method__init__
(self, shard_id, output_folder, save_caption, oom_shard_count, schema, encode_formats)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/data_writer.py:59
Method__init__
(self, shard_id, output_folder, save_caption, oom_shard_count, schema, encode_formats)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/data_writer.py:94
Method__init__
(self, shard_id, output_folder, save_caption, oom_shard_count, schema, encode_formats)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/data_writer.py:137
Method__init__
(self, shard_id, output_folder, save_caption, oom_shard_count, schema, encode_formats)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/data_writer.py:240
Method__init__
(self, shard_id, output_folder, save_caption, oom_shard_count, schema, encode_formats)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/data_writer.py:297
Method__init__
(self, max_size=10**5)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/logger.py:16
Method__init__
(self, prefix, enable_wandb, **logger_args)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/logger.py:86
Method__init__
(self, max_status=100, min_interval=60, enable_wandb=False, **logger_args)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/logger.py:158
Method__init__
(self, output_folder, enable_wandb, wandb_project, config_parameters, log_interval=5)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/logger.py:216
Method__init__
( self, url_list, input_format, url_col, caption_col, clip_col
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/input_sharder.py:28
Method__init__
(self, timeout, tmp_dir, encode_formats)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/data_reader.py:120
Method__init__
(self, tmp_dir, metadata_args, video_size, audio_rate, encode_formats)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/data_reader.py:152
Method__init__
(self, video_size, audio_rate, dl_timeout, tmp_dir, yt_meta_args, encode_formats)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/data_reader.py:224
Method__init__
(self, languages="en", lang_key="txt")
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/dataloader/filters.py:10
Method__init__
(self, video_key="mp4")
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/dataloader/filters.py:34
Method__init__
(self, aesthetic_thld=None, aesthetic_key="AESTHETIC_SCORE")
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/dataloader/filters.py:47
Method__init__
(self, p_unsafe_threshold)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/dataloader/filters.py:66
Method__init__
( self, size=None, crop_size=None, random_crop=False, key="mp4",
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/dataloader/transform.py:15
Method__init__
(self, cuts_key, video_key="mp4")
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/dataloader/transform.py:146
Method__init__
(self, *args, cuts_key="npy", **kwargs)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/dataloader/video_decode.py:150
Method__init__
( self, urls, handler=wds.reraise_exception, resampled=False, shardshu
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/dataloader/custom_wds.py:105
Method__init__
( self, sample_writer_class, output_folder, thread_count, number_sampl
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/workers/subset_worker.py:16
Method__init__
( self, sample_writer_class, save_caption, output_folder, column_list,
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/workers/download_worker.py:40
Method__init__
(self)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/subsamplers/noop_subsampler.py:5
Method__init__
(self, oom_clip_count, encode_formats)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/subsamplers/clipping_subsampler.py:32
Method__init__
(self, cut_detection_mode="all", framerates=None)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/subsamplers/cut_detection_subsampler.py:36
Method__init__
(self, video_size, resize_mode)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/subsamplers/resolution_subsampler.py:21
Method__init__
(self, sample_rate, encode_formats)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/subsamplers/audio_rate_subsampler.py:18
Method__init__
(self, frame_rate)
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/subsamplers/frame_subsampler.py:18
Method__init__
( self, dim, pt_seq_len, ft_seq_len=None, custom_freqs = None,
Emu1/models/rope.py:81
Method__init__
* `d` is the number of features $d$ * `base` is the constant used for calculating $\Theta$
Emu1/models/rope.py:167
Method__init__
( self, embed_dim, multimodal_cfg: MultimodalCfg, vision_cfg: CLIPVisionCfg,
Emu1/models/modeling_emu.py:23
Method__init__
( self, multimodal_model: str, feature_extractor: str, safety_checker: str,
Emu1/models/pipeline.py:22
Method__init__
(self, args, model_name_or_path=MODEL_PATH)
Emu1/models/modeling_llama.py:128
Method__init__
(self, prob, exclude_first_token=True)
Emu1/models/transformer.py:39
Method__init__
( self, d_model: int, context_dim: int, # KV dim n_head: int
Emu1/models/transformer.py:264
Method__init__
Construct a layernorm module in the T5 style. No bias and no subtraction of mean.
Emu1/models/modeling_t5.py:310
Method__init__
(self, config: T5Config)
Emu1/models/modeling_t5.py:353
Method__init__
(self, config: T5Config)
Emu1/models/modeling_t5.py:369
Method__init__
(self, config: T5Config)
Emu1/models/modeling_t5.py:387
Method__init__
(self, config: T5Config, has_relative_attention_bias=False, cross_attn=False)
Emu1/models/modeling_t5.py:408
Method__init__
(self, config, has_relative_attention_bias=False)
Emu1/models/modeling_t5.py:693
Method__init__
(self, config)
Emu1/models/modeling_t5.py:729
Method__init__
(self, config, has_relative_attention_bias=False)
Emu1/models/modeling_t5.py:767
Method__init__
(self, config, embed_tokens=None)
Emu1/models/modeling_t5.py:1031
Method__init__
(self, config: T5Config)
Emu1/models/modeling_t5.py:1542
Method__init__
(self, config: T5Config)
Emu1/models/modeling_t5.py:1743
Method__init__
(self, config: T5Config)
Emu1/models/modeling_t5.py:2050
Method__init__
(self, drop_prob=None)
Emu1/models/eva_vit_model.py:130
Method__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.SiLU, drop=0., norm
Emu1/models/eva_vit_model.py:180
Method__init__
( self, dim, num_heads=8, qkv_bias=False, qk_scale=None, attn_drop=0., proj_drop=0., w
Emu1/models/eva_vit_model.py:206
Method__init__
(self, dim, num_heads, mlp_ratio=4., qkv_bias=False, qk_scale=None, drop=0., attn_drop=0., dr
Emu1/models/eva_vit_model.py:369
Method__init__
(self, img_size=224, patch_size=16, in_chans=3, embed_dim=768)
Emu1/models/eva_vit_model.py:433
Method__init__
(self, window_size, num_heads)
Emu1/models/eva_vit_model.py:456
Method__init__
(self, img_size=224, patch_size=16, in_chans=3, num_classes=1000, embed_dim=768, depth=12, nu
Emu1/models/eva_vit_model.py:495
Method__init__
(self, embed_dim, vision_cfg, eva, norm_layer)
Emu1/models/eva_vit_model.py:713
Method__init__
( self, args, n_causal: int = 32, vision_width: int = 768,
Emu1/models/causal_former.py:16
Method__init__
(self, root, split='val')
Emu1/mm_eval/datasets/okvqa.py:29
Method__init__
(self, image_path, ann_path)
Emu1/mm_eval/datasets/mmvet.py:13
Method__init__
(self, root, split='val')
Emu1/mm_eval/datasets/visdial.py:26
Method__init__
(self, root, split='test')
Emu1/mm_eval/datasets/vqav2.py:33
Method__init__
(self, root, split='test')
Emu1/mm_eval/datasets/coco.py:33
Method__init__
(self, root, split='test')
Emu1/mm_eval/datasets/vizwiz.py:38
Method__init__
Constructor of VQA helper class for reading and visualizing questions and answers. :param annotation_file (str): location of VQA anno
Emu1/mm_eval/datasets/vqa_tools/vqa.py:32
Method__init__
(self, vqa=None, vqaRes=None, n=2)
Emu1/mm_eval/datasets/vqa_tools/vqa_eval.py:20
Method__init__
(self, sequences: List[List[int]] = [])
Emu1/mm_eval/models/trie.py:17
Method__init__
( self, sequences: List[List[int]] = [], cache_fist_branch=True, max_token_id=
Emu1/mm_eval/models/trie.py:101
Method__init__
(self, return_values)
Emu1/mm_eval/models/trie.py:156
Method__init__
(self, return_values, codes)
Emu1/mm_eval/models/trie.py:164
Method__init__
( self, emu_model: EmuModel, eva_size=EVA_IMAGE_SIZE, eva_mean=OPENAI_DATASET_
Emu2/emu/chat.py:22
← previousnext →201–300 of 524, ranked by callers