MCPcopy Create free account

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

Functions397 in github.com/Zengyi-Qin/TLNet

↓ 1 callersMethod_set_up_feature_extractors
Sets up feature extractors and stores feature maps and bottlenecks as member variables.
avod/core/models/rpn_model.py:310
↓ 1 callersMethod_set_up_input_pls
Sets up input placeholders by adding them to self._placeholders. Keys are defined as self.PL_*.
avod/core/models/rpn_model.py:194
↓ 1 callersMethod_update_avod_box_cls_loc_losses
Helper function to calculate the evaluation average losses. Note: This function evaluates only classification and regression/offsets
avod/core/evaluator.py:614
↓ 1 callersMethod_update_avod_box_cls_loc_orient_losses
Helper function to calculate the evaluation average losses. Note: This function evaluates classification, regression/offsets and
avod/core/evaluator.py:528
↓ 1 callersMethod_update_rpn_losses
Helper function to calculate the evaluation average losses. Args: eval_rpn_losses: A dictionary containing all the average
avod/core/evaluator.py:478
↓ 1 callersMethod_write_clusters_to_file
Writes cluster information to a text file Args: file_path: path to text file clusters: clusters to write
avod/core/label_cluster_utils.py:73
↓ 1 callersFunctionadd_feature_maps
Adds an image summary showing tiled feature maps Args: feature_maps: a tensor of feature maps to show, dimensions should be
avod/core/summary_utils.py:17
↓ 1 callersFunctionadd_pca_jitter
Adds a multiple of the principle components, with magnitude from a Gaussian distribution with mean 0 and stdev 0.1 Args: img_data: O
avod/datasets/kitti/kitti_aug.py:156
↓ 1 callersFunctionalign_boxes_8c
Finds the min/max of each corner to align irregular corners. In the case where the regressed corners might be skewed, it tries to align each
avod/core/box_8c_encoder.py:291
↓ 1 callersFunctioncleanData
scripts/offline_eval/kitti_native_eval/evaluate_object_3d_offline.cpp:382
↓ 1 callersFunctioncleanData
scripts/offline_eval/kitti_native_eval/evaluate_object_3d.cpp:381
↓ 1 callersFunctioncleanData
scripts/offline_eval/kitti_native_eval/evaluate_object_3d_offline_05_iou.cpp:382
↓ 1 callersFunctioncompute_pca
Calculates and returns PCA of a set of images Args: image_set: List of images read with cv2.imread in np.uint8 format Returns:
avod/datasets/kitti/kitti_aug.py:121
↓ 1 callersMethodcreate_feed_dict
(self)
avod/core/models/avod_model.py:757
↓ 1 callersMethodcreate_feed_dict
Fills in the placeholders with the actual input values. Currently, only a batch size of 1 is supported Args: sample_
avod/core/models/rpn_model.py:867
↓ 1 callersFunctioneval
scripts/offline_eval/kitti_native_eval/evaluate_object_3d_offline.cpp:842
↓ 1 callersFunctioneval
scripts/offline_eval/kitti_native_eval/evaluate_object_3d_offline_05_iou.cpp:842
↓ 1 callersFunctionevaluate
(model_config, eval_config, dataset_config)
avod/experiments/run_evaluation.py:19
↓ 1 callersFunctionfill_feed_dict
(dataset: KittiDataset, input_pl, batch_size)
avod/core/feature_extractors/bev_vgg_test.py:18
↓ 1 callersFunctiongenerate_fake_dataset
()
avod/core/anchor_generators/grid_anchor_3d_generator_test.py:11
↓ 1 callersFunctiongetEvalIndices
scripts/offline_eval/kitti_native_eval/evaluate_object_3d_offline.cpp:825
↓ 1 callersFunctiongetEvalIndices
scripts/offline_eval/kitti_native_eval/evaluate_object_3d_offline_05_iou.cpp:825
↓ 1 callersFunctiongetThresholds
scripts/offline_eval/kitti_native_eval/evaluate_object_3d_offline.cpp:347
↓ 1 callersFunctiongetThresholds
scripts/offline_eval/kitti_native_eval/evaluate_object_3d.cpp:346
↓ 1 callersFunctiongetThresholds
scripts/offline_eval/kitti_native_eval/evaluate_object_3d_offline_05_iou.cpp:347
↓ 1 callersMethodget_all_fields
Returns all fields.
avod/core/box_list.py:78
↓ 1 callersMethodget_anchors_info
(self, sample_name)
avod/datasets/kitti/kitti_dataset.py:214
↓ 1 callersMethodget_avod_predicted_box_corners_and_scores
(self, predictions,
avod/core/evaluator.py:1141
↓ 1 callersMethodget_cls_accuracy
Updates the calculated accuracies for rpn and avod losses. Args: predictions: A dictionary containing the model outputs.
avod/core/evaluator.py:950
↓ 1 callersMethodget_clusters
Calculates clusters for each class Returns: all_clusters: list of clusters for each class all_std_devs: list
avod/core/label_cluster_utils.py:146
↓ 1 callersFunctionget_rectangular_metrics
Computes the intersection of the bases of oriented 3D bounding "box" and a set boxes of oriented 3D bounding boxes "boxes". :param box: a nu
avod/core/obj_utils.py:674
↓ 1 callersMethodget_rgb_image_r_path
(self, sample_name)
avod/datasets/kitti/kitti_dataset.py:195
↓ 1 callersMethodget_score_2d_path
(self, sample_name)
avod/datasets/kitti/kitti_dataset.py:207
↓ 1 callersFunctionheight_metrics
Compute 3D height intersection and union between a box and a list of boxes :param box: a numpy array of the form: [ry, l, h, w, tx, ty, tz]
avod/core/obj_utils.py:590
↓ 1 callersFunctionheight_width
Computes height and width of boxes in boxlist. Args: boxlist: BoxList holding N boxes scope: name scope. Returns: Height:
avod/core/box_list_ops.py:58
↓ 1 callersFunctioninference
(model_config, eval_config, dataset_config, data_split, ckpt_indices)
avod/experiments/run_inference.py:20
↓ 1 callersFunctioninitGlobals
initialize class names
scripts/offline_eval/kitti_native_eval/evaluate_object_3d_offline.cpp:61
↓ 1 callersFunctioninitGlobals
initialize class names
scripts/offline_eval/kitti_native_eval/evaluate_object_3d.cpp:61
↓ 1 callersFunctioninitGlobals
initialize class names
scripts/offline_eval/kitti_native_eval/evaluate_object_3d_offline_05_iou.cpp:61
↓ 1 callersFunctionioa
Computes pairwise intersection-over-area between box collections. intersection-over-area (IOA) between two boxes box1 and box2 is defined as
avod/core/box_list_ops.py:202
↓ 1 callersFunctionloadDetections
scripts/offline_eval/kitti_native_eval/evaluate_object_3d_offline.cpp:132
↓ 1 callersFunctionloadDetections
scripts/offline_eval/kitti_native_eval/evaluate_object_3d.cpp:131
↓ 1 callersFunctionloadDetections
scripts/offline_eval/kitti_native_eval/evaluate_object_3d_offline_05_iou.cpp:132
↓ 1 callersFunctionloadGroundtruth
scripts/offline_eval/kitti_native_eval/evaluate_object_3d_offline.cpp:179
↓ 1 callersFunctionloadGroundtruth
scripts/offline_eval/kitti_native_eval/evaluate_object_3d.cpp:178
↓ 1 callersFunctionloadGroundtruth
scripts/offline_eval/kitti_native_eval/evaluate_object_3d_offline_05_iou.cpp:179
↓ 1 callersMethodloss
(self, prediction_dict)
avod/core/models/avod_model.py:762
↓ 1 callersMethodloss
(self, prediction_dict)
avod/core/models/rpn_model.py:1132
↓ 1 callersFunctionmain
Converts a set of network predictions into text files required for KITTI evaluation.
scripts/offline_eval/save_kitti_predictions.py:15
↓ 1 callersFunctionmain
Plots AP scores from the native eval script and prints top 5 checkpoints for each metric
scripts/offline_eval/plot_ap.py:5
↓ 1 callersFunctionmain
(dataset=None)
scripts/preprocessing/gen_label_clusters.py:4
↓ 1 callersFunctionmain
Generates anchors info which is used for mini batch sampling. Processing on 'Cars' can be split into multiple processes, see the Options sect
scripts/preprocessing/gen_mini_batches.py:72
↓ 1 callersFunctionmain
()
scripts/preprocessing/travis_test_preprocessing.py:7
↓ 1 callersFunctionmain
()
avod/builders/dataset_builder.py:194
↓ 1 callersMethodmask_class_label_indices
Samples a mini batch based on anchor ious with ground truth Args: mb_pos_mask: a boolean tensor mask of size [N] of posi
avod/core/mini_batch_utils.py:271
↓ 1 callersFunctionmatched_intersection
Compute intersection areas between corresponding boxes in two boxlists. Args: boxlist1: BoxList holding N boxes boxlist2: BoxList hol
avod/core/box_list_ops.py:128
↓ 1 callersMethodname_scope
(self)
avod/core/anchor_generators/grid_anchor_3d_generator.py:12
↓ 1 callersMethodpreprocess
Preprocesses anchor info and saves info to files Args: indices (int array): sample indices to process. If None, p
avod/core/mini_batch_preprocessor.py:186
↓ 1 callersMethodpreprocess_rpn_mini_batches
Generates rpn mini batch info for the kitti dataset Preprocesses data and saves data to files. Each file contains information
avod/core/mini_batch_utils.py:79
↓ 1 callersFunctionproject_to_image_tensor
Projects 3D points to 2D points in image space. Args: points_3d: a list of float32 tensor of shape [3, None] cam_p2_matrix: a flo
avod/core/anchor_projector.py:276
↓ 1 callersMethodrepeated_checkpoint_run
Periodically evaluates the checkpoints inside the `checkpoint_dir`. This function evaluates all the existing checkpoints as they are being
avod/core/evaluator.py:406
↓ 1 callersFunctionroot_dir
()
avod/__init__.py:4
↓ 1 callersMethodrun_kitti_native_eval
Calls the kitti native C++ evaluation code. It first saves the predictions in kitti format. It then creates two child processes to ru
avod/core/evaluator.py:1176
↓ 1 callersMethodsample_avod_mini_batch
Samples a mini batch to train AVOD with preconfigured mini batch size and 2D iou ranges Args: anchor_ious: a tensor
avod/core/mini_batch_utils.py:223
↓ 1 callersMethodsample_mini_batch
(self, anchor_box_list_gt, anchor_box_list, class_labels)
avod/core/models/avod_model.py:737
↓ 1 callersMethodsample_rpn_mini_batch
Samples a mini batch to train the RPN with preconfigured mini batch size and 3D iou ranges Args: anchor_ious: a tens
avod/core/mini_batch_utils.py:205
↓ 1 callersFunctionsaveStats
scripts/offline_eval/kitti_native_eval/evaluate_object_3d_offline.cpp:205
↓ 1 callersFunctionsaveStats
scripts/offline_eval/kitti_native_eval/evaluate_object_3d.cpp:204
↓ 1 callersFunctionsaveStats
scripts/offline_eval/kitti_native_eval/evaluate_object_3d_offline_05_iou.cpp:205
↓ 1 callersMethodsave_prediction_losses_results
Helper function to save the AVOD loss evaluation results. Args: eval_avod_losses: A dictionary containing the loss sums
avod/core/evaluator.py:736
↓ 1 callersMethodsave_proposal_losses_results
Helper function to save the RPN loss evaluation results.
avod/core/evaluator.py:690
↓ 1 callersFunctionscale
scale box coordinates in x and y dimensions. Args: boxlist: BoxList holding N boxes y_scale: (float) scalar tensor x_scale: (fl
avod/core/box_list_ops.py:75
↓ 1 callersMethodset
Convenience function for setting box coordinates. Args: boxes: a tensor of shape [N, 4] representing box corners Raises:
avod/core/box_list.py:109
↓ 1 callersMethodsubsample
Returns subsample of entries in indicator. Args: indicator: boolean tensor of shape [N] whose True entries can be
avod/core/minibatch_sampler.py:48
↓ 1 callersFunctiontile_anchors_3d
Tiles anchors over the area extents by using meshgrids to generate combinations of (x, y, z), (l, w, h) and ry. Args: area_exten
avod/core/anchor_generators/grid_anchor_3d_generator.py:39
↓ 1 callersFunctiontrain
(model_config, train_config, dataset_config)
avod/experiments/run_training.py:21
↓ 1 callersMethodvgg_arg_scope
Defines the VGG arg scope. Args: weight_decay: The l2 regularization coefficient. Returns: An arg_scope.
avod/core/feature_extractors/img_vgg.py:16
↓ 1 callersMethodvgg_arg_scope
Defines the VGG arg scope. Args: weight_decay: The l2 regularization coefficient. Returns: An arg_scope.
avod/core/feature_extractors/bev_vgg_pyramid.py:13
↓ 1 callersMethodvgg_arg_scope
Defines the VGG arg scope. Args: weight_decay: The l2 regularization coefficient. Returns: An arg_scope.
avod/core/feature_extractors/bev_vgg.py:17
↓ 1 callersMethodvgg_arg_scope
Defines the VGG arg scope. Args: weight_decay: The l2 regularization coefficient. Returns: An arg_scope.
avod/core/feature_extractors/img_vgg_pyramid.py:13
MethodMail
scripts/offline_eval/kitti_native_eval/mail.h:12
Method__call__
Call the loss function. Args: prediction_tensor: a tensor representing predicted quantities. target_tensor: a tensor
avod/core/losses.py:23
Method__eq__
Compares the given object to the current ObjectLabel instance. :param other: object to compare to this instance against :return: True
avod/core/obj_utils.py:54
Method__init__
Constructs a minibatch sampler.
avod/core/minibatch_sampler.py:43
Method__init__
(self, dataset)
avod/core/label_cluster_utils.py:13
Method__init__
Constructs box collection. Args: boxes: a tensor of shape [N, 4] representing box corners Raises: ValueError: if
avod/core/box_list.py:43
Method__init__
Evaluator class for evaluating model's detection output. Args: model: An instance of DetectionModel dataset_config: D
avod/core/evaluator.py:37
Method__init__
Preprocesses anchors and saves info to files for RPN training Args: dataset: Dataset object mini_batch_dir: directory
avod/core/mini_batch_preprocessor.py:16
Method__init__
(self, dataset)
avod/core/mini_batch_utils.py:13
Method__init__
(self)
avod/core/obj_utils.py:38
Method__init__
(self)
avod/core/calib_utils.py:22
Method__init__
(self)
avod/core/calib_utils.py:46
Method__init__
Constructor. Args: model_config: configuration for the model
avod/core/model.py:23
Method__init__
BEV maps created using slices of the point cloud. Args: config: bev_generator protobuf config kitti_utils: KittiUtils
avod/core/bev_generators/bev_slices.py:14
Method__init__
(self, extractor_config)
avod/core/feature_extractors/bev_feature_extractor.py:7
Method__init__
(self, extractor_config)
avod/core/feature_extractors/img_feature_extractor.py:13
Method__init__
(self)
avod/core/feature_extractors/bev_vgg.py:124
Method__init__
Constructs a minibatch sampler. Args: positive_fraction: desired fraction of positive examples (scalar in [0,1]) Raises:
avod/core/minibatch_samplers/balanced_positive_negative_sampler.py:37
Method__init__
Args: model_config: configuration for the model train_val_test: "train", "val", or "test" dataset: the da
avod/core/models/avod_model.py:77
Method__init__
Args: model_config: configuration for the model train_val_test: "train", "val", or "test" dataset: the da
avod/core/models/rpn_model.py:91
← previousnext →101–200 of 397, ranked by callers