Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arctanxarc/MC-LLaVA
/ functions
Functions
203 in github.com/arctanxarc/MC-LLaVA
⨍
Functions
203
◇
Types & classes
35
Method
__getitem__
(self, i)
llava/dataset_som.py:863
Method
__getitem__
(self, i)
llava/dataset_som.py:908
Method
__getitem__
(self, i)
llava/dataset.py:127
Method
__getitem__
(self, i)
llava/dataset.py:206
Method
__getitem__
(self, i)
llava/dataset.py:327
Method
__getitem__
(self, i)
llava/dataset.py:441
Method
__getitem__
(self, i)
llava/dataset.py:526
Method
__getitem__
(self, i)
llava/dataset.py:607
Method
__getitem__
(self, i)
llava/dataset.py:679
Method
__init__
( self, generate_data_root, # sks_names, # ["sks1", "sks2"] device,
llava/dataset_som.py:81
Method
__init__
( self, dataset_root, # concept_name, # sks device, config,
llava/dataset_som.py:175
Method
__init__
( self, dataset_root, concept_names, # ["sks1", "sks2"] device, co
llava/dataset_som.py:257
Method
__init__
( self, dataset_root, # concept_names, # ["sks1", "sks2"] device, c
llava/dataset_som.py:404
Method
__init__
( self, dataset_root, # concept_names, # ["sks1", "sks2"] device, c
llava/dataset_som.py:548
Method
__init__
( self, dataset_root, concept_name, # "sks1" device, config,
llava/dataset_som.py:655
Method
__init__
( self, dataset_root, # concept_names, # ["sks1", "sks2"] device,
llava/dataset_som.py:722
Method
__init__
( self, dataset_root, # /home/hpyky/MulBench concept_names, # ["sks1", "sks2"]
llava/dataset_som.py:803
Method
__init__
( self, dataset_root, # /home/hpyky/MulBench concept_name, # "sks1" )
llava/dataset_som.py:873
Method
__init__
(self, logger, log_level=logging.INFO)
llava/utils.py:64
Method
__init__
( self, generate_data_root, # sks_names, # ["sks1", "sks2"] device,
llava/dataset.py:53
Method
__init__
( self, dataset_root, # concept_name, # sks device, config,
llava/dataset.py:147
Method
__init__
( self, dataset_root, # concept_names, # ["sks1", "sks2"] device, c
llava/dataset.py:227
Method
__init__
( self, dataset_root, # concept_names, # ["sks1", "sks2"] device, c
llava/dataset.py:356
Method
__init__
( self, dataset_root, # concept_names, # ["sks1", "sks2"] device, c
llava/dataset.py:467
Method
__init__
( self, dataset_root, concept_names, # ["sks1", "sks2"] )
llava/dataset.py:547
Method
__init__
( self, dataset_root, concept_names, # ["sks1", "sks2"] device, con
llava/dataset.py:616
Method
__init__
(self, keywords, tokenizer, input_ids)
llava/mm_utils.py:239
Method
__init__
(self, config)
llava/model/llava_arch.py:31
Method
__init__
(self, config)
llava/model/language_model/llava_llama.py:42
Method
__init__
(self, config)
llava/model/language_model/llava_mpt.py:44
Method
__init__
(self, config)
llava/model/language_model/llava_mistral.py:45
Method
__init__
(self, channels)
llava/model/multimodal_projector/builder.py:19
Method
__init__
(self, vision_tower, args, delay_load=False)
llava/model/multimodal_encoder/clip_encoder.py:104
Method
__len__
(self)
llava/dataset_som.py:152
Method
__len__
(self)
llava/dataset_som.py:232
Method
__len__
(self)
llava/dataset_som.py:371
Method
__len__
(self)
llava/dataset_som.py:518
Method
__len__
(self)
llava/dataset_som.py:629
Method
__len__
(self)
llava/dataset_som.py:695
Method
__len__
(self)
llava/dataset_som.py:779
Method
__len__
(self)
llava/dataset_som.py:860
Method
__len__
(self)
llava/dataset_som.py:905
Method
__len__
(self)
llava/dataset.py:124
Method
__len__
(self)
llava/dataset.py:203
Method
__len__
(self)
llava/dataset.py:324
Method
__len__
(self)
llava/dataset.py:438
Method
__len__
(self)
llava/dataset.py:523
Method
__len__
(self)
llava/dataset.py:604
Method
__len__
(self)
llava/dataset.py:676
Method
_set_gradient_checkpointing
(self, module, value=False)
llava/model/language_model/llava_mpt.py:56
Function
build_logger
(logger_name, logger_filename)
llava/utils.py:17
Method
config
(self)
llava/model/multimodal_projector/builder.py:14
Method
config
(self)
llava/model/multimodal_encoder/clip_encoder.py:83
Function
custom_collate_fn
(batch)
llava/dataset_som.py:1018
Function
custom_collate_fn
(batch)
llava/dataset.py:800
Method
device
(self)
llava/model/multimodal_encoder/clip_encoder.py:79
Method
dict
(self)
llava/conversation.py:191
Method
dtype
(self)
llava/model/multimodal_encoder/clip_encoder.py:75
Method
dummy_feature
(self)
llava/model/multimodal_encoder/clip_encoder.py:71
Method
expand2square
(pil_img, background_color=(122, 116, 104))
llava/conversation.py:114
Method
flush
(self)
llava/utils.py:87
Method
forward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
llava/model/language_model/llava_llama.py:55
Method
forward
( self, input_ids: Optional[torch.LongTensor] = None, past_key_values: Optional[Tuple[
llava/model/language_model/llava_mpt.py:60
Method
forward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
llava/model/language_model/llava_mistral.py:57
Method
forward
(self, x, *args, **kwargs)
llava/model/multimodal_projector/builder.py:10
Method
forward
(self, x)
llava/model/multimodal_projector/builder.py:28
Method
forward
(self, images)
llava/model/multimodal_encoder/clip_encoder.py:46
Method
forward
(self, images)
llava/model/multimodal_encoder/clip_encoder.py:145
Method
forward_feature
(self, images)
llava/model/multimodal_encoder/clip_encoder.py:139
Method
generate
( self, inputs: Optional[torch.Tensor] = None, images: Optional[torch.Tensor] = None,
llava/model/language_model/llava_mistral.py:105
Function
generate_conversation
(root_dir, out_put_root_dir)
llava/build_qa.py:163
Function
generate_negative_qa_pairs
(random_image_dir, root_dir, template_file, out_put_root_dir, num_qa_pairs=100)
llava/build_qa.py:115
Function
generate_positive_qa_pairs
(root_dir, template_file, out_put_root_dir, num_qa_pairs=5)
llava/build_qa.py:41
Function
generate_strong_negtive_qa_pairs
(root_dir, template_file, out_put_root_dir, data_size)
llava/build_qa.py:217
Function
get_model
(args)
llava/dataset_som.py:938
Function
get_model
(args)
llava/dataset.py:720
Method
get_model
(self)
llava/model/language_model/llava_mpt.py:53
Function
get_query
(args, query, model, sks_system_prompt=None)
llava/dataset_som.py:959
Method
get_w
(weights, keyword)
llava/model/llava_arch.py:94
Method
hidden_size
(self)
llava/model/multimodal_encoder/clip_encoder.py:90
Method
hidden_size
(self)
llava/model/multimodal_encoder/clip_encoder.py:157
Function
image_parser
(args)
llava/dataset_som.py:916
Function
image_parser
(args)
llava/dataset.py:698
Method
initialize_vision_modules
(self, model_args, fsdp=None)
llava/model/llava_arch.py:49
Method
initialize_vision_tokenizer
(self, model_args, tokenizer)
llava/model/llava_arch.py:326
Function
load_image_from_base64
(image)
llava/mm_utils.py:148
Function
load_images
(image_files)
llava/dataset_som.py:930
Function
load_images
(image_files)
llava/dataset.py:712
Method
load_model
(self, device_map=None)
llava/model/multimodal_encoder/clip_encoder.py:124
Method
num_patches
(self)
llava/model/multimodal_encoder/clip_encoder.py:98
Method
num_patches_per_side
(self)
llava/model/multimodal_encoder/clip_encoder.py:94
Method
prepare_inputs_for_generation
(self, input_ids, past_key_values=None, inputs_embeds=None, **kwargs)
llava/model/language_model/llava_llama.py:142
Method
prepare_inputs_for_generation
(self, input_ids, past_key_values=None, inputs_embeds=None, **kwargs)
llava/model/language_model/llava_mpt.py:87
Method
prepare_inputs_for_generation
(self, input_ids, past_key_values=None, inputs_embeds=None, **kwargs)
llava/model/language_model/llava_mistral.py:144
Function
pretty_print_semaphore
(semaphore)
llava/utils.py:123
Function
process_masks
(masks)
llava/dataset_som.py:1004
Function
process_masks
(masks)
llava/dataset.py:786
Function
reshapefromstart224_shape
(image2vec)
eval/gen_som.py:129
Function
reshapefromstart2336_shape
(image2vec)
eval/gen_som.py:119
Function
reshapefromstart2orig_shape
(image2vec, image_ori_shapes)
eval/gen_som.py:98
← previous
next →
101–200 of 203, ranked by callers