MCPcopy Create free account

hub / github.com/RoboCodeX-source/RoboCodeX_code / functions

Functions2,080 in github.com/RoboCodeX-source/RoboCodeX_code

↓ 2 callersFunctionget_world_size
Returns: The number of processes in the process group
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/mdetr_dist.py:147
↓ 2 callersFunctionget_world_size
Returns: The number of processes in the process group
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/dist.py:147
↓ 2 callersMethodgo_to_pose_goal
(self, orientation, position)
franka_policy/src/grasp_detection.py:256
↓ 2 callersFunctionim_detect_bbox_aug
(model, images, device, captions=None, positive_map_label_to_token=None)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/evaluation/box_aug.py:12
↓ 2 callersFunctionim_detect_bbox_scale
Computes bbox detections at the given scale. Returns predictions in the scaled image space.
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/evaluation/box_aug.py:129
↓ 2 callersMethodinit_clients
(self)
instruct_to_policy/scripts/src/env/moveit_grippers.py:60
↓ 2 callersMethodinit_clients
(self)
instruct_to_policy/scripts/src/env/moveit_grippers.py:107
↓ 2 callersMethodinverse
Compute the inverse of this transform.
instruct_to_policy/scripts/src/perception/utils.py:66
↓ 2 callersFunctionis_collision
(bbox1, bbox2)
instruct_to_policy/scripts/src/env/utils.py:97
↓ 2 callersFunctionis_dist_avail_and_initialized
Returns: True if distributed training is enabled
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/mdetr_dist.py:135
↓ 2 callersFunctionis_dist_avail_and_initialized
Returns: True if distributed training is enabled
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/dist.py:135
↓ 2 callersFunctionl2norm
L2-normalize columns of X
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/fuse_helper.py:114
↓ 2 callersMethodload_anns
Load anns with the specified ids. If ids=None load all anns. Args: ids (int array): integer array of annotation ids Return
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/lvis.py:130
↓ 2 callersFunctionload_data_from_multiview_detection
Load data from multiview detection dataset Args: data_dir: path to the dataset world_name: name of the world exc
instruct_to_policy/scripts/src/perception/utils.py:594
↓ 2 callersMethodload_imgs
Load categories with the specified ids. If ids=None load all images. Args: ids (int array): integer array of image ids Ret
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/evaluation/lvis/lvis.py:147
↓ 2 callersMethodload_model
(self)
grasp_detection/src/detectors/detector_giga.py:31
↓ 2 callersMethodload_scene
Load the scene in the MoveIt! planning scene. Loads a static floor and if needed, a static wall to the MoveIt! planning scene.
franka_policy/src/grasp_executor.py:84
↓ 2 callersFunctionmake_fcos_postprocessor
(config, is_train=False)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/rpn/inference.py:569
↓ 2 callersFunctionmake_rpn_postprocessor
(config, rpn_box_coder, is_train)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/rpn/inference.py:192
↓ 2 callersMethodmap_class_id_to_class_name
(self, class_id)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/vg.py:260
↓ 2 callersFunctionmatch_bboxes_points_overlapping
Match 2D bounding boxes by projecting 3D points to 2D image planes and checking which points are inside the bounding boxes. The match between
instruct_to_policy/scripts/src/perception/utils.py:386
↓ 2 callersFunctionmatrix_iou
return iou of a and b, numpy version for data augenmentation
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/transforms/transforms.py:12
↓ 2 callersFunctionmaybe_add_full_model_gradient_clipping
(optim)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/solver/build.py:9
↓ 2 callersFunctionnormalized_positive_map
(positive_map)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/shallow_contrastive_loss_helper.py:5
↓ 2 callersFunctionod_to_grounding_evaluation
( dataset, predictions, output_folder, box_only=False, iou_types=("bbo
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/evaluation/od_to_grounding/__init__.py:4
↓ 2 callersMethodopen_gripper
(self)
franka_policy/src/grasp_detection.py:179
↓ 2 callersMethodopen_gripper
Open the gripper.
franka_policy/src/grasp_executor.py:164
↓ 2 callersMethodopen_gripper
(self, value=0.08)
instruct_to_policy/scripts/src/env/ur5_moveit_gazebo_env.py:33
↓ 2 callersMethodoverlay_boxes
(self, image, predictions, alpha=0.5, box_pixel = 3)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/engine/predictor_glip.py:288
↓ 2 callersMethodoverlay_entity_names
(self, image, predictions, names=None, text_size=1.0, text_pixel=2, text_offset = 10, text_offset_original = 4
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/engine/predictor_glip.py:317
↓ 2 callersMethodoverlay_mask
(self, image, predictions)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/engine/predictor_glip.py:354
↓ 2 callersFunctionpad_random_negative_tensor_given_length
(positive_tensor, negative_padding_tensor, length=None)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/shallow_contrastive_loss_helper.py:23
↓ 2 callersFunctionparams_to_string
(params_num, units=None, precision=2)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/stats.py:79
↓ 2 callersMethodpick_and_drop
(self, grasps: List[Grasp], cb = lambda x: x)
franka_policy/src/grasp_executor.py:226
↓ 2 callersMethodpredict
Predicts the joint axes for the given object. Given a model name and list of types, - first get the list of joint names by calling /g
instruct_to_policy/scripts/src/joint_prediction/joint_prediction_gt.py:83
↓ 2 callersFunctionprepare_for_tsv_detection
(predictions, dataset)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/evaluation/coco/coco_eval.py:86
↓ 2 callersFunctionprepare_for_tsv_detection
(predictions, dataset)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/evaluation/od_to_grounding/od_eval.py:86
↓ 2 callersFunctionprepare_vars
Prepare variables including APIs and objects for LMPs
instruct_to_policy/scripts/src/utils.py:29
↓ 2 callersFunctionproject_3d_to_2d
Project 3D points to 2D image plane @param points_3d: 3D points in the form of (N, 3) @param intrinsic: camera intrinsic parameters @
instruct_to_policy/scripts/src/perception/utils.py:245
↓ 2 callersMethodpull_item
(self, idx)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/mixup.py:86
↓ 2 callersFunctionquat2rpy
(quat)
instruct_to_policy/scripts/src/env/moveit_imarker_keyboard.py:15
↓ 2 callersMethodquery_extrinsic
Query extrinsic transform from camera to target frame
instruct_to_policy/scripts/src/env/gazebo_cameras.py:207
↓ 2 callersMethodrandom_can
(self, num)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/engine/evolution.py:227
↓ 2 callersFunctionreachable_by_panda
Check if all area of the bounding box is reachable by the panda arm.
instruct_to_policy/scripts/data/generate_random_table_cabinet_world.py:120
↓ 2 callersFunctionreduce_loss_dict
Reduce the loss dictionary from all processes so that process with rank 0 has the averaged results. Returns a dict with the same fields as
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/engine/stage_trainer.py:13
↓ 2 callersMethodregister_object
Adds a given mesh to the scene and registers it as an object.
franka_policy/src/grasp_executor.py:205
↓ 2 callersFunctionremove_boxes
(boxlist_ts, min_scale, max_scale)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/evaluation/box_aug.py:150
↓ 2 callersMethodreset
(self)
franka_policy/src/grasp_detection.py:223
↓ 2 callersMethodreset
Reset the tsdf volume.
instruct_to_policy/scripts/src/perception/scalable_tsdf.py:25
↓ 2 callersMethodreset
Reset the environment to the start state, and save the start state.
instruct_to_policy/scripts/src/eval/evaluator.py:73
↓ 2 callersFunctionresize_box
(output, targets)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/engine/inference.py:313
↓ 2 callersFunctionrnn_flops
(flops, rnn_module, w_ih, w_hh, input_size)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/stats.py:343
↓ 2 callersFunctionround_channels
Round weighted channel number (make divisible operation). Parameters: ---------- channels : int or float Original number of
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/backbone/efficientnet.py:17
↓ 2 callersMethodrun
Wrapper function which calculates the results.
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/evaluation/lvis/lvis_eval.py:587
↓ 2 callersMethodselect_top_predictions
Select only predictions which have a `score` > self.confidence_threshold, and returns the predictions in descending order of score
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/engine/predictor.py:258
↓ 2 callersMethodset_gripper
(self, value)
instruct_to_policy/scripts/src/env/moveit_grippers.py:129
↓ 2 callersMethodset_gripper
(self, value)
instruct_to_policy/scripts/src/env/ur5_moveit_gazebo_env.py:39
↓ 2 callersFunctionsetup_LMP
Setup LMP for tabletop manipulation tasks. Args: env: the environment wrapper cfg_tabletop: the config file for tabletop man
instruct_to_policy/scripts/src/lmp/__init__.py:11
↓ 2 callersMethodsingle_attention_call
(self, v, l, attention_mask_l=None, dummy_tensor=None)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/fuse_helper.py:419
↓ 2 callersMethodto_coco_format
(self)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/structures/keypoint.py:133
↓ 2 callersMethodto_dict
Serialize Transform object into a dictionary.
instruct_to_policy/scripts/src/perception/utils.py:44
↓ 2 callersMethodtokenize
(self, line, max_len=20)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/language_backbone/word_utils.py:67
↓ 2 callersMethodtransform_point
(self, point)
grasp_detection/src/detectors/utils.py:56
↓ 2 callersMethodupdate
(self, val, n=1)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/metric_logger.py:57
↓ 2 callersMethodupdate
(self, coco_eval)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/evaluation/coco/coco_eval.py:494
↓ 2 callersMethodupdate
(self, coco_eval)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/evaluation/od_to_grounding/od_eval.py:494
↓ 2 callersMethodupdate_3d_bboxes
Update the 3D bounding boxes for each object. It filters the points inside the 2D bounding boxes and then fit the 3D bounding boxes.
instruct_to_policy/scripts/src/perception/scene_manager.py:168
↓ 2 callersMethodupdate_fusion
Update the multi-view fusion result. Args: data: Dictionary of sensor data.
instruct_to_policy/scripts/src/perception/scene_manager.py:84
↓ 2 callersMethodupdate_object_instances
Update the object instances in the scene: - object_names: list of object names - object_2d_bbox_dict: dictionary of 2
instruct_to_policy/scripts/src/perception/scene_manager.py:121
↓ 2 callersMethodupdate_top_k
(self, candidates, *, k, key, reverse=False)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/engine/evolution.py:195
↓ 2 callersFunctionvoc_evaluation
(dataset, predictions, output_folder, box_only, **_)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/evaluation/voc/__init__.py:6
↓ 2 callersFunctionwindow_partition
Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
instruct_to_policy/scripts/src/grounding_model/glip/swint.py:34
↓ 2 callersFunctionwindow_partition
Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/backbone/swint.py:34
↓ 2 callersFunctionwindow_partition
Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/backbone/swint_v2_vl.py:36
↓ 2 callersFunctionwindow_partition
Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/backbone/swint_vl.py:35
↓ 2 callersFunctionwindow_partition
Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/backbone/swint_v2.py:35
↓ 1 callersFunctionACM2matrix
Convert a moveit_msgs/AllowedCollisionMatrix to a matrix of bools :param acm: moveit_msgs/AllowedCollisionMatrix :return: np.ndarray of
instruct_to_policy/scripts/src/env/moveit_collision_manager.py:11
↓ 1 callersMethodContrastiveAlignLoss
(self, logits, positive_map)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/rpn/loss.py:587
↓ 1 callersMethodGIoULoss
(self, pred, target, anchor, weight=None)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/rpn/loss.py:610
↓ 1 callersFunctionROIAlign_forward_cpu
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/csrc/cpu/ROIAlign_cpu.cpp:221
↓ 1 callersFunctionTHCCeilDiv
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/csrc/cuda/common.hpp:10
↓ 1 callersMethod__getitem__
(self, idx)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/coco_dt.py:87
↓ 1 callersMethod__getitem__
(self, idx)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/pseudo_data.py:107
↓ 1 callersMethod__getitem__
(self, idx)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/lvis.py:249
↓ 1 callersMethod__getitem__
(self, idx)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/modulated_coco.py:130
↓ 1 callersMethod__init__
(self, name, cfg, lmp_fgen, fixed_vars, variable_vars)
instruct_to_policy/scripts/src/lmp/lmp_openai.py:22
↓ 1 callersMethod__init__
(self, cfg)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/roi_heads/keypoint_head/roi_keypoint_feature_extractors.py:11
↓ 1 callersMethod__init__
(self, padding=0)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/roi_heads/keypoint_head/inference.py:103
↓ 1 callersMethod__init__
(self, cfg)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/roi_heads/box_head/roi_box_predictors.py:34
↓ 1 callersMethod__init__
Arguments: num_classes (int): number of output classes input_size (int): number of channels of the input once it's fl
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/roi_heads/mask_head/roi_mask_feature_extractors.py:18
↓ 1 callersMethod__init__
(self, threshold=0.5, padding=1)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/roi_heads/mask_head/inference.py:180
↓ 1 callersMethod__init__
(self, inp_dim, out_dim, use_gn=False)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/roi_heads/mask_head/hourglass.py:7
↓ 1 callersMethod__init__
(self, cfg)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/roi_heads/mask_head/roi_mask_predictors.py:12
↓ 1 callersMethod__init__
Arguments: proposal_matcher (Matcher) fg_bg_sampler (BalancedPositiveNegativeSampler) box_coder (BoxCoder
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/rpn/loss.py:33
↓ 1 callersMethod__init__
Arguments: in_channels (int): number of channels of the input feature num_anchors (int): number of anchors to be pred
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/rpn/retina.py:20
↓ 1 callersMethod__init__
(self, cfg)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/rpn/fcos.py:15
↓ 1 callersMethod__init__
( self, model, optimizer=None, scheduler=None, save_dir="", sa
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/checkpoint.py:16
↓ 1 callersMethod__init__
(self)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/metric_logger.py:48
↓ 1 callersMethod__init__
(self, img_folder, ann_file, transforms, r
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/modulated_coco.py:23
↓ 1 callersMethod__init__
(self, img_folder_coco, img_folder_vg, ann_file,
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/mixed.py:91
← previousnext →301–400 of 2,080, ranked by callers