MCPcopy Create free account

hub / github.com/chenfei-wu/TaskMatrix / functions

Functions109 in github.com/chenfei-wu/TaskMatrix

↓ 22 callersFunctionget_new_image_name
(org_img_name, func_name="update")
visual_chatgpt.py:231
↓ 8 callersFunctionseed_everything
(seed)
visual_chatgpt.py:141
↓ 5 callersMethodset_image
Set the image for the predictor.
visual_chatgpt.py:896
↓ 4 callersMethodget_grounding_boxes
(self, image, caption, with_logits=True)
visual_chatgpt.py:1069
↓ 4 callersMethodload_image
(self,image_path)
visual_chatgpt.py:1045
↓ 4 callersMethodshow_mask
Visualize a mask on top of an image. Args: mask (np.ndarray): A 2D array of shape (H, W). image (np.ndarray): A 3D arr
visual_chatgpt.py:823
↓ 3 callersMethodget_mask_with_boxes
(self, image_pil, image, boxes_filt)
visual_chatgpt.py:856
↓ 3 callersMethodrun
(self, prompt)
LowCodeLLM/src/openAIWrapper.py:37
↓ 2 callersMethod_json2txt
convert the json workflow to text
LowCodeLLM/src/lowCodeLLM.py:31
↓ 2 callersMethod_txt2json
convert the workflow in natural language to json format
LowCodeLLM/src/planningLLM.py:77
↓ 2 callersMethodcheck_prompt
(self, prompt)
visual_chatgpt.py:1210
↓ 2 callersMethodexecute
chat with the workflow-equipped low-code LLM
LowCodeLLM/src/lowCodeLLM.py:23
↓ 2 callersMethodextend_workflow
generate a sub-workflow for one of steps - input: the current workflow, the step needs to extend - output: sub-workflow
LowCodeLLM/src/lowCodeLLM.py:16
↓ 2 callersMethodget_BLIP_vqa
(self, image, question)
visual_chatgpt.py:1195
↓ 2 callersMethodget_workflow
(self, task_prompt)
LowCodeLLM/src/lowCodeLLM.py:13
↓ 2 callersMethodinference
(self, inputs)
visual_chatgpt.py:1147
↓ 2 callersMethodresize_image
(self, image, max_size=1000000, multiple=8)
visual_chatgpt.py:1233
↓ 2 callersMethodshow_points
Visualize points on top of an image. Args: coords (np.ndarray): A 2D array of shape (N, 2). labels (np.ndarray): A 1D
visual_chatgpt.py:901
↓ 1 callersMethod_post_request_chat
(self, messages)
LowCodeLLM/src/openAIWrapper.py:40
↓ 1 callersFunctionblend_gt2pt
(old_image, new_image, sigma=0.15, steps=100)
visual_chatgpt.py:158
↓ 1 callersFunctioncut_dialogue_history
(history_memory, keep_last_n_words=500)
visual_chatgpt.py:215
↓ 1 callersMethoddowhile
(self, original_img, tosize, expand_ratio, imagine, usr_prompt)
visual_chatgpt.py:1240
↓ 1 callersMethoddownload_parameters
(self)
visual_chatgpt.py:817
↓ 1 callersMethoddownload_parameters
(self)
visual_chatgpt.py:1038
↓ 1 callersMethodget_BLIP_caption
(self, image)
visual_chatgpt.py:1203
↓ 1 callersMethodget_imagine_caption
(self, image, imagine)
visual_chatgpt.py:1216
↓ 1 callersMethodget_mask
(self, image_path, text_prompt)
visual_chatgpt.py:1329
↓ 1 callersMethodget_mask
Description: given an image path, return the mask of the main object. Args: image_path (strin
visual_chatgpt.py:1448
↓ 1 callersMethodinference_replace_sam
(self,inputs)
visual_chatgpt.py:1391
↓ 1 callersMethodload_model
(self)
visual_chatgpt.py:1059
↓ 1 callersMethodmerge_masks
Args: mask (numpy.ndarray): shape N x 1 x H x W Outputs: new_mask (numpy.ndarray): shape H x
visual_chatgpt.py:1310
↓ 1 callersMethodpad_edge
(self,mask,padding)
visual_chatgpt.py:1365
↓ 1 callersMethodplot_boxes_to_image
(self, image_pil, tgt)
visual_chatgpt.py:1103
↓ 1 callersMethodsegment_image_with_boxes
(self, image_pil, image_path, boxes_filt, pred_phrases)
visual_chatgpt.py:876
Method__call__
(self, prompt, image, mask_image, height=512, width=512, num_inference_steps=50)
visual_chatgpt.py:1179
Method__init__
(self, device)
visual_chatgpt.py:247
Method__init__
(self, device)
visual_chatgpt.py:276
Method__init__
(self, device)
visual_chatgpt.py:302
Method__init__
(self, device)
visual_chatgpt.py:322
Method__init__
(self, device)
visual_chatgpt.py:346
Method__init__
(self, device)
visual_chatgpt.py:383
Method__init__
(self, device)
visual_chatgpt.py:402
Method__init__
(self, device)
visual_chatgpt.py:441
Method__init__
(self, device)
visual_chatgpt.py:460
Method__init__
(self, device)
visual_chatgpt.py:499
Method__init__
(self, device)
visual_chatgpt.py:518
Method__init__
(self, device)
visual_chatgpt.py:555
Method__init__
(self, device)
visual_chatgpt.py:573
Method__init__
(self, device)
visual_chatgpt.py:612
Method__init__
(self, device)
visual_chatgpt.py:649
Method__init__
(self, device)
visual_chatgpt.py:671
Method__init__
(self, device)
visual_chatgpt.py:708
Method__init__
(self, device)
visual_chatgpt.py:742
Method__init__
(self, device)
visual_chatgpt.py:779
Method__init__
(self, device)
visual_chatgpt.py:803
Method__init__
(self, device)
visual_chatgpt.py:1027
Method__init__
(self, device)
visual_chatgpt.py:1172
Method__init__
(self, ImageCaptioning, Inpainting, VisualQuestionAnswering)
visual_chatgpt.py:1186
Method__init__
(self, Text2Box:Text2Box, Segmenting:Segmenting)
visual_chatgpt.py:1285
Method__init__
(self, Text2Box:Text2Box, Segmenting:Segmenting, Inpainting:Inpainting)
visual_chatgpt.py:1359
Method__init__
(self,VisualQuestionAnswering:VisualQuestionAnswering, Text2Box:Text2Box, Segmenting:Segmenting)
visual_chatgpt.py:1423
Method__init__
(self, load_dict)
visual_chatgpt.py:1466
Method__init__
(self, temperature)
LowCodeLLM/src/executingLLM.py:27
Method__init__
(self, temperature)
LowCodeLLM/src/planningLLM.py:47
Method__init__
(self, PLLM_temperature=0.4, ELLM_temperature=0)
LowCodeLLM/src/lowCodeLLM.py:9
Method__init__
(self, temperature)
LowCodeLLM/src/openAIWrapper.py:8
Functiondecorator
(func)
visual_chatgpt.py:150
Functionexecute
()
LowCodeLLM/src/app.py:54
Methodexecute
provide LLM the dialogue history and the current prompt to get response
LowCodeLLM/src/executingLLM.py:34
Functionextend_workflow
()
LowCodeLLM/src/app.py:39
Methodextend_workflow
(self, task_prompt, current_workflow, step)
LowCodeLLM/src/planningLLM.py:65
Functionget_workflow
()
LowCodeLLM/src/app.py:26
Methodget_workflow
- input: task_prompt - output: workflow (json)
LowCodeLLM/src/planningLLM.py:53
Functionindex
()
LowCodeLLM/src/app.py:21
Methodinference
Change style of image.
visual_chatgpt.py:262
Methodinference
(self, text)
visual_chatgpt.py:291
Methodinference
(self, image_path)
visual_chatgpt.py:313
Methodinference
(self, inputs)
visual_chatgpt.py:332
Methodinference
(self, inputs)
visual_chatgpt.py:367
Methodinference
(self, inputs)
visual_chatgpt.py:392
Methodinference
(self, inputs)
visual_chatgpt.py:425
Methodinference
(self, inputs)
visual_chatgpt.py:450
Methodinference
(self, inputs)
visual_chatgpt.py:483
Methodinference
(self, inputs)
visual_chatgpt.py:508
Methodinference
(self, inputs)
visual_chatgpt.py:539
Methodinference
(self, inputs)
visual_chatgpt.py:563
Methodinference
(self, inputs)
visual_chatgpt.py:597
Methodinference
(self, inputs)
visual_chatgpt.py:633
Methodinference
(self, inputs)
visual_chatgpt.py:657
Methodinference
(self, inputs)
visual_chatgpt.py:692
Methodinference
(self, inputs)
visual_chatgpt.py:717
Methodinference
(self, inputs)
visual_chatgpt.py:763
Methodinference
(self, inputs)
visual_chatgpt.py:791
Methodinference
(self, inputs)
visual_chatgpt.py:1268
Methodinference
(self, inputs)
visual_chatgpt.py:1298
Methodinference
given a image, return the picture only contains the extracted main object
visual_chatgpt.py:1431
Methodinference_all
(self,image_path)
visual_chatgpt.py:997
Methodinference_remove
(self, inputs)
visual_chatgpt.py:1382
Methodinit_agent
(self, lang)
visual_chatgpt.py:1497
Methodjson2text_step
(step)
LowCodeLLM/src/lowCodeLLM.py:33
next →1–100 of 109, ranked by callers