MCPcopy Create free account

hub / github.com/ambakick/Person-Detection-and-Tracking / functions

Functions2,187 in github.com/ambakick/Person-Detection-and-Tracking

Method__init__
Constructs a minibatch sampler. Args: positive_fraction: desired fraction of positive examples (scalar in [0,1]) in the batch.
core/balanced_positive_negative_sampler.py:37
Method__init__
Construct Object Detection Target Assigner. Args: similarity_calc: a RegionSimilarityCalculator matcher: an object_detection.core.Mat
core/target_assigner.py:51
Method__init__
Constructs a batch queue holding tensor_dict. Args: tensor_dict: dictionary of tensors to batch. batch_size: batch size. batch_
core/batcher.py:68
Method__init__
Constructor. Args: num_classes: number of classes. Note that num_classes *does not* include background categories that might be impl
core/model.py:67
Method__init__
Constructor. Args: hierarchy: labels hierarchy as JSON file.
dataset_tools/oid_hierarchical_labels_expansion.py:79
Method__init__
Constructor. Args: is_training: See base class. first_stage_features_stride: See base class. batch_norm_trainable: See base cla
models/faster_rcnn_nas_feature_extractor.py:119
Method__init__
InceptionV2 Feature Extractor for SSD Models. Args: is_training: whether the network is in training mode. depth_multiplier: float dep
models/ssd_inception_v2_feature_extractor.py:31
Method__init__
Constructor. Args: is_training: See base class. first_stage_features_stride: See base class. batch_norm_trainable: See base cla
models/faster_rcnn_mobilenet_v1_feature_extractor.py:59
Method__init__
SSD Resnet50 V1 FPN feature extractor based on Resnet v1 architecture. Args: is_training: whether the network is in training mode. de
models/ssd_resnet_v1_fpn_feature_extractor.py:178
Method__init__
SSD Resnet101 V1 FPN feature extractor based on Resnet v1 architecture. Args: is_training: whether the network is in training mode. d
models/ssd_resnet_v1_fpn_feature_extractor.py:217
Method__init__
SSD Resnet152 V1 FPN feature extractor based on Resnet v1 architecture. Args: is_training: whether the network is in training mode. d
models/ssd_resnet_v1_fpn_feature_extractor.py:256
Method__init__
Constructor. Args: is_training: See base class. first_stage_features_stride: See base class. batch_norm_trainable: See base cla
models/faster_rcnn_pnas_feature_extractor.py:120
Method__init__
Constructor. Args: is_training: See base class. first_stage_features_stride: See base class. batch_norm_trainable: See base cla
models/faster_rcnn_inception_v2_feature_extractor.py:57
Method__init__
MobileNetV1 Feature Extractor for SSD Models. Args: is_training: whether the network is in training mode. depth_multiplier: float dep
models/ssd_mobilenet_v1_feature_extractor.py:33
Method__init__
Constructor. Args: is_training: See base class. first_stage_features_stride: See base class. batch_norm_trainable: See base cla
models/faster_rcnn_resnet_v1_feature_extractor.py:175
Method__init__
Constructor. Args: is_training: See base class. first_stage_features_stride: See base class. batch_norm_trainable: See base cla
models/faster_rcnn_resnet_v1_feature_extractor.py:203
Method__init__
Constructor. Args: is_training: See base class. first_stage_features_stride: See base class. batch_norm_trainable: See base cla
models/faster_rcnn_resnet_v1_feature_extractor.py:231
Method__init__
MobileNetV2 Feature Extractor for SSD Models. Mobilenet v2 (experimental), designed by sandler@. More details can be found in //knowledge/cer
models/ssd_mobilenet_v2_feature_extractor.py:34
Method__init__
InceptionV3 Feature Extractor for SSD Models. Args: is_training: whether the network is in training mode. depth_multiplier: float dep
models/ssd_inception_v3_feature_extractor.py:31
Method__init__
Constructor. Args: is_training: See base class. first_stage_features_stride: See base class. batch_norm_trainable: See base cla
models/faster_rcnn_inception_resnet_v2_feature_extractor.py:37
Method__init__
MobileNetV1 Feature Extractor for Embedded-friendly SSD Models. Args: is_training: whether the network is in training mode. depth_mul
models/embedded_ssd_mobilenet_v1_feature_extractor.py:47
Method__init__
Constructor. Args: is_training: whether the network is in training mode. depth_multiplier: float depth multiplier for feature extract
meta_architectures/ssd_meta_arch.py:40
Method__init__
SSDMetaArch Constructor. TODO(rathodv,jonathanhuang): group NMS parameters + score converter into a class and loss parameters into a class an
meta_architectures/ssd_meta_arch.py:119
Method__init__
(self)
meta_architectures/ssd_meta_arch_test.py:36
Method__init__
RFCNMetaArch Constructor. Args: is_training: A boolean indicating whether the training version of the computation graph should be c
meta_architectures/rfcn_meta_arch.py:51
Method__init__
Constructor. Args: is_training: A boolean indicating whether the training version of the computation graph should be constructed.
meta_architectures/faster_rcnn_meta_arch.py:119
Method__init__
FasterRCNNMetaArch Constructor. Args: is_training: A boolean indicating whether the training version of the computation graph shoul
meta_architectures/faster_rcnn_meta_arch.py:224
Method__init__
(self)
meta_architectures/faster_rcnn_meta_arch_test_lib.py:39
Method__init__
Construct ArgMaxMatcher. Args: matched_threshold: Threshold for positive matches. Positive if sim >= matched_threshold, where sim i
matchers/argmax_matcher.py:54
Method__init__
Constructs a Matcher. Args: use_matmul_gather: Force constructed match objects to use matrix multiplication based gather instead of
matchers/bipartite_matcher.py:27
Method__init__
Constructor for FasterRcnnBoxCoder. Args: scale_factors: List of 4 positive scalars to scale ty, tx, th and tw. If set to None, doe
box_coders/faster_rcnn_box_coder.py:42
Method__init__
Constructor for SquareBoxCoder. Args: scale_factors: List of 3 positive scalars to scale ty, tx, and tl. If set to None, does not p
box_coders/square_box_coder.py:46
Method__init__
Constructor for KeypointBoxCoder. Args: num_keypoints: Number of keypoints to encode/decode. scale_factors: List of 4 positive scalar
box_coders/keypoint_box_coder.py:50
Method__init__
Constructor for MeanStddevBoxCoder. Args: stddev: The standard deviation used to encode and decode boxes.
box_coders/mean_stddev_box_coder.py:28
Method_batch_gather_kept_indices
(predictions_tensor)
meta_architectures/faster_rcnn_meta_arch.py:1024
Method_bytes_feature
(value)
exporter_test.py:109
Method_compare
Compute pairwise IOU similarity between the two BoxLists. Args: boxlist1: BoxList holding N boxes. boxlist2: BoxList holding M boxes.
core/region_similarity_calculator.py:64
Method_compare
Compute matrix of (negated) sq distances. Args: boxlist1: BoxList holding N boxes. boxlist2: BoxList holding M boxes. Returns:
core/region_similarity_calculator.py:84
Method_compare
Compute pairwise IOA similarity between the two BoxLists. Args: boxlist1: BoxList holding N boxes. boxlist2: BoxList holding M boxes.
core/region_similarity_calculator.py:104
Method_compute_loss
Compute loss function. Args: prediction_tensor: A float tensor of shape [batch_size, num_anchors, code_size] representing the (enco
core/losses.py:99
Method_compute_loss
Compute loss function. Args: prediction_tensor: A float tensor of shape [batch_size, num_anchors, code_size] representing the (enco
core/losses.py:137
Method_compute_loss
Compute loss function. Args: prediction_tensor: A float tensor of shape [batch_size, num_anchors, 4] representing the decoded predi
core/losses.py:169
Method_compute_loss
Compute loss function. Args: prediction_tensor: A float tensor of shape [batch_size, num_anchors, num_classes] representing the pre
core/losses.py:193
Method_compute_loss
Compute loss function. Args: prediction_tensor: A float tensor of shape [batch_size, num_anchors, num_classes] representing the pre
core/losses.py:241
Method_compute_loss
Compute loss function. Args: prediction_tensor: A float tensor of shape [batch_size, num_anchors, num_classes] representing the pre
core/losses.py:298
Method_compute_loss
Compute loss function. Args: prediction_tensor: A float tensor of shape [batch_size, num_anchors, num_classes] representing the pre
core/losses.py:344
Method_compute_loss
Compute loss function. Args: prediction_tensor: A float tensor of shape [batch_size, num_anchors, num_classes] representing the pre
core/losses.py:403
Method_create_feature_extractor
(self, depth_multiplier, pad_to_multiple, use_explicit_padding=False)
models/ssd_resnet_v1_fpn_feature_extractor_test.py:27
Method_create_feature_extractor
(self, depth_multiplier, pad_to_multiple, use_explicit_padding=False)
models/ssd_resnet_v1_fpn_feature_extractor_test.py:44
Method_create_feature_extractor
(self, depth_multiplier, pad_to_multiple, use_explicit_padding=False)
models/ssd_resnet_v1_fpn_feature_extractor_test.py:66
Function_create_losses
Creates loss function for a DetectionModel. Args: input_queue: BatchQueue object holding enqueued tensor_dicts. create_model_fn: A function
trainer.py:163
Method_decode
(self, rel_codes, anchors)
utils/test_utils.py:38
Method_decode
(self, rel_codes, anchors)
core/box_coder_test.py:33
Method_decode
Decode relative codes to boxes. Args: rel_codes: a tensor representing N anchor-encoded boxes. anchors: BoxList of anchors. Retu
box_coders/faster_rcnn_box_coder.py:92
Method_decode
Decodes relative codes to boxes. Args: rel_codes: a tensor representing N anchor-encoded boxes. anchors: BoxList of anchors. Ret
box_coders/square_box_coder.py:101
Method_decode
Decode relative codes to boxes and keypoints. Args: rel_codes: a tensor with shape [N, 4 + 2 * num_keypoints] representing N anchor
box_coders/keypoint_box_coder.py:128
Method_decode
Decode. Args: rel_codes: a tensor representing N anchor-encoded boxes. anchors: BoxList of anchors. Returns: boxes: BoxLis
box_coders/mean_stddev_box_coder.py:60
Method_decode_png_instance_masks
Decode PNG instance segmentation masks and stack into dense tensor. The instance segmentation masks are reshaped to [num_instances, height, w
data_decoders/tf_example_decoder.py:410
Method_encode
(self, boxes, anchors)
utils/test_utils.py:35
Method_encode
(self, boxes, anchors)
core/box_coder_test.py:30
Method_encode
Encode a box collection with respect to anchor collection. Args: boxes: BoxList holding N boxes to be encoded. anchors: BoxList of an
box_coders/faster_rcnn_box_coder.py:60
Method_encode
Encodes a box collection with respect to an anchor collection. Args: boxes: BoxList holding N boxes to be encoded. anchors: BoxList o
box_coders/square_box_coder.py:71
Method_encode
Encode a box and keypoint collection with respect to anchor collection. Args: boxes: BoxList holding N boxes and keypoints to be encoded. B
box_coders/keypoint_box_coder.py:77
Method_encode
Encode a box collection with respect to anchor collection. Args: boxes: BoxList holding N boxes to be encoded. anchors: BoxList of N
box_coders/mean_stddev_box_coder.py:40
Function_encoded_image_string_tensor_input_placeholder
Returns input that accepts a batch of PNG or JPEG strings. Returns: a tuple of input placeholder and the output decoded images.
exporter.py:156
Function_eval_input_fn
Returns `features` and `labels` tensor dictionaries for evaluation. Args: params: Parameter dictionary passed from the estimator. Retu
inputs.py:321
Method_extract_box_classifier_features
Extracts second stage box classifier features. This function reconstructs the "second half" of the NASNet-A network after the part defined in
models/faster_rcnn_nas_feature_extractor.py:209
Method_extract_box_classifier_features
Extracts second stage box classifier features. Args: proposal_feature_maps: A 4-D float tensor with shape [batch_size * self.max_nu
models/faster_rcnn_mobilenet_v1_feature_extractor.py:154
Method_extract_box_classifier_features
Extracts second stage box classifier features. This function reconstructs the "second half" of the PNASNet network after the part defined in
models/faster_rcnn_pnas_feature_extractor.py:211
Method_extract_box_classifier_features
Extracts second stage box classifier features. Args: proposal_feature_maps: A 4-D float tensor with shape [batch_size * self.max_nu
models/faster_rcnn_inception_v2_feature_extractor.py:142
Method_extract_box_classifier_features
Extracts second stage box classifier features. Args: proposal_feature_maps: A 4-D float tensor with shape [batch_size * self.max_nu
models/faster_rcnn_resnet_v1_feature_extractor.py:138
Method_extract_box_classifier_features
Extracts second stage box classifier features. This function reconstructs the "second half" of the Inception ResNet v2 network after the part
models/faster_rcnn_inception_resnet_v2_feature_extractor.py:113
Method_extract_box_classifier_features
(self, proposal_feature_maps, scope)
meta_architectures/faster_rcnn_meta_arch_test_lib.py:55
Method_extract_proposal_features
Extracts first stage RPN features. Extracts features using the first half of the NASNet network. We construct the network in `align_feature_m
models/faster_rcnn_nas_feature_extractor.py:159
Method_extract_proposal_features
Extracts first stage RPN features. Args: preprocessed_inputs: A [batch, height, width, channels] float32 tensor representing a batc
models/faster_rcnn_mobilenet_v1_feature_extractor.py:111
Method_extract_proposal_features
Extracts first stage RPN features. Extracts features using the first half of the PNASNet network. We construct the network in `align_feature_
models/faster_rcnn_pnas_feature_extractor.py:160
Method_extract_proposal_features
Extracts first stage RPN features. Args: preprocessed_inputs: A [batch, height, width, channels] float32 tensor representing a batc
models/faster_rcnn_inception_v2_feature_extractor.py:102
Method_extract_proposal_features
Extracts first stage RPN features. Args: preprocessed_inputs: A [batch, height, width, channels] float32 tensor representing a batc
models/faster_rcnn_resnet_v1_feature_extractor.py:88
Method_extract_proposal_features
Extracts first stage RPN features. Extracts features using the first half of the Inception Resnet v2 network. We construct the network in `al
models/faster_rcnn_inception_resnet_v2_feature_extractor.py:77
Method_extract_proposal_features
(self, preprocessed_inputs, scope)
meta_architectures/faster_rcnn_meta_arch_test_lib.py:49
Function_fake_image_resizer_fn
(image, mask)
inputs_test.py:395
Function_fake_model_preprocessor_fn
(image)
inputs_test.py:391
Method_generate
Generates a collection of bounding boxes to be used as anchors. Args: feature_map_shape_list: list of pairs of convnet layer resolutions in
anchor_generators/grid_anchor_generator.py:85
Method_generate
Generates a collection of bounding boxes to be used as anchors. Currently we require the input image shape to be statically defined. That is
anchor_generators/multiscale_grid_anchor_generator.py:87
Method_generate
Generates a collection of bounding boxes to be used as anchors. The number of anchors generated for a single grid with shape MxM where we pla
anchor_generators/multiple_grid_anchor_generator.py:140
Method_generate
(self, feature_map_shape_list)
utils/test_utils.py:74
Method_generate
(self, feature_map_shape_list, im_height, im_width)
meta_architectures/ssd_meta_arch_test.py:63
Method_get_model
(self, box_predictor, **common_kwargs)
meta_architectures/rfcn_meta_arch_test.py:50
Method_get_second_stage_box_predictor_text_proto
(self)
meta_architectures/rfcn_meta_arch_test.py:27
Function_image_tensor_input_placeholder
Returns input placeholder and a 4-D uint8 image tensor.
exporter.py:126
Method_match
(self, similarity_matrix)
utils/test_utils.py:82
Method_match
Tries to match each column of the similarity matrix to a row. Args: similarity_matrix: tensor of shape [N, M] representing any similarity
matchers/argmax_matcher.py:107
Method_match
Bipartite matches a collection rows and columns. A greedy bi-partite. TODO(rathodv): Add num_valid_columns options to match only that many column
matchers/bipartite_matcher.py:38
Method_match_when_rows_are_empty
Performs matching when the rows of similarity matrix are empty. When the rows are empty, all detections are false positives. So we return
matchers/argmax_matcher.py:118
Method_match_when_rows_are_non_empty
Performs matching when the rows of similarity matrix are non empty. Returns: matches: int32 tensor indicating the row each column matc
matchers/argmax_matcher.py:131
Method_minibatch_subsample_fn
Randomly samples anchors for one image. Args: inputs: a list of 2 inputs. First one is a tensor of shape [num_anchors, num_classes]
meta_architectures/ssd_meta_arch.py:620
Method_minibatch_subsample_fn
(inputs)
meta_architectures/faster_rcnn_meta_arch.py:1658
Method_predict
(self, image_features, num_predictions_per_location)
utils/test_utils.py:48
Method_predict
Computes encoded object locations and corresponding confidences. Args: image_features: A list of float tensors of shape [batch_size, height
core/box_predictor.py:186
Method_predict
Optionally computes encoded object locations, confidences, and masks. Flattens image_features and applies fully connected ops (with no non-li
core/box_predictor.py:501
← previousnext →601–700 of 2,187, ranked by callers