MCPcopy Create free account

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

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

↓ 5 callersFunctionsynchronize
Helper function to synchronize (barrier) among all processes when using distributed training
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/comm.py:35
↓ 5 callersMethodtransform_point
(self, point)
instruct_to_policy/scripts/src/perception/utils.py:60
↓ 4 callersMethod__init__
(self, in_channels, out_channels, kernel_size,
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/backbone/efficientnet.py:100
↓ 4 callersMethod__init__
(self, in_channels=256, out_channels=256, conv_func=nn.Conv
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/rpn/dyhead.py:130
↓ 4 callersMethod__init__
(self, config)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/rpn/modeling_bert.py:260
↓ 4 callersMethod_go
(self, move_group)
franka_policy/src/grasp_executor.py:191
↓ 4 callersFunction_make_conv
(input_dim, output_dim, k, stride=1)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/fuse_helper.py:68
↓ 4 callersFunction_make_mlp
(input_dim, output_dim, drop)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/fuse_helper.py:77
↓ 4 callersMethod_shape
(self, tensor: torch.Tensor, seq_len: int, bsz: int)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/fuse_helper.py:201
↓ 4 callersMethod_split_into_xyxy
(self)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/structures/bounding_box.py:94
↓ 4 callersMethod_update_collision_matrix
Update collision matrix with a list of link tuples and allowed values :param link_tuple_lists: [(link_1, link_2), ...] :par
instruct_to_policy/scripts/src/env/moveit_collision_manager.py:188
↓ 4 callersFunctionboxlist_ml_nms
Performs non-maximum suppression on a boxlist, with scores specified in a boxlist field via score_field. Arguments: boxlist(BoxL
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/structures/boxlist_ops.py:35
↓ 4 callersFunctionclamp_values
(vector, min_val = -50000, max_val = 50000)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/rpn/modeling_bert.py:34
↓ 4 callersMethodcrop
(self, box)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/structures/keypoint.py:27
↓ 4 callersMethoddecode
(self, tokens)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/language_backbone/simple_tokenizer.py:134
↓ 4 callersMethoddownload
Download images from mscoco.org server. Args: save_dir (str): dir to save downloaded images img_ids (int array): img i
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/lvis.py:158
↓ 4 callersMethodevaluate
Run per image evaluation on given images and store results (a list of dict) in self.eval_imgs.
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/evaluation/lvis/lvis_eval.py:252
↓ 4 callersFunctiongather_candidates
(all_candidates)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/engine/evolution.py:25
↓ 4 callersMethodget_cloud
(self, pts, classes_colors)
franka_policy/src/grasp_detection.py:371
↓ 4 callersMethodget_field
(self, field)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/structures/bounding_box.py:60
↓ 4 callersMethodget_gt_bbox
Get object bounding box.
instruct_to_policy/scripts/src/env/gazebo_env.py:126
↓ 4 callersMethodget_gt_obj_pose
Get ground truth object pose from gazebo
instruct_to_policy/scripts/src/env/gazebo_env.py:101
↓ 4 callersFunctionget_pose_msg
(position: List, orientation: List)
instruct_to_policy/scripts/src/env/utils.py:18
↓ 4 callersFunctiongroup_norm
(out_channels, affine=True, divisor=1)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/make_layers.py:31
↓ 4 callersFunctionhas_valid_annotation
(anno)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/coco.py:28
↓ 4 callersFunctionmake_anchor_generator_complex
(config)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/rpn/anchor_generator.py:157
↓ 4 callersFunctionmake_fc
Caffe2 implementation uses XavierFill, which in fact corresponds to kaiming_uniform_ in PyTorch
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/make_layers.py:80
↓ 4 callersFunctionmatrix2ACMEntries
Convert a matrix of bools to a moveit_msgs/AllowedCollisionMatrix :param matrix: np.ndarray of bools
instruct_to_policy/scripts/src/env/moveit_collision_manager.py:23
↓ 4 callersMethodmove_to_pose
Move the robot to a given pose with given orientation.
instruct_to_policy/scripts/src/env/moveit_gazebo_env.py:393
↓ 4 callersMethodsummarize
Compute and display summary metrics for evaluation results.
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/evaluation/lvis/lvis_eval.py:550
↓ 4 callersMethodto
(self, device)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/structures/bounding_box.py:213
↓ 4 callersMethodupdate_allowed_collision_matrix
(self, acm: AllowedCollisionMatrix)
instruct_to_policy/scripts/src/env/moveit_collision_manager.py:81
↓ 3 callersMethod__init__
Arguments: pre_nms_top_n (int) post_nms_top_n (int) nms_thresh (float) min_size (int)
instruct_to_policy/scripts/src/grounding_model/glip/inference.py:22
↓ 3 callersMethod__init__
(self, cfg)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/roi_heads/box_head/roi_box_feature_extractors.py:106
↓ 3 callersMethod__init__
Arguments: pre_nms_top_n (int) post_nms_top_n (int) nms_thresh (float) min_size (int)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/rpn/inference.py:22
↓ 3 callersFunction_accumulate_predictions_from_multiple_gpus
(predictions_per_gpu)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/engine/inference.py:292
↓ 3 callersMethod_ensure_lineidx_loaded
(self)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/tsv.py:129
↓ 3 callersMethod_go
(self, move_group)
instruct_to_policy/scripts/src/env/moveit_gazebo_env.py:173
↓ 3 callersFunction_isArrayLike
(obj)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/lvis.py:16
↓ 3 callersFunction_isArrayLike
(obj)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/evaluation/lvis/lvis.py:14
↓ 3 callersMethod_load_helper
(self, _dict, ids)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/lvis.py:122
↓ 3 callersMethod_load_helper
(self, _dict, ids)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/evaluation/lvis/lvis.py:120
↓ 3 callersMethod_shape
(self, tensor: torch.Tensor, seq_len: int, bsz: int)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/fuse_helper.py:460
↓ 3 callersMethod_update_default_collision_entries
Update default collision entries with a list of links and allowed values :param link_lists: [link_1, link_2, ...] :param all
instruct_to_policy/scripts/src/env/moveit_collision_manager.py:265
↓ 3 callersMethodadd_word
(self, word)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/language_backbone/word_utils.py:20
↓ 3 callersFunctioncalc_tf_padding
Calculate TF-same like padding size. Parameters: ---------- x : tensor Input tensor. kernel_size : int Convoluti
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/backbone/efficientnet.py:40
↓ 3 callersFunctioncat
Efficient version of torch.cat that avoids a copy if there is only a single element in a list
instruct_to_policy/scripts/src/grounding_model/glip/utils.py:9
↓ 3 callersFunctioncheck_points_in_bbox
(points_2d: np.array, bbox: np.array)
instruct_to_policy/scripts/src/perception/utils.py:264
↓ 3 callersMethodcompute_prediction
(self, original_image, original_caption)
instruct_to_policy/scripts/src/grounding_model/glip/predictor_glip.py:168
↓ 3 callersFunctionconv1x1_block
1x1 version of the standard convolution block. Parameters: ---------- in_channels : int Number of input channels. out_ch
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/backbone/efficientnet.py:147
↓ 3 callersFunctionconvert_to_xywh
(boxes)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/evaluation/lvis/lvis_eval.py:984
↓ 3 callersMethoddecode
(self, preds, anchors)
instruct_to_policy/scripts/src/grounding_model/glip/vldyhead.py:69
↓ 3 callersMethodforward
(self, input)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/layers/misc.py:118
↓ 3 callersFunctiongeneralized_box_iou
Generalized IoU from https://giou.stanford.edu/ The boxes should be in [x0, y0, x1, y1] format Returns a [N, M] pairwise matrix, where
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/layers/set_loss.py:31
↓ 3 callersMethodget_ann_ids
Get ann ids that satisfy given filter conditions. Args: img_ids (int array): get anns for given imgs cat_ids (int arra
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/evaluation/lvis/lvis.py:70
↓ 3 callersFunctionget_same_padding_conv2d
Chooses static padding if you have specified an image size, and dynamic padding otherwise. Static padding is necessary for ONNX exporting of
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/backbone/efficientdet.py:609
↓ 3 callersMethodget_sensor_data
get sensor data from perception model
instruct_to_policy/scripts/src/env/env.py:78
↓ 3 callersMethodgrasp
Executes a grasp at a given pose with given orientation. Args: position: The position of the grasp. orient
franka_policy/src/grasp_executor.py:263
↓ 3 callersFunctionimport_file
(module_name, file_path, make_importable=False)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/imports.py:10
↓ 3 callersMethodlegal
(self, cand)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/engine/evolution.py:179
↓ 3 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/evaluation/lvis/lvis.py:128
↓ 3 callersFunctionload_from_yaml_file
(yaml_file)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/tsv.py:33
↓ 3 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/lvis.py:149
↓ 3 callersFunctionload_models_from_metadata
Load the selected models from the metadata file.
instruct_to_policy/scripts/data/generate_random_table_cabinet_world.py:84
↓ 3 callersFunctionmake_atss_loss_evaluator
(cfg, box_coder)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/rpn/loss.py:1249
↓ 3 callersMethodnum_rows
(self)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/tsv.py:98
↓ 3 callersFunctionopen3d_frustum_filter
Filter open3d point cloud with frustum filters by projecting 3D points onto 2D image planes and checking if they are within the 2D bounding
grasp_detection/src/detectors/utils.py:228
↓ 3 callersMethodopen_gripper
Open the gripper.
instruct_to_policy/scripts/src/env/moveit_gazebo_env.py:377
↓ 3 callersFunctionprint
(*args, **kwargs)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/mdetr_dist.py:127
↓ 3 callersMethodprint_results
(self)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/evaluation/lvis/lvis_eval.py:593
↓ 3 callersFunctionreduce_sum
(tensor)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/comm.py:137
↓ 3 callersFunctionsmooth_l1_loss
very similar to the smooth_l1_loss from pytorch, but with the extra beta parameter
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/layers/smooth_l1_loss.py:6
↓ 3 callersFunctionsort_key_by_val
(dic)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/vg.py:18
↓ 3 callersMethodstack_random_cand
(self, random_func, *, batchsize=10)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/engine/evolution.py:221
↓ 3 callersMethodupdate
(self, predictions)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/refexp.py:32
↓ 2 callersMethodLoad
/////////////////////////////////////////////////////////////////////////// Load the controller
gazebo_plugins_local/src/gazebo_ros_moveit_planning_scene.cpp:69
↓ 2 callersMethodNllSoftMaxLoss
(self, logits, target)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/rpn/loss.py:582
↓ 2 callersMethod__get_negative_captions__
(self, idx, negative_size=7)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/caption.py:108
↓ 2 callersMethod__getitem__
(self, idx)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/caption.py:117
↓ 2 callersMethod__init__
(self)
grasp_detection/src/detectors/config.py:9
↓ 2 callersMethod__init__
Arguments: in_channels_list (list[int]): number of channels for each feature map that will be fed out
instruct_to_policy/scripts/src/grounding_model/glip/fpn.py:13
↓ 2 callersMethod__init__
(self, buffers=None)
instruct_to_policy/scripts/src/grounding_model/glip/anchor_generator.py:17
↓ 2 callersMethod__init__
Arguments: in_channels_list (list[int]): number of channels for each feature map that will be fed out
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/backbone/fpn.py:13
↓ 2 callersMethod__init__
(self, cfg)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/rpn/atss.py:16
↓ 2 callersMethod__init__
(self, buffers=None)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/rpn/anchor_generator.py:17
↓ 2 callersMethod__init__
Arguments: cfg : config in_channels (int): number of channels of the input feature num_ancho
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/rpn/rpn.py:52
↓ 2 callersMethod__init__
Construct a layernorm module in the TF style (epsilon inside the square root).
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/language_backbone/clip_model.py:17
↓ 2 callersMethod__init__
( self, optimizer, milestones, gamma=0.1, warmup_factor=1.0 / 3,
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/solver/lr_scheduler.py:12
↓ 2 callersMethod__init__
Class for reading and visualizing annotations. Args: annotation_path (str): location of annotation file
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/lvis.py:21
↓ 2 callersMethod__init__
(self, tsv_file, generate_lineidx=False)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/tsv.py:76
↓ 2 callersMethod__init__
(self, in_channels=256, out_channels=256, conv_func=Conv3x3
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/layers/dyhead.py:36
↓ 2 callersMethod__init__
(self, inp, oup, reduction=4, lambda_a=1.0, K2=True, use_bias=True, use_spatial=False, init_a
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/layers/dyrelu.py:40
↓ 2 callersMethod__init__
( self, in_channels, out_channels, kernel_size, stride=1, padd
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/layers/deform_conv.py:269
↓ 2 callersMethod__len__
(self)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/tsv.py:126
↓ 2 callersFunction_cat
Efficient version of torch.cat that avoids a copy if there is only a single element in a list
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/structures/boxlist_ops.py:136
↓ 2 callersMethod_check_model_name_is_valid
Validates model name.
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/backbone/efficientdet.py:1042
↓ 2 callersMethod_create_index
(self)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/evaluation/lvis/lvis.py:45
↓ 2 callersMethod_create_query
Create query string for the remote service. Args: question: String, question text image_list: List, list of i
instruct_to_policy/scripts/src/grounding_model/grounding_embodiedgpt.py:36
↓ 2 callersMethod_ensure_tsv_opened
(self)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/tsv.py:135
↓ 2 callersMethod_execute
(self, move_group, plan, reset_err=True)
instruct_to_policy/scripts/src/env/moveit_gazebo_env.py:181
← previousnext →101–200 of 2,080, ranked by callers