Method__init__(self, dim, num_heads, mlp_ratio=4., qkv_bias=False, qk_scale=None, drop=0., attn_drop=0.,
dr
Emu2/emu/eva_vit.py:257
Method__init__(self, model_cls, weight_path, start_card=0, concurrency=1, gpu_num=1, quantize=False, **kwargs)
Emu2/demo/backend/hf_model/backend.py:59
Method__init__(
self,
model_cls,
weight_path,
start_card=0,
concurrency=1,
g
Emu2/demo/backend/pytorch_model/backend.py:57
Methoddecode(
self, *args, pre=None, post=None, only=None, partial=False, passthrough_keys=None, handler=wds.rerai
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/dataloader/custom_wds.py:91
Methoddo_log(
self, count, success, failed_to_download, failed_to_subsample, bytes_downloaded, start_time, end_tim
Emu1/data/yt-sb-1b/video2dataset-1.1.0/video2dataset/logger.py:118
Methodforward(self, image, text_input, input_mask, text_output=None, output_mask=None, image_latent=None,
i
Emu1/models/modeling_emu.py:86
Methodforward :param x: [B, n_token, C (context_dim)] as K and V :param attn_mask: 1, 0 :return: queries: [B, n_query, d_query (d_model)]
Emu1/models/transformer.py:284