MCPcopy Create free account

hub / github.com/Gabesarch/ICAL / functions

Functions3,743 in github.com/Gabesarch/ICAL

Functioncolor_normalization
Perform color nomration on the given images. Args: images (tensor): images to perform color normalization. Dimension is `
Ego4d/ego4d_forecasting/utils/transform.py:363
Functioncolor_normalization
Perform color normalization on the image with the given mean and stddev. Args: image (array): image to perform color normalization.
Ego4d/ego4d_forecasting/datasets/cv2_transform.py:286
Functioncommit_action
Commit the proposed action to the environment if feedback is enabled.
VisualWebArena/run_gui.py:61
Methodcompare_goal
(self, a, goal_dist)
TEACh/map_and_plan/mess/shortest_path_planner.py:294
Methodcompare_goal
(self, a, goal_dist)
TEACh/map_and_plan/mess/fmm_planner.py:173
Methodcompute_batch_loss
language translation loss function
TEACh/teach/src/teach/modeling/ET/alfred/model/speaker.py:163
Methodcompute_batch_loss
loss function for Seq2Seq agent
TEACh/teach/src/teach/modeling/ET/alfred/model/transformer.py:170
Functioncompute_distance
Compute the distance of the translational component of a 4x4 homogeneous matrix.
TEACh/utils/py.py:201
Functioncompute_exact
(a_gold, a_pred)
TEACh/teach/src/teach/modeling/ET/alfred/utils/metric_util.py:34
Functioncompute_f1
(a_gold, a_pred)
TEACh/teach/src/teach/modeling/ET/alfred/utils/metric_util.py:38
Functioncompute_f1_and_exact
compute f1 and extract match scores for agent output
TEACh/teach/src/teach/modeling/ET/alfred/utils/model_util.py:290
Functioncompute_metrics
compute metrics for task evaluation taken from Episodic Transformer codebase
TEACh/utils/aithor.py:48
Methodcompute_metrics
compute exact matching and f1 score for action predictions
TEACh/teach/src/teach/modeling/ET/alfred/model/speaker.py:179
Methodcompute_metrics
compute exact matching and f1 score for action predictions
TEACh/teach/src/teach/modeling/ET/alfred/model/transformer.py:246
Functioncompute_obj_class_precision
compute precision of predictions for interaction object classes
TEACh/teach/src/teach/modeling/ET/alfred/utils/model_util.py:307
Methodcompute_overlaps_masks
Computes IoU overlaps between two sets of masks. masks1, masks2: [Height, Width, instances] MODIFIED FROM MASKRCNN UTILS: https://gith
TEACh/utils/wctb.py:358
Methodconfigure_optimizers
(self)
Ego4d/output/eval_slowfast_trf/ego4d_forecasting/tasks/video_task.py:69
Methodconfigure_optimizers
(self)
Ego4d/ego4d_forecasting/tasks/video_task.py:69
Methodconstruct
Construct prompt given the trajectory
VisualWebArena/agent/prompts/prompt_constructor.py:167
Methodconstruct
( self, trajectory: Trajectory, intent: str, meta_data: dict[str, Any] = {},
VisualWebArena/agent/prompts/prompt_constructor.py:226
Methodconstruct
( self, trajectory: Trajectory, intent: str, page_screenshot_img: Image.Image,
VisualWebArena/agent/prompts/prompt_constructor.py:292
Methodconstruct
( self, trajectory: Trajectory, intent: str, page_screenshot_img: Image.Image,
VisualWebArena/agent/prompts/prompt_constructor.py:669
Methodconstruct
( self, trajectory: Trajectory, intent: str, page_screenshot_img: Image.Image,
VisualWebArena/agent/prompts/retrieval_augmented_prompt_faiss.py:292
Methodconstruct
( self, trajectory: Trajectory, intent: str, page_screenshot_img: Image.Image,
VisualWebArena/agent/prompts/retrieval_augmented_prompt.py:156
Methodconstruct_humanfeedback
( self, trajectory: Trajectory, intent: str, page_screenshot_img: Image.Image,
VisualWebArena/agent/prompts/retrieval_augmented_prompt_faiss.py:371
Methodconstruct_humanfeedback
( self, trajectory: Trajectory, intent: str, page_screenshot_img: Image.Image,
VisualWebArena/agent/prompts/retrieval_augmented_prompt.py:238
Functionconstruct_llm_config
(args: argparse.Namespace)
VisualWebArena/llms/lm_config.py:33
Functionconstruct_loader
Constructs the data loader for the given dataset. Args: cfg (CfgNode): configs. Details can be found in ego4d/config/defa
Ego4d/output/eval_slowfast_trf/ego4d_forecasting/datasets/loader.py:57
Functionconstruct_loader
Constructs the data loader for the given dataset. Args: cfg (CfgNode): configs. Details can be found in ego4d/config/defa
Ego4d/ego4d_forecasting/datasets/loader.py:57
Functionconstruct_optimizer
Construct a stochastic gradient descent or ADAM optimizer with momentum. Details can be found in: Herbert Robbins, and Sutton Monro. "A s
Ego4d/output/eval_slowfast_trf/ego4d_forecasting/optimizers/optimizer.py:11
Functionconstruct_optimizer
Construct a stochastic gradient descent or ADAM optimizer with momentum. Details can be found in: Herbert Robbins, and Sutton Monro. "A s
Ego4d/ego4d_forecasting/optimizers/optimizer.py:11
Methodcontrasting_color
Returns 'white' or 'black' depending on which color contrasts more with the given RGB value.
Ego4d/SoM/task_adapter/utils/visualizer.py:898
Methodcontrasting_color
Returns 'white' or 'black' depending on which color contrasts more with the given RGB value.
Ego4d/Tracking-Anything-with-DEVA/deva/inference/visualizer.py:901
Functionconversion_worker
(video)
Ego4d/Tracking-Anything-with-DEVA/scripts/vipseg/create_panoptic_video_labels.py:21
Functionconvert_box2d_to_intrinsics
(box2d, pix_T_cam, H, W, use_image_aspect_ratio=True, mult_padding=1.0)
TEACh/utils/geom.py:862
Functionconvert_box_to_ref_T_obj
(boxes)
TEACh/utils/py.py:488
Functionconvert_boxlist2d_to_masklist
(boxlist2d, H, W)
TEACh/utils/improc.py:1731
Functionconvert_caffe2_name_to_pytorch
Convert the caffe2_layer_name to pytorch format by apply the list of regular expressions. Args: caffe2_layer_name
Ego4d/output/eval_slowfast_trf/ego4d_forecasting/utils/c2_model_loading.py:99
Functionconvert_caffe2_name_to_pytorch
Convert the caffe2_layer_name to pytorch format by apply the list of regular expressions. Args: caffe2_layer_name
Ego4d/ego4d_forecasting/utils/c2_model_loading.py:99
Functionconvert_clist_to_lrtlist
(clist, len0, angle0=None, smooth=3)
TEACh/utils/geom.py:1363
Functionconvert_occ_to_height
(occ)
TEACh/utils/py.py:441
Functionconvert_to_video_level_labels
Aggregate annotations from all frames of a video to form video-level labels. Args: labels (list): The input label list. Returns:
Ego4d/output/eval_slowfast_trf/ego4d_forecasting/utils/datasets_utils.py:193
Functionconvert_to_video_level_labels
Aggregate annotations from all frames of a video to form video-level labels. Args: labels (list): The input label list. Returns:
Ego4d/ego4d_forecasting/utils/datasets_utils.py:193
Functioncopy_and_run_with_config
(run_fn, run_config, directory, **cluster_config)
Ego4d/scripts/run_lta_gpt4v.py:53
Functioncorners_to_box3D_single_py
(corners)
TEACh/utils/geom.py:1176
Functioncorners_to_boxes
(corners, legacy_format=False)
TEACh/utils/geom.py:939
Functioncpu_mem_usage
Compute the system memory (RAM) usage for the current device (GB). Returns: usage (float): used memory (GB). total (float): t
Ego4d/output/eval_slowfast_trf/ego4d_forecasting/utils/misc.py:36
Functioncpu_mem_usage
Compute the system memory (RAM) usage for the current device (GB). Returns: usage (float): used memory (GB). total (float): t
Ego4d/ego4d_forecasting/utils/misc.py:36
FunctioncreateImages
Create representative images with bounding boxes.
TEACh/utils/Detection_Metrics/samples/sample_2/sample_2.py:109
Functioncreate_depth_image
(xy, Z, H, W)
TEACh/utils/py.py:451
Functioncreate_focus_action
Return a valid action object with type CLICK. Keep compatible with the old version.
VisualWebArena/browser_env/actions.py:761
Functioncreate_focus_and_type_action
Return a valid action object with type TYPE. Keep compatible with the old version.
VisualWebArena/browser_env/actions.py:800
Functioncreate_mouse_click_action
Return a valid action object with type COORD_CLICK.
VisualWebArena/browser_env/actions.py:630
Functioncreate_mouse_hover_action
Return a valid action object with type COORD_CLICK.
VisualWebArena/browser_env/actions.py:518
Functioncreate_optimizer_and_schedulers
create a scheduler for the learning rate
TEACh/teach/src/teach/modeling/ET/alfred/utils/model_util.py:29
Functioncrop_and_resize_box2d
(im, box2d, Y, X)
TEACh/utils/samp.py:391
Methodcrop_zoom_from_mem
(self, mem, lrt, Z2, Y2, X2, additive_pad=0.0, mode='bilinear')
TEACh/utils/vox.py:1082
Functioncuda_grid_sample
(im, grid, use_native=False)
TEACh/utils/samp.py:441
Functioncurrent_viewport_script_browser_env
()
VisualWebArena/tests/conftest.py:27
Functiondarken_rgb_outside_mask
(rgb, mask, factor=0.5)
TEACh/utils/improc.py:1786
Methoddecompose
(self)
TEACh/utils/misc.py:362
Methoddefault
(self, obj)
TEACh/nets/ID_Transformer/util/misc.py:527
Methoddefault
(self, obj)
TEACh/SOLQ/util/misc.py:527
Functiondeg2rad
(deg)
TEACh/utils/py.py:94
Functiondeg2rad
(deg)
TEACh/utils/geom.py:932
Functiondemo_automatic
(video: gr.Video, threshold: float, points_per_side: int, max_num_objects: int, internal_re
Ego4d/Tracking-Anything-with-DEVA/demo/demo_gradio.py:94
Functiondemo_with_text
(video: gr.Video, text: str, threshold: float, max_num_objects: int, internal_resolution: i
Ego4d/Tracking-Anything-with-DEVA/demo/demo_gradio.py:23
Functiondepth2pointcloud
(z, pix_T_cam)
TEACh/utils/py.py:389
Functiondepthrt2flow
(depth_cam0, cam1_T_cam0, pix_T_cam)
TEACh/utils/geom.py:1243
Functiondetection_collate
Collate function for detection task. Concatanate bboxes, labels and metadata from different samples in the first dimension instead of sta
Ego4d/output/eval_slowfast_trf/ego4d_forecasting/datasets/loader.py:17
Functiondetection_collate
Collate function for detection task. Concatanate bboxes, labels and metadata from different samples in the first dimension instead of sta
Ego4d/ego4d_forecasting/datasets/loader.py:17
Methoddfs
(idx: int)
VisualWebArena/browser_env/processors.py:258
Functiondice_loss
Compute the DICE loss, similar to generalized IOU for masks Args: inputs: A float tensor of arbitrary shape. The pred
TEACh/SOLQ/models/segmentation.py:285
Functiondilate2d
(im, times=1, device='cuda')
TEACh/utils/improc.py:1791
Functiondilate3d
(im, times=1, device='cuda')
TEACh/utils/improc.py:1797
Functiondist_collect
(x)
TEACh/SOLQ/util/dist.py:89
Functiondist_collect_grad
(x)
TEACh/SOLQ/util/dist.py:96
Functiondistributed_AUED
(preds, labels)
Ego4d/output/eval_slowfast_trf/ego4d_forecasting/evaluation/lta_metrics.py:112
Functiondistributed_AUED
(preds, labels)
Ego4d/ego4d_forecasting/evaluation/lta_metrics.py:118
Functiondistributed_edit_distance
(preds, labels)
Ego4d/output/eval_slowfast_trf/ego4d_forecasting/evaluation/lta_metrics.py:94
Functiondistributed_edit_distance
(preds, labels)
Ego4d/ego4d_forecasting/evaluation/lta_metrics.py:100
Functiondistributed_topk_errors
Computes the top-k error for each k. Average reduces the result with all other distributed processes. Args: preds (array): array
Ego4d/output/eval_slowfast_trf/ego4d_forecasting/evaluation/lta_metrics.py:19
Functiondistributed_topk_errors
Computes the top-k error for each k. Average reduces the result with all other distributed processes. Args: preds (array): array
Ego4d/ego4d_forecasting/evaluation/lta_metrics.py:22
Methoddone
Shut down the simulator and save the session with final simulator state; Should be called at end of collection/ replay of episode
TEACh/teach/src/teach/simulators/simulator_base.py:466
Methoddone
Shut down the simulator and save the session with final simulator state; Should be called at end of collection/ replay of an episode
TEACh/teach/src/teach/simulators/simulator_THOR.py:453
Functiondownsample3d
(vox, factor)
TEACh/utils/basic.py:447
Functiondownsample3dflow
(flow, factor)
TEACh/utils/basic.py:452
Functiondraw_box_single
(img, box, color, thickness=1)
TEACh/utils/improc2.py:33
Methoddraw_dataset_dict
Draw annotations/segmentaions in Detectron2 Dataset format. Args: dic (dict): annotation/segmentation data of one image,
Ego4d/SoM/task_adapter/utils/visualizer.py:555
Methoddraw_dataset_dict
Draw annotations/segmentaions in Detectron2 Dataset format. Args: dic (dict): annotation/segmentation data of one image,
Ego4d/Tracking-Anything-with-DEVA/deva/inference/visualizer.py:558
Functiondraw_ddetr_predictions
( out_dict, images, targets, text, H,W, id_to_mapped_id, actions, reverse_tran
TEACh/utils/ddetr_utils.py:732
Methoddraw_instance_predictions
Draw instance-level prediction results on an image. Args: predictions (Instances): the output of an instance detection/s
Ego4d/Tracking-Anything-with-DEVA/deva/inference/visualizer.py:392
Functiondraw_line_single
(img, whwh, color, thickness=1)
TEACh/utils/improc2.py:28
Functiondraw_rect_on_image
(rgb_torch, box, scale,negative= False)
TEACh/utils/improc.py:467
Methoddraw_soft_mask
Args: soft_mask (ndarray): float array of shape (H, W), each value in [0, 1]. color: color of the mask. Refer to `mat
Ego4d/SoM/task_adapter/utils/visualizer.py:1181
Methoddraw_soft_mask
Args: soft_mask (ndarray): float array of shape (H, W), each value in [0, 1]. color: color of the mask. Refer to `mat
Ego4d/Tracking-Anything-with-DEVA/deva/inference/visualizer.py:1186
Methodempty
Empty the object of any other objects on/in it to clear it out. Useful when the object is too full to place an object inside it. Re
TEACh/prompt/api_primitives_nodefinitions.py:179
Methodencode_image
(self, img)
TEACh/teach/src/teach/simulators/simulator_THOR.py:843
Functionencode_image_from_file
(image_path)
Ego4d/SoM/gpt4v.py:32
Functionerode2d
(im, times=1, device='cuda')
TEACh/utils/improc.py:1803
← previousnext →2,601–2,700 of 3,743, ranked by callers