MCPcopy Create free account

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

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

↓ 287 callersFunctionprint
(*args, **kwargs)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/dist.py:127
↓ 169 callersMethodget_field
(self, field)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/structures/keypoint.py:79
↓ 126 callersMethodto
(self, *args, **kwargs)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/structures/keypoint.py:62
↓ 89 callersMethodget
(name)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/config/paths_catalog.py:416
↓ 79 callersMethodadd_field
(self, field, field_data)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/structures/bounding_box.py:57
↓ 77 callersMethodtranspose
(self, method)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/structures/keypoint.py:41
↓ 47 callersMethodadd_field
(self, field, field_data)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/structures/keypoint.py:76
↓ 44 callersMethodload
(self, f=None, force=False, keyword="model", skip_optimizer =False)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/checkpoint.py:59
↓ 38 callersMethodconvert
(self, mode)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/structures/bounding_box.py:73
↓ 34 callersMethodfrom_pretrained
(cls, model_name, load_weights=True, advprop=True, num_classes=1000, in_channels=3)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/backbone/efficientdet.py:1025
↓ 34 callersMethodresize
(self, size, *args, **kwargs)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/structures/keypoint.py:30
↓ 33 callersMethodextend
(self, buffers)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/rpn/anchor_generator.py:22
↓ 29 callersFunctioncat_boxlist
Concatenates a list of BoxList (having the same image size) into a single BoxList Arguments: bboxes (list[BoxList])
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/structures/boxlist_ops.py:148
↓ 29 callersMethodupdate
(self, model)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/ema.py:36
↓ 27 callersFunctionadd_conv
Add a conv2d / batchnorm / leaky ReLU block. Args: in_ch (int): number of input channels of the convolution layer. out_ch (in
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/layers/deform_pool.py:7
↓ 27 callersMethodsave
(self, name, **kwargs)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/checkpoint.py:34
↓ 25 callersFunctiontry_to_find
(file, return_dir=False, search_path=['./DATASET', './OUTPUT', './data', './MODEL'])
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/config/paths_catalog.py:7
↓ 22 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/maskrcnn_benchmark/modeling/utils.py:9
↓ 20 callersMethod_summarize
(self, summary_type, iou_thr=None, area_rng="all", freq_group_idx=None)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/evaluation/lvis/lvis_eval.py:525
↓ 19 callersMethodclip_to_image
(self, remove_empty=True)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/structures/bounding_box.py:230
↓ 18 callersMethod__init__
Args: num_channels: conv_channels: first_time: whether the input comes directly from the efficientnet,
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/backbone/efficientdet.py:195
↓ 17 callersMethoddecode
(self, preds, anchors)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/rpn/atss.py:41
↓ 15 callersMethodcopy_with_fields
(self, fields)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/structures/bounding_box.py:256
↓ 15 callersMethodfields
(self)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/structures/bounding_box.py:66
↓ 15 callersFunctionis_main_process
()
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/comm.py:31
↓ 15 callersMethodseek
(self, idx)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/tsv.py:102
↓ 14 callersMethodarea
(self)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/structures/bounding_box.py:243
↓ 14 callersMethodget_link_names
(self, name_to_idx_map: Dict[str, int])
instruct_to_policy/scripts/src/env/moveit_collision_manager.py:75
↓ 14 callersFunctionpermute_and_flatten
(layer, N, A, C, H, W)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/utils.py:19
↓ 14 callersMethodupdate
Update the scene manager with new sensor data and new 2D detections. Args: data: Dictionary of sensor data.
instruct_to_policy/scripts/src/perception/scene_manager.py:57
↓ 13 callersMethod__init__
(self, cfg)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/backbone/resnet.py:82
↓ 13 callersFunctionboxlist_iou
Compute the intersection over union of two set of boxes. The box order must be (xmin, ymin, xmax, ymax). Arguments: box1: (BoxList) bou
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/structures/boxlist_ops.py:97
↓ 13 callersFunctionget_world_size
()
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/comm.py:15
↓ 13 callersMethodstep
(self, metrics=None)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/solver/lr_scheduler.py:140
↓ 12 callersMethodas_matrix
Represent as a 4x4 matrix.
grasp_detection/src/detectors/utils.py:34
↓ 12 callersMethodas_matrix
Represent as a 4x4 matrix.
instruct_to_policy/scripts/src/perception/utils.py:38
↓ 12 callersFunctionpermute_and_flatten
(layer, N, A, C, H, W)
instruct_to_policy/scripts/src/grounding_model/glip/utils.py:19
↓ 12 callersMethodstate_dict
(self)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/ema.py:33
↓ 11 callersFunctionconv1x1
1x1 convolution
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/backbone/ops.py:25
↓ 11 callersMethodget_3d_bbox
Get the bounding box of the object. Args: obj_name: name of the object Returns: bbox: np.ndarray, [x_
instruct_to_policy/scripts/src/env/env.py:90
↓ 11 callersMethodhas_field
(self, field)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/structures/bounding_box.py:63
↓ 11 callersMethodreset
Reset the robot to the initial state and opens the gripper.
franka_policy/src/grasp_executor.py:171
↓ 10 callersMethod__init__
(self, level, rfb=False, vis=False)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/layers/deform_pool.py:269
↓ 10 callersMethodencode
(self, gt_boxes, anchors)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/rpn/atss.py:19
↓ 9 callersFunctionfind_file_path_in_yaml
(fname, root)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/tsv.py:38
↓ 9 callersMethodget_cloud
(self)
instruct_to_policy/scripts/src/perception/scalable_tsdf.py:100
↓ 9 callersMethodprepare
(self, predictions)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/evaluation/lvis/lvis_eval.py:917
↓ 9 callersFunctionto_image_list
tensors can be an ImageList, a torch.Tensor or an iterable of Tensors. It can't be a numpy array. When tensors is an iterable of Tensors,
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/structures/image_list.py:29
↓ 8 callersMethod__getattr__
(self, attr)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/metric_logger.py:76
↓ 8 callersMethod__init__
(self, in_channels=256, out_channels=256, conv_func=nn.Conv
instruct_to_policy/scripts/src/grounding_model/glip/vldyhead.py:147
↓ 8 callersMethod__init__
(self, C, kernel_size, stride, padding)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/backbone/fbnet.py:81
↓ 8 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/vldyhead.py:142
↓ 8 callersMethod__init__
(self, q_dim, hidden_dim, dropout=0.1)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/fuse_helper.py:544
↓ 8 callersFunctionconv3x3
3x3 convolution with padding
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/backbone/ops.py:19
↓ 8 callersFunctionconv5x5
5x5 convolution with padding
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/backbone/ops.py:13
↓ 8 callersFunctionconv7x7
7x7 convolution with padding
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/backbone/ops.py:7
↓ 8 callersMethodget_line_no
(self, idx)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/tsv.py:250
↓ 8 callersFunctionget_stamped_pose
(position, orientation, frame)
franka_policy/src/ros_utils.py:17
↓ 8 callersMethodintegrate
Args: depth_img: The depth image. intrinsic: The intrinsic parameters of a pinhole camera model. extrinsi
instruct_to_policy/scripts/src/perception/scalable_tsdf.py:34
↓ 8 callersFunctionremove_small_boxes
Only keep boxes with both sides >= min_size Arguments: boxlist (Boxlist) min_size (int)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/structures/boxlist_ops.py:78
↓ 8 callersMethodupdate
(self, **kwargs)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/metric_logger.py:69
↓ 7 callersFunctionall_gather
Run all_gather on arbitrary picklable data (not necessarily tensors) Args: data: any picklable object Returns: list[data]
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/comm.py:50
↓ 7 callersMethodencode
Inputs: - input_labels: Variable long (batch, seq_len) Outputs: - output : Variable
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/language_backbone/rnn_model.py:49
↓ 7 callersMethodextend
(self, buffers)
instruct_to_policy/scripts/src/grounding_model/glip/anchor_generator.py:22
↓ 7 callersMethodget_img_info
(self, idx)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/tsv.py:285
↓ 7 callersMethodtrain
(self, train_loader, val_loader)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/engine/evolution.py:292
↓ 7 callersMethodtranspose_for_scores
(self, x)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/rpn/modeling_bert.py:66
↓ 6 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
instruct_to_policy/scripts/src/grounding_model/glip/swint.py:16
↓ 6 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/backbone/swint.py:16
↓ 6 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/backbone/swint_v2_vl.py:18
↓ 6 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/backbone/swint_vl.py:17
↓ 6 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/backbone/swint_v2.py:17
↓ 6 callersMethodaccumulate
Accumulate per image evaluation results and store the result in self.eval.
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/evaluation/lvis/lvis_eval.py:412
↓ 6 callersMethodbackward
(ctx, grad_output)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/layers/roi_pool.py:25
↓ 6 callersFunctiongather_tensors
Performs all_gather operation on the provided tensors. *** Warning ***: torch.distributed.all_gather has no gradient.
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/shallow_contrastive_loss_helper.py:28
↓ 6 callersMethodget_allowed_collision_matrix
(self)
instruct_to_policy/scripts/src/env/moveit_collision_manager.py:66
↓ 6 callersFunctionget_grasp_marker
( orientation, position, id, color=None, mesh_resource="file:///home/zrene/gripper_base_me
franka_policy/src/ros_utils.py:51
↓ 6 callersFunctionis_supported_instance
(module)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/stats.py:499
↓ 6 callersFunctionmake_atss_postprocessor
(config, box_coder, is_train=False)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/rpn/inference.py:825
↓ 6 callersFunctionnms
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/csrc/nms.h:10
↓ 6 callersFunctionrpy2quat
(rpy)
instruct_to_policy/scripts/src/env/moveit_imarker_keyboard.py:19
↓ 5 callersMethod__init__
(self, conv, inplanes, planes, stride=1, norm_layer=nn.BatchNorm2d)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/backbone/blocks.py:8
↓ 5 callersFunction_summarize
(iouThr=None, areaRng='all', maxDets=100)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/evaluation/coco/coco_eval.py:406
↓ 5 callersFunction_summarize
(iouThr=None, areaRng='all', maxDets=100)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/evaluation/od_to_grounding/od_eval.py:406
↓ 5 callersFunctionboxlist_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:10
↓ 5 callersFunctionclean_name
(name)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/od_to_grounding.py:9
↓ 5 callersFunctionconv_with_kaiming_uniform
(use_gn=False, use_relu=False, use_dyrelu=False)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/make_layers.py:95
↓ 5 callersFunctionevaluate
evaluate dataset using different methods based on dataset type. Args: dataset: Dataset object predictions(list[BoxList]): each ite
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/evaluation/__init__.py:10
↓ 5 callersFunctionexec_safe
(code_str, gvars=None, lvars=None)
instruct_to_policy/scripts/src/utils.py:102
↓ 5 callersMethodfrom_dict
(cls, dictionary)
grasp_detection/src/detectors/utils.py:76
↓ 5 callersMethodget_gazebo_model_names
Get all object names in the world.
instruct_to_policy/scripts/src/env/gazebo_env.py:89
↓ 5 callersMethodget_grasp_marker
( self, orientation, position, id, color=None, mesh_resource="
franka_policy/src/grasp_detection.py:380
↓ 5 callersMethodget_groundtruth
(self, idx, call=False)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/vg.py:241
↓ 5 callersMethodget_links
(self, acm: AllowedCollisionMatrix)
instruct_to_policy/scripts/src/env/moveit_collision_manager.py:72
↓ 5 callersFunctionload_config
This function recursively loads the config files and merge it into the base config.
instruct_to_policy/scripts/src/configs/config.py:57
↓ 5 callersFunctionmake_conv3x3
( in_channels, out_channels, dilation=1, stride=1, use_gn=False, use_relu=False,
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/make_layers.py:44
↓ 5 callersFunctionmerge_dicts
(dicts)
instruct_to_policy/scripts/src/utils.py:22
↓ 5 callersFunctionpad_tensor_given_dim_length
(tensor, dim, length, padding_value=0, batch_first=True)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/utils/shallow_contrastive_loss_helper.py:13
↓ 5 callersFunctionround_filters
Calculate and round number of filters based on depth multiplier.
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/modeling/backbone/efficientdet.py:619
↓ 5 callersFunctionsanity_check_target_after_processing
(target)
instruct_to_policy/scripts/src/grounding_model/glip/maskrcnn_benchmark/data/datasets/od_to_grounding.py:16
next →1–100 of 2,080, ranked by callers