Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chenfei-wu/TaskMatrix
/ functions
Functions
109 in github.com/chenfei-wu/TaskMatrix
⨍
Functions
109
◇
Types & classes
31
↳
Endpoints
8
↓ 22 callers
Function
get_new_image_name
(org_img_name, func_name="update")
visual_chatgpt.py:231
↓ 8 callers
Function
seed_everything
(seed)
visual_chatgpt.py:141
↓ 5 callers
Method
set_image
Set the image for the predictor.
visual_chatgpt.py:896
↓ 4 callers
Method
get_grounding_boxes
(self, image, caption, with_logits=True)
visual_chatgpt.py:1069
↓ 4 callers
Method
load_image
(self,image_path)
visual_chatgpt.py:1045
↓ 4 callers
Method
show_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 callers
Method
get_mask_with_boxes
(self, image_pil, image, boxes_filt)
visual_chatgpt.py:856
↓ 3 callers
Method
run
(self, prompt)
LowCodeLLM/src/openAIWrapper.py:37
↓ 2 callers
Method
_json2txt
convert the json workflow to text
LowCodeLLM/src/lowCodeLLM.py:31
↓ 2 callers
Method
_txt2json
convert the workflow in natural language to json format
LowCodeLLM/src/planningLLM.py:77
↓ 2 callers
Method
check_prompt
(self, prompt)
visual_chatgpt.py:1210
↓ 2 callers
Method
execute
chat with the workflow-equipped low-code LLM
LowCodeLLM/src/lowCodeLLM.py:23
↓ 2 callers
Method
extend_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 callers
Method
get_BLIP_vqa
(self, image, question)
visual_chatgpt.py:1195
↓ 2 callers
Method
get_workflow
(self, task_prompt)
LowCodeLLM/src/lowCodeLLM.py:13
↓ 2 callers
Method
inference
(self, inputs)
visual_chatgpt.py:1147
↓ 2 callers
Method
resize_image
(self, image, max_size=1000000, multiple=8)
visual_chatgpt.py:1233
↓ 2 callers
Method
show_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 callers
Method
_post_request_chat
(self, messages)
LowCodeLLM/src/openAIWrapper.py:40
↓ 1 callers
Function
blend_gt2pt
(old_image, new_image, sigma=0.15, steps=100)
visual_chatgpt.py:158
↓ 1 callers
Function
cut_dialogue_history
(history_memory, keep_last_n_words=500)
visual_chatgpt.py:215
↓ 1 callers
Method
dowhile
(self, original_img, tosize, expand_ratio, imagine, usr_prompt)
visual_chatgpt.py:1240
↓ 1 callers
Method
download_parameters
(self)
visual_chatgpt.py:817
↓ 1 callers
Method
download_parameters
(self)
visual_chatgpt.py:1038
↓ 1 callers
Method
get_BLIP_caption
(self, image)
visual_chatgpt.py:1203
↓ 1 callers
Method
get_imagine_caption
(self, image, imagine)
visual_chatgpt.py:1216
↓ 1 callers
Method
get_mask
(self, image_path, text_prompt)
visual_chatgpt.py:1329
↓ 1 callers
Method
get_mask
Description: given an image path, return the mask of the main object. Args: image_path (strin
visual_chatgpt.py:1448
↓ 1 callers
Method
inference_replace_sam
(self,inputs)
visual_chatgpt.py:1391
↓ 1 callers
Method
load_model
(self)
visual_chatgpt.py:1059
↓ 1 callers
Method
merge_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 callers
Method
pad_edge
(self,mask,padding)
visual_chatgpt.py:1365
↓ 1 callers
Method
plot_boxes_to_image
(self, image_pil, tgt)
visual_chatgpt.py:1103
↓ 1 callers
Method
segment_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
Function
decorator
(func)
visual_chatgpt.py:150
Function
execute
()
LowCodeLLM/src/app.py:54
Method
execute
provide LLM the dialogue history and the current prompt to get response
LowCodeLLM/src/executingLLM.py:34
Function
extend_workflow
()
LowCodeLLM/src/app.py:39
Method
extend_workflow
(self, task_prompt, current_workflow, step)
LowCodeLLM/src/planningLLM.py:65
Function
get_workflow
()
LowCodeLLM/src/app.py:26
Method
get_workflow
- input: task_prompt - output: workflow (json)
LowCodeLLM/src/planningLLM.py:53
Function
index
()
LowCodeLLM/src/app.py:21
Method
inference
Change style of image.
visual_chatgpt.py:262
Method
inference
(self, text)
visual_chatgpt.py:291
Method
inference
(self, image_path)
visual_chatgpt.py:313
Method
inference
(self, inputs)
visual_chatgpt.py:332
Method
inference
(self, inputs)
visual_chatgpt.py:367
Method
inference
(self, inputs)
visual_chatgpt.py:392
Method
inference
(self, inputs)
visual_chatgpt.py:425
Method
inference
(self, inputs)
visual_chatgpt.py:450
Method
inference
(self, inputs)
visual_chatgpt.py:483
Method
inference
(self, inputs)
visual_chatgpt.py:508
Method
inference
(self, inputs)
visual_chatgpt.py:539
Method
inference
(self, inputs)
visual_chatgpt.py:563
Method
inference
(self, inputs)
visual_chatgpt.py:597
Method
inference
(self, inputs)
visual_chatgpt.py:633
Method
inference
(self, inputs)
visual_chatgpt.py:657
Method
inference
(self, inputs)
visual_chatgpt.py:692
Method
inference
(self, inputs)
visual_chatgpt.py:717
Method
inference
(self, inputs)
visual_chatgpt.py:763
Method
inference
(self, inputs)
visual_chatgpt.py:791
Method
inference
(self, inputs)
visual_chatgpt.py:1268
Method
inference
(self, inputs)
visual_chatgpt.py:1298
Method
inference
given a image, return the picture only contains the extracted main object
visual_chatgpt.py:1431
Method
inference_all
(self,image_path)
visual_chatgpt.py:997
Method
inference_remove
(self, inputs)
visual_chatgpt.py:1382
Method
init_agent
(self, lang)
visual_chatgpt.py:1497
Method
json2text_step
(step)
LowCodeLLM/src/lowCodeLLM.py:33
next →
1–100 of 109, ranked by callers