MCPcopy Create free account

hub / github.com/Zengyi-Qin/TLNet / functions

Functions397 in github.com/Zengyi-Qin/TLNet

Method__init__
(self, name, augs)
avod/datasets/kitti/kitti_dataset.py:17
Method__init__
Initializes directories, and loads the sample list Args: dataset_config: KittiDatasetConfig name: unique
avod/datasets/kitti/kitti_dataset.py:23
Method__init__
(self, dataset)
avod/datasets/kitti/kitti_utils.py:19
Method_compute_loss
Compute loss function. Args: prediction_tensor: A float tensor of shape [batch_size, num_anchors, code_
avod/core/losses.py:76
Method_compute_loss
Compute loss function. Args: prediction_tensor: A float tensor of shape [batch_size, num_anchors, num_classes] represe
avod/core/losses.py:99
Method_compute_loss
Compute loss function. Args: prediction_tensor: A float tensor of shape [num_anchors, code_size] representing the
avod/core/losses.py:135
Method_compute_loss
Compute loss function. Args: prediction_tensor: A float tensor of shape [batch_size, num_anchors, num_classes] represent
avod/core/losses.py:160
Method_flatten_data
Reshapes a list of cluster data from a list of arrays into an N x 3 ndarray, for example a list of [2, 1, 2] clusters: [
avod/core/label_cluster_utils.py:121
Method_generate
Generates 3D anchors in a grid in the provided 3d area and places them on the ground_plane. Args: **params:
avod/core/anchor_generators/grid_anchor_3d_generator.py:15
Method_keep_near_anchors
(self, all_anchor_boxes_3d, gt_labels, dist_thres=10)
avod/core/mini_batch_preprocessor.py:48
Method_norm
(self, x)
avod/core/models/avod_model.py:132
Method_print_tensor_shape
(self, x, name)
avod/core/models/rpn_model.py:184
Functionadd_feature_maps_from_dict
Calls add_feature_maps for a specified layer in a dictionary of end points Args: end_points: dictionary of network end points
avod/core/summary_utils.py:5
Functionadd_scalar_summary
Adds a single scalar summary value to the logs without adding a summary node to the graph Args: summary_name: name of the summar
avod/core/summary_utils.py:69
Functionanchor_to_offset
Encodes the anchor regression predictions with the ground truth. Args: anchors: A numpy array of shape (N, 6) representing
avod/core/anchor_encoder.py:7
Functionanchors_to_box_3d
Converts an anchor form [x, y, z, dim_x, dim_y, dim_z] to 3d box format of [x, y, z, l, w, h, ry] Note: In this conversion, if the flag 'fix_
avod/core/box_3d_encoder.py:147
Functionapply_pca_jitter
Applies PCA jitter or random noise to a single image Args: image_in: Image to modify Returns: Modified image
avod/datasets/kitti/kitti_aug.py:190
Methodas_tensor_dict
Retrieves specified fields as a dictionary of tensors. Args: fields: (optional) list of fields to return in the dictionary.
avod/core/box_list.py:187
Methodbev_image_dir
(self)
avod/datasets/kitti/kitti_dataset.py:146
Functionboolean_mask
Select boxes from BoxList according to indicator and return new BoxList. `boolean_mask` returns the subset of boxes that are marked as "True" by
avod/core/box_list_ops.py:328
Functionbox3DOverlap
measure overlap between 3D bounding boxes, parametrized by (ry, h, w, l, tx, ty, tz)
scripts/offline_eval/kitti_native_eval/evaluate_object_3d_offline.cpp:318
Functionbox3DOverlap
measure overlap between 3D bounding boxes, parametrized by (ry, h, w, l, tx, ty, tz)
scripts/offline_eval/kitti_native_eval/evaluate_object_3d.cpp:317
Functionbox3DOverlap
measure overlap between 3D bounding boxes, parametrized by (ry, h, w, l, tx, ty, tz)
scripts/offline_eval/kitti_native_eval/evaluate_object_3d_offline_05_iou.cpp:318
Functionbox_3d_to_3d_iou_format
Returns a numpy array of 3d box format for iou calculation Args: boxes_3d: list of 3d boxes Returns: new_anchor_list: numpy a
avod/core/box_3d_encoder.py:246
Functionbox_3d_to_anchor
Converts a box_3d [x, y, z, l, w, h, ry] into anchor form [x, y, z, dim_x, dim_y, dim_z] Anchors in box_3d format should have an ry of 0 or
avod/core/box_3d_encoder.py:57
Functionbox_3d_to_object_label
Turns a box_3d into an ObjectLabel Args: box_3d: 3D box in the format [x, y, z, l, w, h, ry] obj_type: Optional, the object type
avod/core/box_3d_encoder.py:11
Functionbox_8c_to_box_3d
Computes the 3D bounding box corner positions from 8 corners. To go back from 8-corner representation to box3D, we need to reverse the transf
avod/core/box_8c_encoder.py:383
Functionbuild
Builds basic layers Args: fc_layers_config: Fully connected layers config object input_rois: List of input roi feature m
avod/core/avod_fc_layers/basic_fc_layers.py:7
Functionbuild
Builds fusion layers Args: fc_layers_config: Fully connected layers config object input_rois: List of input roi feature maps
avod/core/avod_fc_layers/fusion_fc_layers.py:6
Functionbuild
Builds the loss for a variety of box representations Args: model: network model prediction_dict: prediction dictionary Retur
avod/builders/avod_loss_builder.py:13
Functionbuild
Create optimizer based on config. Args: optimizer_config: A Optimizer proto message. global_summaries: A set to attach learning r
avod/builders/optimizer_builder.py:23
Functionbuild
(bev_maps_type_config, kitti_utils)
avod/builders/bev_generator_builder.py:4
Functionbuild
Builds second stage fully connected layers Args: layers_config: Configuration object input_rois: List of input ROI feature maps
avod/builders/avod_fc_layers_builder.py:13
Methodbuild
(self, **kwargs)
avod/core/feature_extractors/bev_feature_extractor.py:29
Methodbuild
(self, **kwargs)
avod/core/feature_extractors/img_feature_extractor.py:73
Methodbuild
Modified VGG for BEV feature extraction with pyramid features Args: inputs: a tensor of size [batch_size, height, width, channel
avod/core/feature_extractors/bev_vgg_pyramid.py:30
Methodbuild
Modified VGG for BEV feature extraction Note: All the fully_connected layers have been transformed to conv2d layers and are im
avod/core/feature_extractors/bev_vgg.py:34
Methodbuild
VGG 11-Layers modified version. Note: All the fully_connected layers have been transformed to conv2d layers. Args:
avod/core/feature_extractors/bev_vgg.py:127
Methodbuild
Modified VGG for image feature extraction with pyramid features. Args: inputs: a tensor of size [batch_size, height, width, chan
avod/core/feature_extractors/img_vgg_pyramid.py:30
Functionbuild_bbs_from_objects
Converts between a list of objects and a numpy array containing the bounding boxes. :param obj_list: an object list as per object class
avod/core/obj_utils.py:149
Functioncalculate_plane_point
Calculates the point on the 3D plane for a point with one value missing :param plane: Coefficients of the plane equation (a, b, c, d) :param
avod/core/geometry_utils.py:4
Functionchange_coordinate_frame
Change coordinate frame of the boxlist to be relative to window's frame. Given a window of the form [ymin, xmin, ymax, xmax], changes boundin
avod/core/box_list_ops.py:269
Functioncheck_anchor_format
Checks for correct anchor format. If not proper type, raises error. Args: input_data: input numpy array or tensor to check for valid anch
avod/core/format_checker.py:51
Functioncheck_box_3d_format
Checks for correct box_3d format. If not proper type, raises error. Args: input_data: input numpy array or tensor to check for valid box_
avod/core/format_checker.py:80
Functioncheck_box_4c_format
Checks for correct box_4c format. If not proper type, raises error. Args: input_data: input numpy array or tensor to check for valid box_
avod/core/format_checker.py:142
Functioncheck_box_8c_format
Checks for correct box_8c format. If not proper type, raises error. Args: input_data: input numpy array or tensor to check for valid box_
avod/core/format_checker.py:110
Functioncompute_box_corners_3d
Computes the 3D bounding box corner positions from an ObjectLabel :param object_label: ObjectLabel to compute corners from :return: a numpy a
avod/core/obj_utils.py:308
Functioncompute_orientation_3d
Computes the orientation given object and camera matrix Keyword arguments: obj -- object file to draw bounding box p -- transform matrix
avod/core/obj_utils.py:363
Functioncopy_kitti_native_code
Copies and compiles kitti native code. It also creates neccessary directories for storing the results of the kitti native evaluation code.
avod/core/evaluator_utils.py:411
Functioncreate_dir
Checks if a directory exists, or else create it Args: dir: directory to create
avod/core/trainer_utils.py:28
Functiondepth_from_disparity
Transform disparity map to 3d point cloud. Camera coordinate frame: X: right Y: down Z: forward Example Usage found in:
avod/core/calib_utils.py:212
Functiondist_to_plane
Calculates the signed distance from a 3D plane to each point in a list of points :param plane: Coefficients of the plane equation (a, b, c, d
avod/core/geometry_utils.py:25
Functionfeature_fusion
Applies feature fusion to multiple inputs Args: fusion_method: 'mean' or 'concat' inputs: Input tensors of shape (batch_size, wid
avod/core/avod_fc_layers/avod_fc_layer_utils.py:20
Functionflip_boxes_3d
Flips boxes_3d Args: boxes_3d: List of boxes in box_3d format flip_ry bool: (optional) if False, rotation is not flipped to save
avod/datasets/kitti/kitti_aug.py:58
Functionflip_ground_plane
Flips the ground plane by negating the x coefficient (ax + by + cz + d = 0) Args: ground_plane: ground plane coefficients Re
avod/datasets/kitti/kitti_aug.py:85
Functionflip_image
Flips an image horizontally
avod/datasets/kitti/kitti_aug.py:9
Functionflip_label_in_3d_only
Flips only the 3D position of an object label. The 2D bounding box is not flipped to save time since it is not used. Args: obj_label:
avod/datasets/kitti/kitti_aug.py:32
Functionflip_point_cloud
Flips a point cloud (3, N)
avod/datasets/kitti/kitti_aug.py:24
Functionflip_points
Flips a list of points (N, 3)
avod/datasets/kitti/kitti_aug.py:16
Functionflip_stereo_calib_p2
Flips the stereo calibration matrix to correct the projection back to image space. Flipping the image can be seen as a movement of both the ca
avod/datasets/kitti/kitti_aug.py:100
Methodgenerate_bev
Generates the BEV maps dictionary. One height map is created for each slice of the point cloud. One density map is created for the who
avod/core/bev_generators/bev_slices.py:33
Methodgenerate_bev
Generates BEV maps Args: **params: additional keyword arguments for specific implementations of BevGenerator.
avod/core/bev_generators/bev_generator.py:9
Methodget_anchors_info
Reads in the file containing the information matrix Args: classes_name: object type, one of ('Car', 'Pedestrian',
avod/core/mini_batch_utils.py:126
Methodget_anchors_info
(self, classes_name, anchor_strides, sample_name)
avod/datasets/kitti/kitti_utils.py:96
Methodget_bev_sample_path
(self, sample_name)
avod/datasets/kitti/kitti_dataset.py:204
Methodget_box_indices
(boxes)
avod/core/models/avod_model.py:259
Methodget_box_indices
(boxes)
avod/core/models/rpn_model.py:496
Methodget_center_coordinates_and_sizes
Computes the center coordinates, height and width of the boxes. Args: scope: name scope of the function. Returns:
avod/core/box_list.py:158
Functionget_configs_from_pipeline_file
Reads model configuration from a pipeline_pb2.NetworkPipelineConfig. Args: pipeline_config_path: A path directory to the network pipeline
avod/builders/config_builder_util.py:52
Methodget_depth_map_path
(self, sample_name)
avod/datasets/kitti/kitti_dataset.py:198
Functionget_extractor
(extractor_config)
avod/builders/feature_extractor_builder.py:8
Functionget_global_step
(sess, global_step_tensor)
avod/core/trainer_utils.py:21
Methodget_ground_plane
Reads the ground plane for the sample Args: sample_name: name of the sample, e.g. '000123' Returns: ground_p
avod/datasets/kitti/kitti_utils.py:103
Functionget_lidar_point_cloud
Calculates the lidar point cloud, and optionally returns only the points that are projected to the image. :param img_idx: image index :p
avod/core/obj_utils.py:222
Functionget_model_config_from_file
Reads model configuration from a configuration file. This merges the layer config info with model default configs. Args: config_pat
avod/builders/config_builder_util.py:36
Functionget_point_filter
Creates a point filter using the 3D extents and ground plane :param point_cloud: Point cloud in the form [[x,...],[y,...],[z,...]] :para
avod/core/obj_utils.py:446
Functionget_road_plane
Reads the road plane from file :param int img_idx : Index of image :param str planes_dir : directory containing plane text files :return
avod/core/obj_utils.py:273
Functionget_stereo_calibration
Extract parameters required to transform disparity image to 3D point cloud. Keyword Arguments: ------------------ left_cam_mat : 3x4
avod/core/calib_utils.py:179
Methodget_velodyne_path
(self, sample_name)
avod/datasets/kitti/kitti_dataset.py:201
FunctiongroundBoxOverlap
measure overlap between bird's eye view bounding boxes, parametrized by (ry, l, w, tx, tz)
scripts/offline_eval/kitti_native_eval/evaluate_object_3d_offline.cpp:295
FunctiongroundBoxOverlap
measure overlap between bird's eye view bounding boxes, parametrized by (ry, l, w, tx, tz)
scripts/offline_eval/kitti_native_eval/evaluate_object_3d.cpp:294
FunctiongroundBoxOverlap
measure overlap between bird's eye view bounding boxes, parametrized by (ry, l, w, tx, tz)
scripts/offline_eval/kitti_native_eval/evaluate_object_3d_offline_05_iou.cpp:295
FunctionimageBoxOverlap
criterion defines whether the overlap is computed with respect to both areas (ground truth and detection) or with respect to box a or b (detection and
scripts/offline_eval/kitti_native_eval/evaluate_object_3d_offline.cpp:228
FunctionimageBoxOverlap
criterion defines whether the overlap is computed with respect to both areas (ground truth and detection) or with respect to box a or b (detection and
scripts/offline_eval/kitti_native_eval/evaluate_object_3d.cpp:227
FunctionimageBoxOverlap
criterion defines whether the overlap is computed with respect to both areas (ground truth and detection) or with respect to box a or b (detection and
scripts/offline_eval/kitti_native_eval/evaluate_object_3d_offline_05_iou.cpp:228
Functionindices_to_dense_vector
Creates dense vector with indices set to specific value and rest to zeros. This function exists because it is unclear if it is safe to u
avod/core/ops.py:6
Functioniou
Computes pairwise intersection-over-union between box collections. Args: boxlist1: BoxList holding N boxes boxlist2: BoxList holding
avod/core/box_list_ops.py:153
Functionis_point_inside
Check if each point in a 3D point cloud lies within the 3D bounding box If we think of the bounding box as having bottom face defined by [P1,
avod/core/obj_utils.py:391
Methodkeep_branch
()
avod/core/models/rpn_model.py:1232
Methodkill_branch
()
avod/core/models/rpn_model.py:1234
Functionlidar_to_cam_frame
Transforms the pointclouds to the camera 0 frame. Keyword Arguments: ------------------ xyz_lidar : N x 3 Numpy Array
avod/core/calib_utils.py:371
Functionload_checkpoints
(checkpoint_dir, saver)
avod/core/trainer_utils.py:7
Functionload_model_weights
Restores the model weights. Loads the weights loaded from checkpoint dir onto the model. It ignores the missing weights since this is used
avod/core/trainer_utils.py:39
Functionmain
scripts/offline_eval/kitti_native_eval/evaluate_object_3d_offline.cpp:970
Functionmain
scripts/offline_eval/kitti_native_eval/evaluate_object_3d.cpp:884
Functionmain
scripts/offline_eval/kitti_native_eval/evaluate_object_3d_offline_05_iou.cpp:970
Functionmain
(_)
avod/experiments/run_evaluation.py:88
Functionmain
(_)
avod/experiments/run_inference.py:73
Functionmain
(_)
avod/experiments/run_training.py:44
Functionmatched_iou
Compute intersection-over-union between corresponding boxes in boxlists. Args: boxlist1: BoxList holding N boxes boxlist2: BoxList ho
avod/core/box_list_ops.py:181
← previousnext →201–300 of 397, ranked by callers