MCPcopy Create free account

hub / github.com/Gabesarch/ICAL / functions

Functions3,743 in github.com/Gabesarch/ICAL

↓ 3 callersFunctiondetach_to_cpu
(x)
Ego4d/Tracking-Anything-with-DEVA/deva/utils/logger.py:17
↓ 3 callersMethoddrawAllBoundingBoxes
(self, image, imageName)
TEACh/utils/Detection_Metrics/lib/BoundingBoxes.py:63
↓ 3 callersFunctiondraw_bboxes
(ori_img, bbox, mask=None, offset=(0, 0), cvt_color=False)
TEACh/SOLQ/visual.py:79
↓ 3 callersMethoddraw_box
Args: box_coord (tuple): a tuple containing x0, y0, x1, y1 coordinates, where x0 and y0 are the coordinates of th
Ego4d/SoM/task_adapter/utils/visualizer.py:928
↓ 3 callersMethoddraw_boxes_on_image_py
(self, rgb, corners_pix, centers_pix, scores, tids, boxes=None, thickness=1, frame_id=None)
TEACh/utils/improc.py:1263
↓ 3 callersMethoddraw_polygon
Args: segment: numpy array of shape Nx2, containing all the points in the polygon. color: color of the polygon. Refer
Ego4d/SoM/task_adapter/utils/visualizer.py:1209
↓ 3 callersMethoddraw_polygon
Args: segment: numpy array of shape Nx2, containing all the points in the polygon. color: color of the polygon. Refer
Ego4d/Tracking-Anything-with-DEVA/deva/inference/visualizer.py:1214
↓ 3 callersMethodembed_lang
embed goal+instr language
TEACh/teach/src/teach/modeling/ET/alfred/model/speaker.py:155
↓ 3 callersMethodencode_images
(self, images)
Ego4d/ego4d_forecasting/models/gpt4v_model.py:129
↓ 3 callersMethodencode_mask
(self, image: torch.Tensor, ms_features: Iterable[torch.Tensor],
Ego4d/Tracking-Anything-with-DEVA/deva/model/network.py:46
↓ 3 callersMethodengaged
(self, bucket_id: Optional[int] = None)
Ego4d/Tracking-Anything-with-DEVA/deva/inference/kv_memory_store.py:250
↓ 3 callersFunctionevaluate
(model, criterion, postprocessors, data_loader, base_ds, device, output_dir)
TEACh/SOLQ/engine.py:85
↓ 3 callersMethodexact_match
(ref: str, pred: Union[str, int])
VisualWebArena/evaluation_harness/evaluators.py:162
↓ 3 callersFunctionexecute_focus
Click the specified DOM element.
VisualWebArena/browser_env/actions.py:961
↓ 3 callersFunctionexecute_mouse_click
Click at coordinates (left, top).
VisualWebArena/browser_env/actions.py:888
↓ 3 callersFunctionexecute_type
Send keystrokes to the focused element.
VisualWebArena/browser_env/actions.py:947
↓ 3 callersMethodfeaturize
(self, images, batch=32)
TEACh/teach/src/teach/modeling/ET/alfred/nn/enc_visual.py:174
↓ 3 callersFunctionfind_consensus_with_established_association
(time_indices: List[int], images: List[torch.Tensor],
Ego4d/Tracking-Anything-with-DEVA/deva/inference/consensus_associated.py:82
↓ 3 callersFunctionformat_class_name
(name)
TEACh/utils/write_csv_MT.py:16
↓ 3 callersMethodforward
(self, inputs)
Ego4d/output/eval_slowfast_trf/ego4d_forecasting/tasks/video_task.py:51
↓ 3 callersMethodforward
(self, inputs)
Ego4d/ego4d_forecasting/tasks/video_task.py:51
↓ 3 callersMethodgenerate
Generates masks for the given image. Arguments: image (np.ndarray): The image to generate masks for, in HWC uint8 format.
Ego4d/Tracking-Anything-with-DEVA/deva/ext/SAM/automatic_mask_generator.py:142
↓ 3 callersMethodgenerate_from_openai_completion
( self, messages, temperature: float = 0, max_tokens: int = 4096, stop
Ego4d/ego4d_forecasting/models/gpt4v_model.py:664
↓ 3 callersMethodgetImageSize
(self)
TEACh/utils/Detection_Metrics/lib/BoundingBox.py:119
↓ 3 callersFunctionget_cfg
Get a copy of the default config.
Ego4d/output/eval_slowfast_trf/ego4d_forecasting/config/defaults.py:877
↓ 3 callersMethodget_closest_category_to_word
Function for getting closest teach category by querying LLM
TEACh/prompt/run_gpt.py:630
↓ 3 callersMethodget_clostest_reachable_map_pos
(self, map_pos)
TEACh/map_and_plan/mess/explore.py:810
↓ 3 callersMethodget_element_center
(self, element_id: str)
VisualWebArena/browser_env/processors.py:732
↓ 3 callersFunctionget_emb
Gets a base embedding for one dimension with sin and cos intertwined
TEACh/nets/ID_Transformer/position_encoding.py:26
↓ 3 callersFunctionget_emb
Gets a base embedding for one dimension with sin and cos intertwined
TEACh/SOLQ/models/position_encoding.py:26
↓ 3 callersFunctionget_feat_pca
(feat, valid=None)
TEACh/utils/improc.py:214
↓ 3 callersMethodget_initial_pose
Return initial positions of agents in an episode :param episode: instance of class Episode in dataset.py
TEACh/teach/src/teach/simulators/simulator_base.py:742
↓ 3 callersMethodget_label_from_ID
(self, ID)
TEACh/task_base/object_tracker.py:623
↓ 3 callersMethodget_loss
(self, loss, outputs, targets, indices, num_boxes, **kwargs)
TEACh/nets/ID_Transformer/losses.py:135
↓ 3 callersMethodget_loss
(self, loss, outputs, targets, indices, num_boxes, **kwargs)
TEACh/SOLQ/models/solq_stp.py:1018
↓ 3 callersMethodget_loss
(self, loss, outputs, targets, indices, num_boxes, **kwargs)
TEACh/SOLQ/models/solq_base.py:520
↓ 3 callersMethodget_maskrcnn_predictions
(self)
TEACh/task_base/object_tracker.py:548
↓ 3 callersMethodget_obj_by_id
(obj_id, objects)
TEACh/teach/src/teach/dataset/task_THOR.py:546
↓ 3 callersMethodget_object_data
object_name: Object category of object to find object_phrase: grounding phrase to help locate the object parent_object: paren
TEACh/models/agent/executor.py:435
↓ 3 callersMethodget_objects_gt
Gets object info from simulator directly
TEACh/task_base/object_tracker.py:1062
↓ 3 callersMethodget_parent_receptacles
(self, obj, objects)
TEACh/teach/src/teach/dataset/task_THOR.py:329
↓ 3 callersFunctionget_rel_pos
(rel_pos, d)
Ego4d/output/eval_slowfast_trf/ego4d_forecasting/models/video_model_builder.py:1446
↓ 3 callersFunctionget_rel_pos
(rel_pos, d)
Ego4d/ego4d_forecasting/models/video_model_builder.py:1446
↓ 3 callersMethodget_relevant_objects
(self, object_states, topk=5, use_llm=True)
TEACh/models/agent/planner.py:357
↓ 3 callersMethodget_reprojected_point_given_ID
reprojects centroid of ID to 2D based on current position from navigation
TEACh/task_base/object_tracker.py:988
↓ 3 callersFunctionget_sam_model
(config: Dict, device: str)
Ego4d/Tracking-Anything-with-DEVA/deva/ext/automatic_sam.py:16
↓ 3 callersFunctionget_size_from_box2d
(box2d)
TEACh/utils/geom.py:838
↓ 3 callersMethodget_skills_to_prompt_length
( self, prompt_template, text_list, max_len_percent=0.8, )
TEACh/models/agent/planner.py:667
↓ 3 callersMethodget_usage
(self, bucket_id: int)
Ego4d/Tracking-Anything-with-DEVA/deva/inference/kv_memory_store.py:187
↓ 3 callersFunctionget_world_size
()
TEACh/nets/ID_Transformer/util/misc.py:397
↓ 3 callersFunctionget_xyzlist_from_lrtlist
(lrtlist)
TEACh/utils/geom.py:481
↓ 3 callersMethodgo_to_pose
(self, pose)
TEACh/teach/src/teach/simulators/simulator_base.py:794
↓ 3 callersFunctioninference_sam_m2m_auto
(model, image, text_size, label_mode='1', alpha=0.1, anno_mode=['Mask'], label=1, return_label=False)
Ego4d/SoM/task_adapter/sam/tasks/inference_sam_m2m_auto.py:23
↓ 3 callersFunctioninference_sam_m2m_interactive
(model, image, spatial_masks, text_size, label_mode='1', alpha=0.1, anno_mode=['Mask'])
Ego4d/SoM/task_adapter/sam/tasks/inference_sam_m2m_interactive.py:71
↓ 3 callersFunctioninference_seem_interactive
(model, image, spatial_masks, text_size, label_mode='1', alpha=0.1, anno_mode=['Mask'])
Ego4d/SoM/task_adapter/seem/tasks/inference_seem_interactive.py:42
↓ 3 callersFunctioninference_seem_pano
(model, image, text_size, label_mode='1', alpha=0.1, anno_mode=['Mask'], label=1, return_label=False)
Ego4d/SoM/task_adapter/seem/tasks/inference_seem_pano.py:41
↓ 3 callersFunctioninference_semsam_m2m_auto
(model, image, level, all_classes, all_parts, thresh, text_size, hole_scale, island_scale, semantic, refimg=No
Ego4d/SoM/task_adapter/semantic_sam/tasks/inference_semsam_m2m_auto.py:23
↓ 3 callersFunctioninside
(p)
TEACh/utils/box.py:19
↓ 3 callersMethodinverse_zigzag
Zigzag scan of a matrix Argument is a two-dimensional matrix of any size, not strictly a square one. Function returns
TEACh/SOLQ/models/dct.py:117
↓ 3 callersMethodload_action
load action as a list of tokens from task_json
TEACh/teach/src/teach/modeling/ET/alfred/data/zoo/guides_edh.py:76
↓ 3 callersFunctionload_config
Given the arguemnts, load and initialize the configs. Args: args (argument): arguments includes `shard_id`, `num_shards`,
Ego4d/ego4d_forecasting/utils/parser.py:57
↓ 3 callersMethodload_lang
load numericalized language from task_json
TEACh/teach/src/teach/modeling/ET/alfred/data/zoo/guides_edh.py:69
↓ 3 callersMethodlog_metrics
(self, l1_tag, l2_tag, val, step, f=None)
Ego4d/Tracking-Anything-with-DEVA/deva/utils/logger.py:63
↓ 3 callersMethodlog_string
(self, tag, x)
Ego4d/Tracking-Anything-with-DEVA/deva/utils/logger.py:106
↓ 3 callersFunctionmerge_lrtlist
(lenlist, rtlist)
TEACh/utils/geom.py:670
↓ 3 callersFunctionmerge_rt
(r, t)
TEACh/utils/geom.py:30
↓ 3 callersFunctionms_deform_attn_core_pytorch
(value, value_spatial_shapes, sampling_locations, attention_weights)
Ego4d/SoM/ops/functions/ms_deform_attn_func.py:52
↓ 3 callersFunctionnms
Apply non-maximum suppression at test time to avoid detecting too many overlapping bounding boxes for a given object. Args: boxes: (te
TEACh/utils/ddetr_utils.py:660
↓ 3 callersFunctionnormalize_answer
Lower text and remove punctuation, articles and extra whitespace.
TEACh/teach/src/teach/modeling/ET/alfred/utils/metric_util.py:6
↓ 3 callersFunctionnormalize_grid3d
(grid_z, grid_y, grid_x, Z, Y, X, clamp_extreme=True)
TEACh/utils/basic.py:183
↓ 3 callersMethodobj_dist_to_nearest_agent
Return Euclidean distance between a given object and the nearest agent in the sim.
TEACh/teach/src/teach/simulators/simulator_THOR.py:604
↓ 3 callersMethodoverlay_instances
Args: boxes (Boxes, RotatedBoxes or ndarray): either a :class:`Boxes`, or an Nx4 numpy array of XYXY_ABS format f
Ego4d/SoM/task_adapter/utils/visualizer.py:624
↓ 3 callersMethodoverlay_instances
Args: boxes (Boxes, RotatedBoxes or ndarray): either a :class:`Boxes`, or an Nx4 numpy array of XYXY_ABS format f
Ego4d/Tracking-Anything-with-DEVA/deva/inference/visualizer.py:627
↓ 3 callersFunctionparse_args
Parse the following arguments for a default parser for PySlowFast users. Args: shard_id (int): shard id for the current machine. Star
Ego4d/ego4d_forecasting/utils/parser.py:12
↓ 3 callersMethodpickup
Assumes object is in view and picks it up. Returns: bool: True if action successful, otherwise False.
TEACh/prompt/api_primitives_nodefinitions.py:53
↓ 3 callersMethodpickup
Assumes object is in view and picks it up. Returns: bool: True if action successful, otherwise False.
TEACh/models/agent/api_primitives_executable.py:175
↓ 3 callersMethodpredict
(self, images)
TEACh/nets/inverse_dynamics_model.py:112
↓ 3 callersMethodput_down
Puts down the object in hand on a nearby receptacle. Note: Assumes object is in hand and agent wants to free its hand.
TEACh/prompt/api_primitives_nodefinitions.py:140
↓ 3 callersMethodreset
Reset environment
TEACh/models/teach_skill_learning.py:1388
↓ 3 callersMethodreset
Reset the environment. :param options: options for the environment. The current supported options are: - "storage_state":
VisualWebArena/browser_env/envs.py:245
↓ 3 callersMethodreset_image
Args: img: same as in __init__
Ego4d/SoM/task_adapter/utils/visualizer.py:295
↓ 3 callersMethodrun
Looping through games and write out status at the end
TEACh/teach/src/teach/replay/episode_replay_worker.py:35
↓ 3 callersMethodrun_deva
(self, images)
Ego4d/ego4d_forecasting/models/deva.py:124
↓ 3 callersMethodrun_human_in_the_loop_phase
Human in the loop learning. Runs script and refines it if an execution failure occurs based on feedback.
TEACh/models/teach_skill_learning.py:591
↓ 3 callersFunctionsave_json
(obj, filename)
TEACh/teach/src/teach/utils.py:24
↓ 3 callersMethodsearch_near_object
Search for target object near another receptacle_target object max_rec_to_search: if there are many of this receptacle in memory, how
TEACh/models/agent/executor.py:160
↓ 3 callersMethodsegment
multi_scale_features is from the key encoder for skip-connection memory_readout is from working/long-term memory sensory is t
Ego4d/Tracking-Anything-with-DEVA/deva/model/network.py:94
↓ 3 callersMethodset_episode_by_fn_and_idx
Read in an episode from file. game_fn: the game logfile to read task_idx: the task in the game logfile to read episod
TEACh/teach/src/teach/replay/episode_replay.py:43
↓ 3 callersMethodset_target_object_view
(self, oid, search)
TEACh/teach/src/teach/simulators/simulator_base.py:727
↓ 3 callersFunctionsetup_logger
setup logger for training and testing. Args: save_dir(str): location to save log file distributed_rank(int): device rank when mult
TEACh/SOLQ/util/log.py:16
↓ 3 callersFunctionshopping_get_all_product_order
Get info of all product in a given order page. Example output: [ { "name": "Kellogg's Special K Protein Bars, Meal R
VisualWebArena/evaluation_harness/helper_functions.py:171
↓ 3 callersFunctionshopping_get_order_product_quantity
( page: Page | PseudoPage, sku: str )
VisualWebArena/evaluation_harness/helper_functions.py:248
↓ 3 callersMethodshutdown_simulator
(self)
TEACh/teach/src/teach/simulators/simulator_base.py:736
↓ 3 callersFunctionsplit_intrinsics
(K)
TEACh/utils/py.py:169
↓ 3 callersFunctionstartx
(display=None)
TEACh/utils/ai2thor_docker/ai2thor_docker/x_server.py:123
↓ 3 callersMethodsumm_histogram
(self, name, data)
TEACh/utils/improc.py:1476
↓ 3 callersMethodsumm_oned
(self, name, im, bev=False, logvis=False, maxval=0, max_along_y=False, norm=True, only_return=False, heatmap=F
TEACh/utils/improc.py:883
↓ 3 callersFunctionsynchronize
Helper function to synchronize (barrier) among all processes when using distributed training
TEACh/SOLQ/util/dist.py:75
↓ 3 callersFunctiontensor_to_numpy
(image)
Ego4d/Tracking-Anything-with-DEVA/deva/utils/logger.py:12
↓ 3 callersFunctionunify_embeddings
Return a single unified embedding from the four embeddings (task, obs, act, visual).
VisualWebArena/agent/prompts/retrieval_augmented_prompt_faiss.py:27
← previousnext →401–500 of 3,743, ranked by callers