Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenGVLab/InternImage
/ functions
Functions
2,414 in github.com/OpenGVLab/InternImage
⨍
Functions
2,414
◇
Types & classes
566
↳
Endpoints
3
↓ 2 callers
Method
evaluate_miou
(self, occ_results, runner=None, show_dir=None, **eval_kwargs)
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/datasets/nuscenes_occ.py:204
↓ 2 callers
Method
extract_feat
Extract features from images.
segmentation/mmseg_custom/models/segmentors/encoder_decoder_mask2former.py:63
↓ 2 callers
Method
extract_feat
Extract features from images.
segmentation/mmseg_custom/models/segmentors/encoder_decoder_mask2former_aug.py:63
↓ 2 callers
Method
extract_feat
Extract features from images.
autonomous_driving/Online-HD-Map-Construction/src/models/mapers/base_mapper.py:43
↓ 2 callers
Method
filename
(self, index, basename=False, absolute=False)
classification/dataset/cached_image_folder.py:401
↓ 2 callers
Method
filenames
(self, basename=False, absolute=False)
classification/dataset/cached_image_folder.py:404
↓ 2 callers
Function
filter_by_sample_token
(ori_eval_boxes, valid_sample_tokens=[], verbose=False)
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/datasets/nuscnes_eval.py:394
↓ 2 callers
Function
filter_eval_boxes_by_overlap
Applies filtering to boxes. basedon overlap . :param nusc: An instance of the NuScenes class. :param eval_boxes: An instance of the EvalB
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/datasets/nuscnes_eval.py:402
↓ 2 callers
Method
fit_bezier
(self, points, n_control)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/datasets/pipelines/transforms.py:281
↓ 2 callers
Method
format_results
Format the results to json (standard format for COCO evaluation). Args: results (list[tuple | numpy.ndarray]): Testing results of
detection/mmdet_custom/datasets/crowd_human.py:306
↓ 2 callers
Method
forward
(self, x)
classification/huggingface/in1k_model/internimage_g_22kto1k_512/modeling_internimage.py:343
↓ 2 callers
Method
forward
(self, x)
classification/huggingface/in1k_model/internimage_xl_22kto1k_384/modeling_internimage.py:343
↓ 2 callers
Method
forward
(self, x)
classification/huggingface/in1k_model/internimage_s_1k_224/modeling_internimage.py:343
↓ 2 callers
Method
forward
(self, x)
classification/huggingface/in1k_model/internimage_h_22kto1k_640/modeling_internimage.py:343
↓ 2 callers
Method
forward
(self, x)
classification/huggingface/in1k_model/internimage_l_22kto1k_384/modeling_internimage.py:343
↓ 2 callers
Method
forward
(self, x)
classification/huggingface/in1k_model/internimage_t_1k_224/modeling_internimage.py:343
↓ 2 callers
Method
forward
(self, x)
classification/huggingface/in1k_model/internimage_b_1k_224/modeling_internimage.py:343
↓ 2 callers
Method
forward
(self, x)
classification/huggingface/22k_model/internimage_l_22k_384/modeling_internimage.py:343
↓ 2 callers
Method
forward
(self, x)
classification/huggingface/22k_model/internimage_g_jointto22k_384/modeling_internimage.py:343
↓ 2 callers
Method
forward
(self, x)
classification/huggingface/22k_model/internimage_xl_22k_384/modeling_internimage.py:343
↓ 2 callers
Method
forward
(self, x)
classification/huggingface/22k_model/internimage_h_jointto22k_384/modeling_internimage.py:343
↓ 2 callers
Method
forward
Forward function for `FFN`. The function would add x to the output tensor if residue is None.
segmentation/mmseg_custom/models/utils/transformer.py:317
↓ 2 callers
Method
forward
(self, o1_feats, o2_feats)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/heads/relationship_head.py:63
↓ 2 callers
Method
forward_features
(self, x)
classification/huggingface/in1k_model/internimage_g_22kto1k_512/modeling_internimage.py:758
↓ 2 callers
Method
forward_features
(self, x)
classification/huggingface/in1k_model/internimage_xl_22kto1k_384/modeling_internimage.py:758
↓ 2 callers
Method
forward_features
(self, x)
classification/huggingface/in1k_model/internimage_s_1k_224/modeling_internimage.py:758
↓ 2 callers
Method
forward_features
(self, x)
classification/huggingface/in1k_model/internimage_h_22kto1k_640/modeling_internimage.py:758
↓ 2 callers
Method
forward_features
(self, x)
classification/huggingface/in1k_model/internimage_l_22kto1k_384/modeling_internimage.py:758
↓ 2 callers
Method
forward_features
(self, x)
classification/huggingface/in1k_model/internimage_t_1k_224/modeling_internimage.py:758
↓ 2 callers
Method
forward_features
(self, x)
classification/huggingface/in1k_model/internimage_b_1k_224/modeling_internimage.py:758
↓ 2 callers
Method
forward_features
(self, x)
classification/huggingface/22k_model/internimage_l_22k_384/modeling_internimage.py:758
↓ 2 callers
Method
forward_features
(self, x)
classification/huggingface/22k_model/internimage_g_jointto22k_384/modeling_internimage.py:758
↓ 2 callers
Method
forward_features
(self, x)
classification/huggingface/22k_model/internimage_xl_22k_384/modeling_internimage.py:758
↓ 2 callers
Method
forward_features
(self, x)
classification/huggingface/22k_model/internimage_h_jointto22k_384/modeling_internimage.py:758
↓ 2 callers
Method
forward_features_seq_out
(self, x)
classification/huggingface/in1k_model/internimage_g_22kto1k_512/modeling_internimage.py:748
↓ 2 callers
Method
forward_features_seq_out
(self, x)
classification/huggingface/in1k_model/internimage_xl_22kto1k_384/modeling_internimage.py:748
↓ 2 callers
Method
forward_features_seq_out
(self, x)
classification/huggingface/in1k_model/internimage_s_1k_224/modeling_internimage.py:748
↓ 2 callers
Method
forward_features_seq_out
(self, x)
classification/huggingface/in1k_model/internimage_h_22kto1k_640/modeling_internimage.py:748
↓ 2 callers
Method
forward_features_seq_out
(self, x)
classification/huggingface/in1k_model/internimage_l_22kto1k_384/modeling_internimage.py:748
↓ 2 callers
Method
forward_features_seq_out
(self, x)
classification/huggingface/in1k_model/internimage_t_1k_224/modeling_internimage.py:748
↓ 2 callers
Method
forward_features_seq_out
(self, x)
classification/huggingface/in1k_model/internimage_b_1k_224/modeling_internimage.py:748
↓ 2 callers
Method
forward_features_seq_out
(self, x)
classification/huggingface/22k_model/internimage_l_22k_384/modeling_internimage.py:748
↓ 2 callers
Method
forward_features_seq_out
(self, x)
classification/huggingface/22k_model/internimage_g_jointto22k_384/modeling_internimage.py:748
↓ 2 callers
Method
forward_features_seq_out
(self, x)
classification/huggingface/22k_model/internimage_xl_22k_384/modeling_internimage.py:748
↓ 2 callers
Method
forward_features_seq_out
(self, x)
classification/huggingface/22k_model/internimage_h_jointto22k_384/modeling_internimage.py:748
↓ 2 callers
Method
forward_head
Forward for head part which is called after every decoder layer. Args: decoder_out (Tensor): in shape (num_queries, batch_size, c
segmentation/mmseg_custom/models/decode_heads/mask2former_head.py:404
↓ 2 callers
Method
forward_test
Test segment without test-time aumengtation. Only the output of last decoder layers was used. Args: inputs (list[Tensor]
segmentation/mmseg_custom/models/decode_heads/maskformer_head.py:497
↓ 2 callers
Method
forward_test
(self, img_metas, img=None, **kwargs)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/detectors/road_bev.py:221
↓ 2 callers
Method
forward_test
(self, img_metas, img=None, voxel_semantics=None,
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/detectors/bevformer_occ.py:235
↓ 2 callers
Function
fuse_conv_bn
During inference, the functionary of batch norm layers is turned off but only the mean and var alone channels are used, which exposes the chance t
autonomous_driving/occupancy_prediction/tools/misc/fuse_conv_bn.py:10
↓ 2 callers
Function
fuse_module
(m)
autonomous_driving/openlane-v2/tools/misc/fuse_conv_bn.py:26
↓ 2 callers
Method
gen_encoder_output_proposals
Generate proposals from encoded memory. Args: memory (Tensor) : The output of encoder, has shape (bs, num_key, em
segmentation/mmseg_custom/models/utils/transformer.py:687
↓ 2 callers
Function
get_2d_boxes
Get the 2D annotation records for a given info. Args: info: Information of the given sample data. occluded: Integer (0, 1, 2, 3)
autonomous_driving/openlane-v2/tools/data_converter/kitti_converter.py:459
↓ 2 callers
Method
get_annotations_lane_centerlines
r""" Retuens lane centerline annotations of the current frame. Returns ------- list [{'id': int, 'points'
autonomous_driving/openlane-v2/openlanev2/dataset/frame.py:151
↓ 2 callers
Method
get_annotations_topology_lclc
r""" Retuens the adjacent matrix of topology_lclc. Returns ------- list [#lane_centerline, #lane_centerli
autonomous_driving/openlane-v2/openlanev2/dataset/frame.py:176
↓ 2 callers
Method
get_annotations_topology_lcte
r""" Retuens the adjacent matrix of topology_lcte. Returns ------- list [#lane_centerline, #traffic_eleme
autonomous_driving/openlane-v2/openlanev2/dataset/frame.py:189
↓ 2 callers
Function
get_available_scenes
Get available scenes from the input nuscenes class. Given the raw data, get the information of available scenes for further info generation.
autonomous_driving/openlane-v2/tools/data_converter/nuscenes_converter.py:103
↓ 2 callers
Method
get_bev_features
obtain bev features.
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/modules/transformer_occ.py:172
↓ 2 callers
Function
get_calib_path
(idx, prefix, training=True, relative_path=True,
autonomous_driving/openlane-v2/tools/data_converter/kitti_data_utils.py:87
↓ 2 callers
Method
get_data_info
Get data info according to the given index. Args: index (int): Index of the sample data to get. Returns: dic
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/datasets/nuscenes_occ.py:102
↓ 2 callers
Method
get_dataset_idx_and_sample_idx
Return dataset and sample index when given an indice of ConcatDataset. Args: indice (int): indice of sample in ConcatData
segmentation/mmseg_custom/datasets/dataset_wrappers.py:98
↓ 2 callers
Function
get_image_index_str
(img_idx, use_prefix_id=False)
autonomous_driving/openlane-v2/tools/data_converter/kitti_data_utils.py:13
↓ 2 callers
Function
get_image_path
(idx, prefix, training=True, relative_path=True,
autonomous_driving/openlane-v2/tools/data_converter/kitti_data_utils.py:43
↓ 2 callers
Method
get_image_path
r""" Retuens the image path given a camera. Parameters ---------- camera : str Returns -------
autonomous_driving/openlane-v2/openlanev2/dataset/frame.py:71
↓ 2 callers
Method
get_intrinsic
r""" Retuens the intrinsic given a camera. Parameters ---------- camera : str Returns -------
autonomous_driving/openlane-v2/openlanev2/dataset/frame.py:104
↓ 2 callers
Function
get_label_anno
(label_path)
autonomous_driving/openlane-v2/tools/data_converter/kitti_data_utils.py:117
↓ 2 callers
Function
get_label_path
(idx, prefix, training=True, relative_path=True,
autonomous_driving/openlane-v2/tools/data_converter/kitti_data_utils.py:55
↓ 2 callers
Function
get_model
(args, cfg)
classification/export.py:35
↓ 2 callers
Method
get_pose
r""" Retuens the pose of ego vehicle. Returns ------- dict {'rotation': [3, 3], 'translation': [3, ]}.
autonomous_driving/openlane-v2/openlanev2/dataset/frame.py:59
↓ 2 callers
Function
get_pose_path
(idx, prefix, training=True, relative_path=True,
autonomous_driving/openlane-v2/tools/data_converter/kitti_data_utils.py:97
↓ 2 callers
Method
get_reference_points
Get the reference points used in decoder. Args: spatial_shapes (Tensor): The shape of all feature maps, has shape
segmentation/mmseg_custom/models/utils/transformer.py:755
↓ 2 callers
Method
get_reference_points
Get the reference points used in SCA and TSA. Args: H, W: spatial shape of bev. Z: hight of pillar. D: sam
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/modules/encoder.py:46
↓ 2 callers
Method
get_reference_points
Get the reference points used in SCA and TSA. Args: H, W: spatial shape of bev. Z: hight of pillar. D: sam
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/modules/encoder.py:46
↓ 2 callers
Method
get_relationship
(self, o1_feats, o2_feats)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/heads/relationship_head.py:57
↓ 2 callers
Method
get_seg_infos
(self)
autonomous_driving/openlane-v2/tools/data_converter/scannet_data_utils.py:243
↓ 2 callers
Function
get_timestamp_path
(idx, prefix, training=True, relative_pat
autonomous_driving/openlane-v2/tools/data_converter/kitti_data_utils.py:107
↓ 2 callers
Method
get_topology
(self, pred_adj_list)
autonomous_driving/openlane-v2/plugin/mmdet3d/baseline/models/heads/topology_head.py:109
↓ 2 callers
Method
get_valid_ratio
Get the valid radios of feature maps of all level.
segmentation/mmseg_custom/models/utils/transformer.py:789
↓ 2 callers
Method
init_weights
(self)
segmentation/mmseg_custom/models/utils/transformer.py:490
↓ 2 callers
Method
init_weights
Default initialization for Parameters of Module.
autonomous_driving/Online-HD-Map-Construction/src/models/transformer_utils/fp16_dattn.py:269
↓ 2 callers
Method
init_weights
(self)
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/backbones/internimage.py:640
↓ 2 callers
Method
initialize
Initialize function loads the model in MMDetection3D. Args: context (context): It is a JSON Object containing information
autonomous_driving/openlane-v2/tools/deployment/mmdet3d_handler.py:24
↓ 2 callers
Method
interp_fixed_dist
Interpolate a line at fixed interval. Args: vector (LineString): vector sample_dist (float): sample interval
autonomous_driving/Online-HD-Map-Construction/src/datasets/evaluation/vector_eval.py:71
↓ 2 callers
Function
inverse_sigmoid
Inverse function of sigmoid. Args: x (Tensor): The tensor to do the inverse. eps (float): EPS avoid numerical
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/bevformer/modules/decoder.py:27
↓ 2 callers
Method
json_load
r""" Parameters ---------- path : str Returns ------- dict
autonomous_driving/openlane-v2/openlanev2/io/io.py:67
↓ 2 callers
Function
log_model_statistic
(model_wo_ddp)
classification/main_accelerate.py:198
↓ 2 callers
Method
loss
(self, gt: dict, pred: dict)
autonomous_driving/Online-HD-Map-Construction/src/models/heads/dg_head.py:173
↓ 2 callers
Function
lyft_data_prep
Prepare data related to Lyft dataset. Related data consists of '.pkl' files recording basic infos. Although the ground truth database and 2D
autonomous_driving/openlane-v2/tools/create_data.py:93
↓ 2 callers
Function
obtain_sensor2top
Obtain the info with RT matric from general sensor to Top LiDAR. Args: nusc (class): Dataset class in the nuScenes dataset. senso
autonomous_driving/occupancy_prediction/tools/data_converter/nuscenes_converter.py:320
↓ 2 callers
Function
obtain_sensor2top
Obtain the info with RT matric from general sensor to Top LiDAR. Args: nusc (class): Dataset class in the nuScenes dataset. senso
autonomous_driving/occupancy_prediction/tools/data_converter/nuscenes_occ_converter.py:345
↓ 2 callers
Function
occ_nuscenes_data_prep
Prepare occ data related to nuScenes dataset. Related data consists of '.pkl' files recording basic infos, 2D annotations and groundtruth dat
autonomous_driving/occupancy_prediction/tools/create_data.py:57
↓ 2 callers
Function
output_size
tensorrt/modulated_deform_conv_v3/trt_deform_conv_v3.cpp:60
↓ 2 callers
Method
per_class_iu
(self, hist)
autonomous_driving/occupancy_prediction/projects/mmdet3d_plugin/datasets/occ_metrics.py:98
↓ 2 callers
Function
pil_loader
(path)
classification/dataset/cached_image_folder.py:208
↓ 2 callers
Method
post_process
Args: XXX Outs: XXX
autonomous_driving/Online-HD-Map-Construction/src/models/heads/dg_head.py:204
↓ 2 callers
Function
post_process_coords
Get the intersection of the convex hull of the reprojected bbox corners and the image canvas, return None if no intersection. Args: c
autonomous_driving/openlane-v2/tools/data_converter/nuscenes_converter.py:533
↓ 2 callers
Function
quantize_verts
Convert vertices from its original range ([-1,1]) to discrete values in [0, n_bits**2 - 1]. Args: verts (array): vertices coordinates, sh
autonomous_driving/Online-HD-Map-Construction/src/datasets/pipelines/poly_bbox.py:181
↓ 2 callers
Method
random_sample
Randomly sample an img_scale when ``multiscale_mode=='range'``. Args: img_scales (list[tuple]): Images scale range for sampling.
segmentation/mmseg_custom/datasets/pipelines/transform.py:83
↓ 2 callers
Method
render_bev_from_vectors
Plot vectorized map elements on BEV. Args: vectors (dict): dict of vectorized map elements. out_dir (str): output dir
autonomous_driving/Online-HD-Map-Construction/tools/visualization/renderer.py:169
↓ 2 callers
Method
render_camera_views_from_vectors
Project vectorized map elements to camera views. Args: vectors (dict): dict of vectorized map elements. imgs (tensor)
autonomous_driving/Online-HD-Map-Construction/tools/visualization/renderer.py:199
← previous
next →
301–400 of 2,414, ranked by callers