MCPcopy Create free account

hub / github.com/TRI-ML/dd3d / functions

Functions487 in github.com/TRI-ML/dd3d

↓ 1 callersMethod_get_split_scenes
(self, name)
tridet/data/datasets/nuscenes/build.py:135
↓ 1 callersMethod_index_instance_tokens
Index instance tokens for uniquely identifying instances across samples
tridet/data/datasets/nuscenes/build.py:159
↓ 1 callersFunction_indices_to_mask
(indices, size)
tridet/modeling/dd3d/postprocessing.py:16
↓ 1 callersMethod_inference_one_image
Args: x (dict): one dataset dict with "image" field being a CHW tensor Returns: dict: one output dict
tridet/modeling/dd3d/test_time_augmentation.py:152
↓ 1 callersMethod_inference_one_image
Args: x (dict): one dataset dict with "image" field being a CHW tensor Returns: dict: one output dict
tridet/modeling/dd3d/nuscenes_dd3d_tta.py:75
↓ 1 callersMethod_init_weights
(self)
tridet/modeling/dd3d/dense_depth.py:77
↓ 1 callersMethod_init_weights
(self)
tridet/modeling/dd3d/fcos3d.py:143
↓ 1 callersMethod_initialize_weights
(self)
tridet/modeling/feature_extractor/vovnet.py:339
↓ 1 callersMethod_parse_calibration_files
Build calibration table from dataset. Calibration details here: https://github.com/NVIDIA/DIGITS/blob/v4.0.0-rc.3/digits/extensions/da
tridet/data/datasets/kitti_3d/build.py:75
↓ 1 callersFunctionaligned_bilinear
Adapted from AdelaiDet: https://github.com/aim-uofa/AdelaiDet/blob/master/adet/utils/comm.py
tridet/utils/tensor2d.py:28
↓ 1 callersFunctionallocentric_to_egocentric
Parameters ---------- quat: Tensor (N, 4). Batch of (allocentric) quaternions. proj_ctr: Tensor (N, 2). Projected ce
tridet/utils/geometry.py:15
↓ 1 callersFunctionangle_diff
Get the smallest angle difference between 2 angles: the angle from y to x. Parameters ---------- x: float To angle. y: float
tridet/evaluators/kitti_3d_evaluator.py:1042
↓ 1 callersFunctionannotations_to_instances
Create an :class:`Instances` object used by the models, from instance annotations in the dataset dict. Args: annos (list[dict]):
tridet/data/transform_utils.py:83
↓ 1 callersFunctionarea
(int_pts, num_of_inter)
tridet/evaluators/rotate_iou.py:31
↓ 1 callersMethodbev_box_overlap
Compute overlap in BEV
tridet/evaluators/kitti_3d_evaluator.py:622
↓ 1 callersMethodbox_3d_overlap
Compute 3D box IoU
tridet/evaluators/kitti_3d_evaluator.py:627
↓ 1 callersFunctionboxes3d_to_rotated_boxes
Parameters ---------- boxes3d: Boxes3D 3D boxes in camera frame. pose_cam_global: Pose Transformation from sensor (c
tridet/layers/bev_nms.py:51
↓ 1 callersFunctionbuild_augmentation
Changes from the original function: - Move `RandomCrop` augmentation here; it's originally in dataset_mapper https://github.
tridet/data/augmentations/build.py:15
↓ 1 callersFunctionbuild_batch_data_loader
Build a batched dataloader for training. Args: dataset (torch.utils.data.Dataset): map-style PyTorch dataset. Can be indexed.
tridet/data/build.py:106
↓ 1 callersFunctionbuild_dense_depth_loss
(cfg)
tridet/modeling/dd3d/dense_depth_loss.py:39
↓ 1 callersFunctionbuild_norm
(norm_name="bn_2d", num_features=None, **kwargs)
tridet/modeling/backbone/omni_scripts/norm.py:19
↓ 1 callersMethodbuild_nusc_detection
(sample_token, box3d_global, category, score, attribute=None, velocity=None)
tridet/evaluators/nuscenes_evaluator.py:231
↓ 1 callersFunctionbuild_tta_model
(cfg, model)
tridet/modeling/__init__.py:12
↓ 1 callersFunctioncalculate_distance
(a, b)
tridet/evaluators/rotate_iou.py:385
↓ 1 callersMethodcalculate_match_degree_sharded
(self, gt_annos, dt_annos, metric)
tridet/evaluators/kitti_3d_evaluator.py:563
↓ 1 callersFunctionchange_color_brightness
Copied from detectron2.utils.visualizer.py ------------------------------------------- Depending on the brightness_factor, gives a light
tridet/utils/visualization.py:32
↓ 1 callersFunctioncompute_ctrness_targets
(reg_targets)
tridet/modeling/dd3d/fcos2d.py:20
↓ 1 callersFunctioncompute_scale_error
This method compares predictions to the ground truth in terms of scale. It is equivalent to intersection over union (IOU) between the two box
tridet/evaluators/kitti_3d_evaluator.py:1069
↓ 1 callersFunctioncompute_statistics_jit
Compute TP/FP statistics. Modified from https://github.com/sshaoehuai/PointRCNN/blob/master/tools/kitti_object_eval_python/eval.py
tridet/evaluators/kitti_3d_evaluator.py:911
↓ 1 callersMethodcompute_targets_for_locations
(self, locations, targets, size_ranges, num_loc_list)
tridet/modeling/dd3d/nuscenes_dd3d.py:101
↓ 1 callersMethodcompute_targets_for_locations
(self, locations, targets, size_ranges, num_loc_list)
tridet/modeling/dd3d/prepare_targets.py:94
↓ 1 callersFunctioncompute_threshold_jit
Compute TP/FP statistics. Modified from https://github.com/sshaoehuai/PointRCNN/blob/master/tools/kitti_object_eval_python/eval.py
tridet/evaluators/kitti_3d_evaluator.py:750
↓ 1 callersFunctionconvert_to_coco_dict
Convert an instance detection/segmentation or keypoint detection dataset in detectron2's standard format into COCO json format. Generic
tridet/utils/coco.py:22
↓ 1 callersFunctionconvert_to_coco_json
Copy of https://github.com/facebookresearch/detectron2/blob/master/detectron2/data/datasets/coco.py#L445, but removing the `file_lock`.
tridet/utils/coco.py:151
↓ 1 callersFunctioncreate_coco_format_cache
(dataset_dicts, metadata, dataset_name, cache_dir)
tridet/utils/coco.py:190
↓ 1 callersFunctiond3_box_overlap_kernel
(boxes, qboxes, rinc, criterion=-1, camera_coordinate=False)
tridet/evaluators/rotate_iou.py:331
↓ 1 callersFunctionderive_output_dir_from_wandb_id
(cfg)
tridet/utils/wandb.py:64
↓ 1 callersFunctiondevRotateIoUEval
(rbox1, rbox2, criterion=-1)
tridet/evaluators/rotate_iou.py:246
↓ 1 callersFunctiondo_train
(cfg, model)
scripts/train.py:81
↓ 1 callersFunctiondraw_gt_instances_d2
Wrapper of D2's 'Visualizer.draw_instance_predictions()' to render GT instances.
tridet/visualizers/d2_visualizer.py:146
↓ 1 callersFunctiondraw_text
Copied from Visualizer.draw_text() ----------------------------------- Args: text (str): class label position (tuple): a
tridet/utils/visualization.py:61
↓ 1 callersFunctiondw_conv3x3
3x3 convolution with padding
tridet/modeling/feature_extractor/vovnet.py:100
↓ 1 callersMethodevaluate
(self, gt_annos, dt_annos, overlap_thresholds)
tridet/evaluators/kitti_3d_evaluator.py:344
↓ 1 callersFunctionfill_color_polygon
Color interior of polygon with alpha-blending. This function modified input in place.
tridet/utils/visualization.py:14
↓ 1 callersMethodforward_for_single_feature_map
(self, logits, box2d_reg, centerness, locations, image_sizes)
tridet/modeling/dd3d/fcos2d.py:270
↓ 1 callersMethodforward_for_single_feature_map
( self, box3d_quat, box3d_ctr, box3d_depth, box3d_size, box3d_conf, inv_intrinsics, pred_instances, fc
tridet/modeling/dd3d/fcos3d.py:328
↓ 1 callersMethodfrom_rotation_translation
Initialize pose from rotation matrix and translation vector. Parameters ---------- rotation_matrix : np.ndarray 3
tridet/structures/pose.py:151
↓ 1 callersFunctionfused_compute_statistics
Compute TP/FP statistics. Taken from https://github.com/sshaoehuai/PointRCNN/blob/master/tools/kitti_object_eval_python/eval.py without change
tridet/evaluators/kitti_3d_evaluator.py:851
↓ 1 callersFunctiongather_dict
Gather python dictionaries from all workers to the rank=0 worker. Assumption: the keys of `dikt` are disjoint across all workers. If rank =
tridet/utils/comm.py:71
↓ 1 callersMethodget_annotations
(self, sample_id, sensor_name)
tridet/data/datasets/kitti_3d/build.py:205
↓ 1 callersFunctionget_evaluator
(cfg, dataset_name, evaluator_name, output_dir)
tridet/evaluators/__init__.py:18
↓ 1 callersFunctionget_inference_output_dir
(dataset_name, is_last=False, use_tta=False, root_output_dir=None)
tridet/utils/train.py:13
↓ 1 callersMethodget_instance_annotations
(self, annotation_list, K, image_shape, pose_WS)
tridet/data/datasets/nuscenes/build.py:169
↓ 1 callersFunctionget_pixel_sizes_perspective_cams
Get physical pixel size of pinhole cameras. ((1 / fx) ** 2 + (1 / fy) ** 2)).sqrt() Parameters ---------- cams: PerspectiveCameras
tridet/utils/geometry.py:115
↓ 1 callersFunctionget_predictions_visualizer
(cfg, visualizer_name, dataset_name, inference_output_dir)
tridet/visualizers/__init__.py:8
↓ 1 callersFunctionget_random_seed
Adapted from d2.utils.env:seed_all_rng()
tridet/utils/setup.py:64
↓ 1 callersMethodget_sampled_precision_recall
Given an array of precision, recall values, sample evenly along the recall range, and interpolate the precision based on AP from section 6 fro
tridet/evaluators/kitti_3d_evaluator.py:389
↓ 1 callersFunctionget_tasks_from_cfg
(cfg)
tridet/visualizers/d2_visualizer.py:28
↓ 1 callersFunctionget_thresholds
Get thresholds from a set of scores, up to num sample points Parameters ---------- score: np.ndarray Numpy array of scores for pr
tridet/evaluators/kitti_3d_evaluator.py:814
↓ 1 callersFunctionhomogenize_points
Parameters ---------- xy: Tensor xy coordinates. shape=(N, ..., 2) E.g., (N, 2) or (N, K, 2) or (N, H, W, 2) Returns
tridet/utils/geometry.py:58
↓ 1 callersFunctioninit_wandb
(cfg)
tridet/utils/wandb.py:25
↓ 1 callersMethodinit_weights
(self)
tridet/modeling/dd3d/fcos2d.py:112
↓ 1 callersMethodinit_weights
(self)
tridet/layers/separable_conv2d.py:97
↓ 1 callersMethodinit_weights
(self)
tridet/layers/conv_bn_fpn_layers.py:75
↓ 1 callersFunctioninter
(rbbox1, rbbox2)
tridet/evaluators/rotate_iou.py:230
↓ 1 callersFunctionline_segment_intersection
(pts1, pts2, i, j, temp_pts)
tridet/evaluators/rotate_iou.py:79
↓ 1 callersFunctionlist_sum
Return the sum of a list of objects. can be int, float, torch.Tensor, np.ndarray, etc can be used for adding losses
tridet/modeling/backbone/omni_scripts/utils.py:6
↓ 1 callersFunctionlog_nested_dict
(dikt)
tridet/utils/wandb.py:78
↓ 1 callersFunctionmain
(cfg)
scripts/visualize_dataloader.py:24
↓ 1 callersFunctionmain
(cfg)
scripts/train.py:41
↓ 1 callersFunctionmaybe_download_ckpt_from_url
If the checkpoint is an S3 or https path, the main process download the weight under, by default, `/tmp/`. NOTE: All workers must update `cfg.MOD
tridet/utils/s3.py:22
↓ 1 callersMethodoutput_shape
(self)
tridet/modeling/backbone/omni_scripts/backbone_with_fpn.py:84
↓ 1 callersMethodprepare_data
Wrapper function for cleaning data before computing metrics.
tridet/evaluators/kitti_3d_evaluator.py:522
↓ 1 callersMethodprepare_kitti3d_submission
(predictions_kitti_format, submission_dir)
tridet/evaluators/kitti_3d_evaluator.py:198
↓ 1 callersMethodpreprocess_image
(self, x)
tridet/modeling/dd3d/dense_depth.py:127
↓ 1 callersFunctionpretty_render_3d_box
Render the bounding box on the image. NOTE: CV2 renders in place. Parameters ---------- box3d: GenericBoxes3D image: np.uint8 array
tridet/visualizers/box3d_visualizer.py:26
↓ 1 callersFunctionprint_test_results
(test_results)
tridet/utils/train.py:27
↓ 1 callersMethodput_scalar
(self, name, value, smoothing_hint=True, wandb_log=True)
tridet/utils/events.py:14
↓ 1 callersFunctionquadrilateral_intersection
(pts1, pts2, int_pts)
tridet/evaluators/rotate_iou.py:181
↓ 1 callersFunctionrandom_sample_dataset_dicts
(dataset_name, num_samples=10)
tridet/data/datasets/__init__.py:27
↓ 1 callersFunctionregister_kitti_3d_datasets
(required_datasets, cfg)
tridet/data/datasets/kitti_3d/__init__.py:30
↓ 1 callersFunctionregister_nuscenes_datasets
(required_datasets, cfg)
tridet/data/datasets/nuscenes/__init__.py:30
↓ 1 callersMethodrender_bounding_box_3d
Render bounding box 3d in BEV perspective. Parameters ---------- bboxes3d: GenericBoxes3D 3D annotations in the s
tridet/visualizers/bev.py:215
↓ 1 callersMethodrender_camera_frustrum
Visualize the frustrum of camera by drawing two lines connecting the camera center and top-left / top-right corners of image plane.
tridet/visualizers/bev.py:302
↓ 1 callersMethodrender_point_cloud
Render point cloud in BEV perspective. Parameters ---------- point_cloud: numpy array with shape (N, 3) 3D cloud
tridet/visualizers/bev.py:110
↓ 1 callersMethodreset
Reset the canvas to a blank image with guideline circles of various radii.
tridet/visualizers/bev.py:95
↓ 1 callersFunctionsample_bev_nms
(instances, poses, category_key='pred_classes', iou_threshold=0.3)
tridet/modeling/dd3d/postprocessing.py:22
↓ 1 callersFunctionsetup_distributed
Adapted from detectron2: https://github.com/facebookresearch/detectron2/blob/master/detectron2/engine/launch.py#L85
tridet/utils/setup.py:23
↓ 1 callersFunctionsort_vertex_in_convex_polygon
(int_pts, num_of_inter)
tridet/evaluators/rotate_iou.py:39
↓ 1 callersFunctionsqueeze_list
Return the first item of the given list if the list only contains one item. usually used in args parsing
tridet/modeling/backbone/omni_scripts/utils.py:22
↓ 1 callersMethodto
(self, *args: Any, **kwargs: Any)
tridet/structures/image_list.py:85
↓ 1 callersFunctiontransform_instance_annotations
Adapted from: https://github.com/facebookresearch/detectron2/blob/master/detectron2/data/detection_utils.py#L254 The changes from origina
tridet/data/transform_utils.py:16
↓ 1 callersMethodvalidate_anno_format
Verify that the format/dimensions for the annotations are correct. Keys correspond to defintions here: https://github.com/NVIDIA/DIGIT
tridet/evaluators/kitti_3d_evaluator.py:422
Method__call__
Args: dict: a dict in standard model input format. See tutorials for details. Returns: list[dict]:
tridet/modeling/dd3d/test_time_augmentation.py:38
Method__call__
Same input/output format as :meth:`DD3D`
tridet/modeling/dd3d/test_time_augmentation.py:135
Method__call__
(self, box3d_pred, box3d_targets, locations, weights=None)
tridet/modeling/dd3d/disentangled_box3d_loss.py:26
Method__call__
Same input/output format as :meth:`NuscenesDD3D`
tridet/modeling/dd3d/nuscenes_dd3d_tta.py:40
Method__call__
(self, locations, gt_instances, feature_shapes)
tridet/modeling/dd3d/nuscenes_dd3d.py:29
Method__call__
(self, attr_logits, speeds, fcos2d_info, targets)
tridet/modeling/dd3d/nuscenes_dd3d.py:204
Method__call__
Add 'pred_attribute', 'pred_speed' to Instances in 'pred_instances'.
tridet/modeling/dd3d/nuscenes_dd3d.py:272
← previousnext →101–200 of 487, ranked by callers