MCPcopy Create free account

hub / github.com/X-PLUG/mPLUG-Owl / functions

Functions946 in github.com/X-PLUG/mPLUG-Owl

Methodread_video
(self, video_path, bound=None)
mPLUG-Owl3/evaluation/tasks/task_define/mvbench.py:241
Functionreceive_heart_beat
(request: Request)
mPLUG-Owl2/mplug_owl2/serve/controller.py:269
Functionrefresh_all_workers
()
mPLUG-Owl2/mplug_owl2/serve/controller.py:251
Functionregenerate
(state, image_process_mode, request: gr.Request)
mPLUG-Owl2/mplug_owl2/serve/gradio_web_server.py:113
Functionregenerate
(state, image_process_mode, request: gr.Request)
mPLUG-Owl2/mplug_owl2/local_serve/local_web_server.py:76
Functionregenerate
(state, request: gr.Request)
mPLUG-Owl/serve/serve_utils.py:59
Functionregenerate_button_clicked
(_question, _image, _user_message, _assistant_message, _chat_bot, _app_cfg, params_form)
mPLUG-Owl3/gradio_demo.py:376
Functionregenerate_http_bot
(state, max_output_tokens, temperature, top_k, top_p, num_beams, no_repeat_ngram_size, length_penalt
mPLUG-Owl/serve/web_server.py:173
Methodregister_module
Register a module. A record will be added to `self._module_dict`, whose key is the class name or the specified name, and value is the
mPLUG-Owl3/evaluation/tasks/task_define/registry.py:369
Methodregister_module
Register a module. A record will be added to `self._module_dict`, whose key is the class name or the specified name, and value is the
mPLUG-Owl/pipeline/data_utils/registry.py:369
Functionregister_worker
(request: Request)
mPLUG-Owl2/mplug_owl2/serve/controller.py:243
Functionrelease_model_semaphore
(fn=None)
mPLUG-Owl2/mplug_owl2/serve/model_worker.py:220
Methodremove
(self, path)
mPLUG-Owl/serve/io_utils.py:111
Functionrotate_func
like PIL, rotate by degree, not radians
mPLUG-Owl/pipeline/data_utils/randaugment.py:67
Methodsave_attn_gradients
(self, attn_gradients)
mPLUG-Owl2/mplug_owl2/model/visual_encoder.py:520
Methodsave_attn_gradients
(self, attn_gradients)
mPLUG-Owl/mplug_owl_video/modeling_mplug_owl.py:765
Methodsave_attn_gradients
(self, attn_gradients)
mPLUG-Owl/mplug_owl/modeling_mplug_owl.py:701
Methodsave_metrics
(self, metrics)
mPLUG-Owl3/evaluation/tasks/task_define/mmbench.py:462
Methodscope
(self)
mPLUG-Owl3/evaluation/tasks/task_define/registry.py:282
Methodscope
(self)
mPLUG-Owl/pipeline/data_utils/registry.py:282
Functionselect_chat_type
(_tab, _app_cfg)
mPLUG-Owl3/gradio_demo.py:424
Methodset_input_embeddings
(self, new_embeddings)
mPLUG-Owl2/mplug_owl2/model/modeling_qwen.py:743
Methodset_input_embeddings
(self, value)
mPLUG-Owl/mplug_owl_video/modeling_mplug_owl.py:1386
Methodset_input_embeddings
(self, value)
mPLUG-Owl/mplug_owl/modeling_mplug_owl.py:1285
Methodset_io
(self, new_io)
mPLUG-Owl/serve/serve_utils.py:28
Methodset_output_embeddings
(self, new_embeddings)
mPLUG-Owl2/mplug_owl2/model/modeling_qwen.py:1007
Methodset_output_embeddings
(self, new_embeddings)
mPLUG-Owl/mplug_owl_video/modeling_mplug_owl.py:1389
Methodset_output_embeddings
(self, new_embeddings)
mPLUG-Owl/mplug_owl/modeling_mplug_owl.py:1288
Functionset_tokenizer
(tokenizer)
mPLUG-Owl/pipeline/utils.py:24
Functionsharpness_func
The differences the this result and PIL are all on the 4 boundaries, the center areas are same
mPLUG-Owl/pipeline/data_utils/randaugment.py:132
Functionshear_x_func
(img, factor, fill=(0, 0, 0))
mPLUG-Owl/pipeline/data_utils/randaugment.py:153
Functionshear_y_func
(img, factor, fill=(0, 0, 0))
mPLUG-Owl/pipeline/data_utils/randaugment.py:188
MethodshowQA
Display the specified annotations. :param anns (array of object): annotations to display :return: None
mPLUG-Owl2/mplug_owl2/evaluate/vqa.py:154
MethodshowQA
Display the specified annotations. :param anns (array of object): annotations to display :return: None
mPLUG-Owl3/evaluation/vqa_utils/vqa.py:159
Functionsmart_tokenizer_and_embedding_resize
Resize tokenizer and embedding. Note: This is the unoptimized version that may make your embedding size not be divisible by 64.
mPLUG-Owl2/mplug_owl2/train/train.py:192
Functionsolarize_func
same output as PIL.ImageOps.posterize
mPLUG-Owl/pipeline/data_utils/randaugment.py:78
Methodto_tuple
(self)
mPLUG-Owl/mplug_owl_video/modeling_mplug_owl.py:89
Methodto_tuple
(self)
mPLUG-Owl/mplug_owl/modeling_mplug_owl.py:83
Functiontranslate_x_func
same output as PIL.Image.transform
mPLUG-Owl/pipeline/data_utils/randaugment.py:160
Functiontranslate_y_func
same output as PIL.Image.transform
mPLUG-Owl/pipeline/data_utils/randaugment.py:170
Functionupvote_last_response
(state, model_selector, request: gr.Request)
mPLUG-Owl2/mplug_owl2/serve/gradio_web_server.py:95
Functionupvote_last_response
(state, request: gr.Request)
mPLUG-Owl2/mplug_owl2/local_serve/local_web_server.py:58
Functionupvote_last_response
(state, model_selector, request: gr.Request)
mPLUG-Owl/serve/serve_utils.py:47
Functionworker_api_generate_stream
(request: Request)
mPLUG-Owl2/mplug_owl2/serve/controller.py:277
Functionworker_api_get_status
(request: Request)
mPLUG-Owl2/mplug_owl2/serve/controller.py:284
Functionwrite_tokenizer
(tokenizer_path, input_tokenizer_path)
mPLUG-Owl2/mplug_owl2/model/convert_mplug_owl2_weight_to_hf.py:346
← previous901–946 of 946, ranked by callers