MCPcopy Create free account

hub / github.com/cpystan/SD-VLM / functions

Functions509 in github.com/cpystan/SD-VLM

↓ 2 callersFunctionupdateModelSelect
()
llava/eval/webpage/script.js:64
↓ 1 callersFunctionDINOv2
(model_name)
llava/model/depth/depth_anything_v2/dinov2.py:398
↓ 1 callersFunctionDINOv2
(model_name)
llava/model/depth/metric_depth/depth_anything_v2/dinov2.py:398
↓ 1 callersMethod__init__
(self, config: MptConfig)
llava/model/language_model/llava_mpt.py:32
↓ 1 callersMethod__init__
(self, config: MistralConfig)
llava/model/language_model/llava_mistral.py:38
↓ 1 callersMethod__init__
(self)
llava/model/multimodal_projector/builder.py:7
↓ 1 callersMethod__init__
(self, vision_tower, args, delay_load=False)
llava/model/multimodal_encoder/clip_encoder.py:8
↓ 1 callersMethod__init__
Init. Args: features (int): number of features
llava/model/depth/depth_anything_v2/util/blocks.py:33
↓ 1 callersMethod__init__
( self, in_features: int, hidden_features: Optional[int] = None, out_features:
llava/model/depth/depth_anything_v2/dinov2_layers/swiglu_ffn.py:14
↓ 1 callersMethod__init__
Init. Args: features (int): number of features
llava/model/depth/metric_depth/depth_anything_v2/util/blocks.py:33
↓ 1 callersMethod__init__
( self, in_features: int, hidden_features: Optional[int] = None, out_features:
llava/model/depth/metric_depth/depth_anything_v2/dinov2_layers/swiglu_ffn.py:14
↓ 1 callersFunction_add_speaker_and_signal
Add speaker and start/end signal on each round.
llava/train/train.py:295
↓ 1 callersMethod_compute_answer_scores
compute the accuracy (soft score) of human answers
llava/eval/m4c_evaluator.py:225
↓ 1 callersMethod_get_intermediate_layers_chunked
(self, x, n=1)
llava/model/depth/depth_anything_v2/dinov2.py:283
↓ 1 callersMethod_get_intermediate_layers_chunked
(self, x, n=1)
llava/model/depth/metric_depth/depth_anything_v2/dinov2.py:283
↓ 1 callersMethod_get_intermediate_layers_not_chunked
(self, x, n=1)
llava/model/depth/depth_anything_v2/dinov2.py:271
↓ 1 callersMethod_get_intermediate_layers_not_chunked
(self, x, n=1)
llava/model/depth/metric_depth/depth_anything_v2/dinov2.py:271
↓ 1 callersFunction_make_scratch
(in_shape, out_shape, groups=1, expand=False)
llava/model/depth/depth_anything_v2/util/blocks.py:4
↓ 1 callersFunction_make_scratch
(in_shape, out_shape, groups=1, expand=False)
llava/model/depth/metric_depth/depth_anything_v2/util/blocks.py:4
↓ 1 callersFunction_mask_targets
(target, tokenized_lens, speakers)
llava/train/train.py:284
↓ 1 callersMethod_save
(self, output_dir: Optional[str] = None, state_dict=None)
llava/train/llava_trainer.py:252
↓ 1 callersFunctionadd_residual
(x, brange, residual, residual_scale_factor, scaling_vector=None)
llava/model/depth/depth_anything_v2/dinov2_layers/block.py:142
↓ 1 callersFunctionadd_residual
(x, brange, residual, residual_scale_factor, scaling_vector=None)
llava/model/depth/metric_depth/depth_anything_v2/dinov2_layers/block.py:142
↓ 1 callersFunctionapply_delta
(base_model_path, target_model_path, delta_path)
llava/model/apply_delta.py:13
↓ 1 callersFunctionbuild_demo
(embed_mode, cur_dir=None, concurrency_count=10)
llava/serve/gradio_web_server.py:315
↓ 1 callersMethodcall_for_batch
(self, output_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
llava/mm_utils.py:230
↓ 1 callersFunctioncapitalizeFirstChar
(str)
llava/eval/webpage/script.js:41
↓ 1 callersFunctionconsolidate_ckpt
(src_path, dst_path)
llava/model/consolidate.py:13
↓ 1 callersFunctioncreate_data_loader
(questions, image_folder, tokenizer, image_processor, model_config, batch_size=1, num_workers=4)
llava/eval/model_vqa_loader.py:72
↓ 1 callersFunctioncreate_one_example_chatbot
(format, question, context, choice, answer, lecture, solution, test_example=True)
scripts/convert_sqa_to_llava_base_prompt.py:41
↓ 1 callersFunctiondepth_rope_encoding
(img_features, depth_features)
llava/model/depth_encoding.py:9
↓ 1 callersMethoddepth_sincos_encoding
(self,img_features,depth_features)
llava/model/llava_arch.py:151
↓ 1 callersFunctiondivide_to_patches
Divides an image into patches of a specified size. Args: image (PIL.Image.Image): The input image. patch_size (int): The siz
llava/mm_utils.py:77
↓ 1 callersFunctiondownload_json
(url: str, dest: Path)
predict.py:54
↓ 1 callersFunctiondownload_weights
(baseurl: str, basedest: str, files: list[str])
predict.py:62
↓ 1 callersFunctiondrop_path
(x, drop_prob: float = 0.0, training: bool = False)
llava/model/depth/depth_anything_v2/dinov2_layers/drop_path.py:15
↓ 1 callersFunctiondrop_path
(x, drop_prob: float = 0.0, training: bool = False)
llava/model/depth/metric_depth/depth_anything_v2/dinov2_layers/drop_path.py:15
↓ 1 callersMethodencode_depth
(self, images, target_size, alpha=100)
llava/model/llava_arch.py:219
↓ 1 callersMethodencode_images
(self, images,depths=None)
llava/model/llava_arch.py:213
↓ 1 callersMethoderror_add
(self,type_name,rate)
evaluation/evaluate_final.py:50
↓ 1 callersFunctioneval_depth
(pred, target)
llava/model/depth/metric_depth/util/metric.py:4
↓ 1 callersFunctioneval_llava
(args)
evaluation/inference.py:53
↓ 1 callersFunctioneval_model
(args)
llava/eval/model_vqa_loader.py:263
↓ 1 callersFunctioneval_model
(args)
llava/eval/model_vqa_mmbench.py:54
↓ 1 callersFunctioneval_model
(args)
llava/eval/model_vqa_science.py:29
↓ 1 callersFunctioneval_model
(model_name, questions_file, answers_file)
llava/eval/model_qa.py:14
↓ 1 callersFunctioneval_model
(args)
llava/eval/run_llava.py:50
↓ 1 callersFunctioneval_model
(args)
llava/eval/model_vqa.py:29
↓ 1 callersFunctioneval_pope
(answers, label_file)
llava/eval/eval_pope.py:5
↓ 1 callersMethodeval_pred_list
(self, pred_list)
llava/eval/m4c_evaluator.py:248
↓ 1 callersFunctionevaluate_qual_question
(question, answer, pred)
evaluation/llm_generate.py:145
↓ 1 callersFunctionevaluate_quan_dist_question
(question, answer, pred)
evaluation/llm_generate.py:101
↓ 1 callersFunctionfind_all_linear_names
(model)
llava/train/train.py:177
↓ 1 callersMethodforward
(self, x: torch.Tensor)
llava/model/language_model/llava_llama.py:57
↓ 1 callersMethodforward
(self, x)
llava/model/depth/depth_anything_v2/dpt.py:176
↓ 1 callersMethodforward
(self, x: Tensor)
llava/model/depth/depth_anything_v2/dinov2_layers/block.py:82
↓ 1 callersMethodforward
(self, x: Tensor)
llava/model/depth/depth_anything_v2/dinov2_layers/attention.py:49
↓ 1 callersMethodforward
(self, x)
llava/model/depth/metric_depth/depth_anything_v2/dpt.py:178
↓ 1 callersMethodforward
(self, x: Tensor)
llava/model/depth/metric_depth/depth_anything_v2/dinov2_layers/block.py:82
↓ 1 callersMethodforward
(self, x: Tensor)
llava/model/depth/metric_depth/depth_anything_v2/dinov2_layers/attention.py:49
↓ 1 callersMethodforward_features
(self, x, masks=None)
llava/model/depth/depth_anything_v2/dinov2.py:253
↓ 1 callersMethodforward_features
(self, x, masks=None)
llava/model/depth/metric_depth/depth_anything_v2/dinov2.py:253
↓ 1 callersMethodforward_features_list
(self, x_list, masks_list)
llava/model/depth/depth_anything_v2/dinov2.py:233
↓ 1 callersMethodforward_features_list
(self, x_list, masks_list)
llava/model/depth/metric_depth/depth_anything_v2/dinov2.py:233
↓ 1 callersMethodforward_nested
x_list contains a list of tensors to nest together and run
llava/model/depth/depth_anything_v2/dinov2_layers/block.py:205
↓ 1 callersMethodforward_nested
x_list contains a list of tensors to nest together and run
llava/model/depth/metric_depth/depth_anything_v2/dinov2_layers/block.py:205
↓ 1 callersMethodfrom_str
(cls, name)
llava/serve/controller.py:33
↓ 1 callersMethodgenerate_stream
(self, params)
llava/serve/model_worker.py:123
↓ 1 callersMethodgenerate_stream
(self, params)
llava/serve/sglang_worker.py:132
↓ 1 callersMethodgenerate_stream_gate
(self, params)
llava/serve/model_worker.py:195
↓ 1 callersMethodgenerate_stream_gate
(self, params)
llava/serve/sglang_worker.py:172
↓ 1 callersMethodget_anls
(self, s1, s2)
llava/eval/m4c_evaluator.py:282
↓ 1 callersFunctionget_anyres_image_grid_shape
Calculate the shape of the image patch grid after the preprocessing for images of any resolution. Args: image_size (tuple): The size
llava/mm_utils.py:99
↓ 1 callersFunctionget_args
()
llava/eval/eval_textvqa.py:9
↓ 1 callersFunctionget_args
()
llava/eval/eval_science_qa_gpt4.py:9
↓ 1 callersFunctionget_args
()
llava/eval/eval_science_qa.py:8
↓ 1 callersFunctionget_args
()
llava/eval/eval_science_qa_gpt4_requery.py:9
↓ 1 callersFunctionget_args
()
scripts/convert_mmbench_for_submission.py:6
↓ 1 callersFunctionget_args
()
scripts/convert_seed_for_submission.py:6
↓ 1 callersFunctionget_branges_scales
(x, sample_drop_ratio=0.0)
llava/model/depth/depth_anything_v2/dinov2_layers/block.py:134
↓ 1 callersFunctionget_branges_scales
(x, sample_drop_ratio=0.0)
llava/model/depth/metric_depth/depth_anything_v2/dinov2_layers/block.py:134
↓ 1 callersFunctionget_chunk
(lst, n, k)
llava/eval/model_vqa_loader.py:25
↓ 1 callersFunctionget_chunk
(lst, n, k)
llava/eval/model_vqa_mmbench.py:28
↓ 1 callersFunctionget_chunk
(lst, n, k)
llava/eval/model_vqa_science.py:24
↓ 1 callersFunctionget_chunk
(lst, n, k)
llava/eval/model_vqa.py:24
↓ 1 callersMethodget_depth_module
modules = [] modules.append(nn.Conv2d(1, 1024, kernel_size=3, stride=1,padding=1)) modules.append(LayerNorm2d(1024))
llava/model/language_model/llava_llama.py:124
↓ 1 callersFunctionget_eval
(content: str, max_tokens: int)
llava/eval/eval_gpt_review_bench.py:11
↓ 1 callersFunctionget_eval
(content: str, max_tokens: int)
llava/eval/eval_gpt_review_visual.py:11
↓ 1 callersMethodget_intermediate_layers
( self, x: torch.Tensor, n: Union[int, Sequence] = 1, # Layers or n last layers to ta
llava/model/depth/depth_anything_v2/dinov2.py:297
↓ 1 callersMethodget_intermediate_layers
( self, x: torch.Tensor, n: Union[int, Sequence] = 1, # Layers or n last layers to ta
llava/model/depth/metric_depth/depth_anything_v2/dinov2.py:297
↓ 1 callersFunctionget_mm_adapter_state_maybe_zero_3
(named_params, keys_to_match)
llava/train/train.py:171
↓ 1 callersFunctionget_mm_adapter_state_maybe_zero_3
(named_params, keys_to_match)
llava/train/llava_trainer.py:32
↓ 1 callersFunctionget_modality_length_grouped_indices
(lengths, batch_size, world_size, generator=None)
llava/train/llava_trainer.py:60
↓ 1 callersMethodget_model
(self)
llava/model/language_model/llava_llama.py:147
↓ 1 callersMethodget_model
(self)
llava/model/language_model/llava_mistral.py:54
↓ 1 callersFunctionget_options
(row, options)
llava/eval/model_vqa_mmbench.py:44
↓ 1 callersFunctionget_peft_state_maybe_zero_3
(named_params, bias)
llava/train/train.py:138
↓ 1 callersFunctionget_peft_state_non_lora_maybe_zero_3
(named_params, require_grad_only=True)
llava/train/train.py:163
↓ 1 callersMethodget_size
(self, width, height)
llava/model/depth/depth_anything_v2/util/transform.py:62
↓ 1 callersMethodget_size
(self, width, height)
llava/model/depth/metric_depth/dataset/transform.py:107
← previousnext →101–200 of 509, ranked by callers