MCPcopy Create free account

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

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

↓ 6 callersFunction_random_integer
Returns a random 0-D tensor between minval and maxval. Args: minval: minimum value of the random tensor. maxval: maximum value of the rando
core/preprocessor.py:192
↓ 6 callersFunctionarea
Computes area of boxes. Args: boxlist: BoxList holding N boxes scope: name scope. Returns: a tensor with shape [N] representing box
core/box_list_ops.py:43
↓ 6 callersMethodcheck_extract_features_raises_error_with_invalid_image_size
( self, image_height, image_width, depth_multiplier, pad_to_multiple)
models/ssd_feature_extractor_test.py:87
↓ 6 callersMethodcheck_extract_features_returns_correct_shapes_with_dynamic_inputs
( self, batch_size, image_height, image_width, depth_multiplier, pad_to_multiple, expected_feature
models/ssd_feature_extractor_test.py:67
↓ 6 callersMethodcreateEmptyTestBoxes
(self)
core/preprocessor_test.py:64
↓ 6 callersMethodcreate_colorful_test_image
This function creates an image that can be used to test vis functions. It makes an image composed of four colored rectangles. Returns:
utils/visualization_utils_test.py:31
↓ 6 callersFunctionget_pipeline_config_path
Returns path to the local pipeline config file.
model_lib_test.py:49
↓ 6 callersMethodname_scope
(self)
utils/test_utils.py:68
↓ 6 callersMethodpredict
(self, preprocessed_inputs, true_image_shapes)
exporter_test.py:45
↓ 6 callersMethodrestore_map
Returns a map of variables to load from a foreign checkpoint. See parent class for details. Args: fine_tune_checkpoint_type: whether t
meta_architectures/ssd_meta_arch.py:830
↓ 5 callersMethod_build_arg_scope_with_conv_hyperparams
(self)
core/box_predictor_test.py:214
↓ 5 callersMethod_create_variables
(self)
utils/variables_helper_test.py:26
↓ 5 callersMethod_get_dataset_next
(self, files, config, batch_size)
utils/dataset_util_test.py:43
↓ 5 callersMethod_reshape_and_cast
(self, t)
core/matcher.py:175
↓ 5 callersMethodcheck_feature_extractor_variables_under_scope
( self, depth_multiplier, pad_to_multiple, scope_name)
models/ssd_feature_extractor_test.py:100
↓ 5 callersMethodcompare
Computes matrix of pairwise similarity between BoxLists. This op (to be overriden) computes a measure of pairwise similarity between the boxe
core/region_similarity_calculator.py:33
↓ 5 callersMethodcreate_model
Builds a DetectionModel based on the model config. Args: model_config: A model.proto object containing the config for the desired D
builders/model_builder_test.py:59
↓ 5 callersMethodcreate_tf_record
(self, has_additional_channels=False)
builders/dataset_builder_test.py:33
↓ 5 callersMethodget_estimator_eval_metric_ops
Returns a dictionary of eval metric ops to use with `tf.EstimatorSpec`. Note that once value_op is called, the detections and groundtruth added v
metrics/coco_evaluation.py:204
↓ 5 callersMethodget_extra_fields
Returns all non-box fields (i.e., everything not named 'boxes').
core/box_list.py:82
↓ 5 callersMethodgroundtruth_has_field
Determines whether the groundtruth includes the given field. Args: field: a string key, options are fields.BoxListFields.{boxes,cla
core/model.py:100
↓ 5 callersMethodparse
Parses tensorflow example and returns a tensor dictionary. Args: tf_example: a tf.Example object. Returns: A dictionary of the f
metrics/tf_example_parser.py:121
↓ 5 callersMethodpostprocess
(self, prediction_dict, true_image_shapes)
exporter_test.py:48
↓ 5 callersMethodpreprocess
Feature-extractor specific preprocessing. SSD meta architecture uses a default clip_window of [0, 0, 1, 1] during post-processing. On calling
meta_architectures/ssd_meta_arch.py:276
↓ 5 callersMethodpreprocess
(self, resized_inputs)
meta_architectures/ssd_meta_arch_test.py:44
↓ 4 callersMethod_BytesFeatureFromList
(self, ndarray)
data_decoders/tf_example_decoder_test.py:74
↓ 4 callersMethod__init__
Constructor. Args: is_training: Indicates whether the BoxPredictor is in training mode. num_classes: number of classes. Note that nu
core/box_predictor.py:46
↓ 4 callersFunction_copy_extra_fields
Copies the extra fields of boxlist_to_copy_from to boxlist_to_copy_to. Args: boxlist_to_copy_to: BoxList to which extra fields are copied.
core/box_list_ops.py:725
↓ 4 callersMethod_create_encoded_image_string
(self, image_array_np, encoding_format)
exporter_test.py:368
↓ 4 callersFunction_get_configs_for_model
Returns configurations for model.
model_lib_test.py:61
↓ 4 callersMethod_reset_target_shape
Sets the static shape of the target. Args: target: the target tensor. Its first dimension will be overwritten. num_anchors: the numbe
core/target_assigner.py:181
↓ 4 callersMethod_set_values_using_indicator
Set the indicated fields of x to val. Args: x: tensor. indicator: boolean with same shape as x. val: scalar with value to set.
matchers/argmax_matcher.py:192
↓ 4 callersMethod_testSSDRandomCropFixedAspectRatio
(self, include_label_scores,
core/preprocessor_test.py:2732
↓ 4 callersFunctionbox_list_to_box_mask_list
Converts a BoxList containing 'masks' into a BoxMaskList. Args: boxlist: An np_box_list.BoxList object. Returns: An np_box_mask_list.Box
utils/np_box_mask_list_ops.py:29
↓ 4 callersMethodclear
Clears the state to prepare for a fresh evaluation.
metrics/coco_evaluation.py:389
↓ 4 callersMethodcreateKeypointFlipPermutation
(self)
core/preprocessor_test.py:110
↓ 4 callersMethodcreateTestMultiClassScores
(self)
core/preprocessor_test.py:122
↓ 4 callersMethodevaluate
Evaluates the detection boxes and returns a dictionary of coco metrics. Returns: A dictionary holding - 1. summary_metrics: 'D
metrics/coco_evaluation.py:151
↓ 4 callersFunctiongather
Gather boxes from np_box_mask_list.BoxMaskList according to indices. By default, gather returns boxes corresponding to the input index list, as w
utils/np_box_mask_list_ops.py:110
↓ 4 callersMethodmatched_column_indices
Returns column indices that match to some row. The indices returned by this op are always sorted in increasing order. Returns: column_
core/matcher.py:83
↓ 4 callersMethodparse
(self, tf_example)
metrics/tf_example_parser.py:46
↓ 4 callersMethodpredict
Predicts unpostprocessed tensors from input tensor. This function takes an input batch of images and runs it through the forward pass of the
meta_architectures/faster_rcnn_meta_arch.py:552
↓ 4 callersFunctionscale
scale box coordinates in x and y dimensions. Args: boxlist: BoxList holding N boxes y_scale: (float) scalar tensor x_scale: (float) sca
core/box_list_ops.py:76
↓ 4 callersFunctionvisualize_boxes_and_labels_on_image_array
Overlay labeled boxes on an image with formatted scores and label names. This function groups boxes that correspond to the same location and crea
visualization_utils.py:541
↓ 4 callersFunctionvisualize_boxes_and_labels_on_image_array
Overlay labeled boxes on an image with formatted scores and label names. This function groups boxes that correspond to the same location and crea
utils/visualization_utils.py:541
↓ 3 callersMethodComputeMetrics
Computes detection metrics. Args: include_metrics_per_category: If True, will include metrics per category. all_metrics_per_category:
metrics/coco_tools.py:192
↓ 3 callersMethodLoadAnnotations
Load annotations dictionary into COCO datastructure. See http://mscoco.org/dataset/#format for a description of the annotations format. As a
metrics/coco_tools.py:85
↓ 3 callersMethod_DecodeImage
(self, image_encoded, encoding_type='jpeg')
data_decoders/tf_example_decoder_test.py:49
↓ 3 callersMethod__init__
SSD FPN feature extractor based on Resnet v1 architecture. Args: is_training: whether the network is in training mode. depth_multipli
models/ssd_resnet_v1_fpn_feature_extractor.py:35
↓ 3 callersMethod__init__
Constructor. Args: architecture: Architecture name of the Resnet V1 model. resnet_model: Definition of the Resnet V1 model. is_
models/faster_rcnn_resnet_v1_feature_extractor.py:40
↓ 3 callersMethod_assertOptimizerWithNewLearningRate
Asserts successful updating of all learning rate schemes.
utils/config_util_test.py:203
↓ 3 callersMethod_assert_model_fn_for_train_eval
(self, configs, mode, class_agnostic=False)
model_lib_test.py:81
↓ 3 callersMethod_compute_cor_loc
Compute CorLoc score for object detection result. Args: detected_boxes: A float numpy array of shape [N, 4], representing N regio
utils/per_image_evaluation.py:127
↓ 3 callersMethod_create_and_load_test_configs
(self, pipeline_config)
utils/config_util_test.py:72
↓ 3 callersFunction_create_learning_rate
Create optimizer learning rate based on config. Args: learning_rate_config: A LearningRate proto message. Returns: A learning rate. R
builders/optimizer_builder.py:72
↓ 3 callersFunction_create_tf_record_from_coco_annotations
Loads COCO annotation json files and converts to tf.Record format. Args: annotations_file: JSON file containing bounding box annotations. i
dataset_tools/create_coco_tf_record.py:190
↓ 3 callersMethod_generate_label_map
(self, num_classes)
utils/label_map_util_test.py:28
↓ 3 callersMethod_get_categories_list
(self)
eval_util_test.py:30
↓ 3 callersMethod_get_multi_class_target_assigner
(self, num_classes)
core/target_assigner_test.py:476
↓ 3 callersFunction_is_tensor
Returns a boolean indicating whether the input is a tensor. Args: t: the input to be tested. Returns: a boolean that indicates whether t
utils/shape_utils.py:23
↓ 3 callersMethod_make_evaluation_dict
(self)
eval_util_test.py:35
↓ 3 callersMethod_postprocess_rpn
Converts first stage prediction tensors from the RPN to proposals. This function decodes the raw RPN predictions, runs non-max suppression on
meta_architectures/faster_rcnn_meta_arch.py:1132
↓ 3 callersFunction_score_converter_fn_with_logit_scale
Create a function to scale logits then apply a Tensorflow function.
builders/post_processing_builder.py:91
↓ 3 callersFunction_set_dim_0
Sets the 0-th dimension of the input tensor. Args: t: the input tensor, assuming the rank is at least 1. d0: an integer indicating the 0-th
utils/shape_utils.py:35
↓ 3 callersMethod_shape_of_resized_random_image_given_text_proto
(self, input_shape, text_proto)
builders/image_resizer_builder_test.py:25
↓ 3 callersMethodadd_single_ground_truth_image_info
Adds groundtruth for a single image to be used for evaluation. Args: image_id: A unique string/integer identifier for the image. grou
utils/object_detection_evaluation.py:72
↓ 3 callersMethodadd_single_ground_truth_image_info
Adds groundtruth for a single image to be used for evaluation. Args: image_id: A unique string/integer identifier for the image. grou
utils/object_detection_evaluation.py:423
↓ 3 callersFunctionarea
Computes area of boxes. Args: boxes: Numpy array with shape [N, 4] holding N boxes Returns: a numpy array with shape [N*1] representing
utils/np_box_ops.py:25
↓ 3 callersFunctionarea
Computes area of masks. Args: masks: Numpy array with shape [N, height, width] holding N masks. Masks values are of type np.uint8 and val
utils/np_mask_ops.py:27
↓ 3 callersMethodas_tensor_dict
Retrieves specified fields as a dictionary of tensors. Args: fields: (optional) list of fields to return in the dictionary. If None
core/box_list.py:187
↓ 3 callersMethodclear
Clears the state to prepare for a fresh evaluation.
utils/object_detection_evaluation.py:99
↓ 3 callersFunctioncreate_model_fn
Creates a model function for `Estimator`. Args: detection_model_fn: Function that returns a `DetectionModel` instance. configs: Dictionary
model_lib.py:171
↓ 3 callersFunctioncreate_test_data
()
dataset_tools/oid_tfrecord_creation_test.py:23
↓ 3 callersMethodget_coordinates
Get corner coordinates of boxes. Returns: a list of 4 1-d numpy arrays [y_min, x_min, y_max, x_max]
utils/np_box_list.py:106
↓ 3 callersFunctionget_mock_graph_path
()
inference/detection_inference_test.py:51
↓ 3 callersFunctionget_mock_tfrecord_path
()
inference/detection_inference_test.py:29
↓ 3 callersMethodignored_column_indices
Returns column indices that are ignored (neither Matched nor Unmatched). The indices returned by this op are always sorted in increasing order.
core/matcher.py:127
↓ 3 callersMethodloss
(self, prediction_dict, true_image_shapes)
exporter_test.py:72
↓ 3 callersFunctionretain_groundtruth
Retains groundtruth by valid indices. Args: tensor_dict: a dictionary of following groundtruth tensors - fields.InputDataFields.groundtru
utils/ops.py:315
↓ 3 callersFunctionscale
Scales keypoint coordinates in x and y dimensions. Args: keypoints: a tensor of shape [num_instances, num_keypoints, 2] y_scale: (float) sc
core/keypoint_ops.py:26
↓ 3 callersMethodsummarize
Summarize the number of positives and negatives after mining.
core/losses.py:583
↓ 3 callersMethodunmatched_column_indices
Returns column indices that do not match any row. The indices returned by this op are always sorted in increasing order. Returns: colu
core/matcher.py:105
↓ 2 callersMethod_BytesFeature
(self, value)
metrics/tf_example_parser_test.py:33
↓ 2 callersFunction_ConvertBoxToCOCOFormat
Converts a box in [ymin, xmin, ymax, xmax] format to COCO format. This is a utility function for converting from our internal [ymin, xmin, ymax,
metrics/coco_tools.py:295
↓ 2 callersMethod_Int64FeatureFromList
(self, ndarray)
data_decoders/tf_example_decoder_test.py:70
↓ 2 callersFunction_RleCompress
Compresses mask using Run-length encoding provided by pycocotools. Args: masks: uint8 numpy array of shape [mask_height, mask_width] with value
metrics/coco_tools.py:312
↓ 2 callersMethod__init__
Constructor. Args: matching_iou_threshold: IOU threshold to use for matching groundtruth boxes to detection boxes. metric_pre
utils/vrd_evaluation.py:63
↓ 2 callersFunction_apply_with_random_selector_tuples
Computes func(x, sel), with sel sampled from [0...num_cases-1]. If both preprocess_vars_cache AND key are the same between two calls, sel will be
core/preprocessor.py:117
↓ 2 callersMethod_batch_decode
Decodes a batch of box encodings with respect to the anchors. Args: box_encodings: A float32 tensor of shape [batch_size, num_ancho
meta_architectures/ssd_meta_arch.py:794
↓ 2 callersMethod_batch_decode_boxes
Decodes box encodings with respect to the anchor boxes. Args: box_encodings: a 4-D tensor with shape [batch_size, num_anchors, num_
meta_architectures/faster_rcnn_meta_arch.py:1529
↓ 2 callersFunction_batch_norm_arg_scope
Slim arg scope for InceptionV2 batch norm.
models/faster_rcnn_inception_v2_feature_extractor.py:29
↓ 2 callersFunction_check_mask_type_and_value
Checks whether mask dtype is uint8 and the values are either 0 or 1.
metrics/coco_evaluation.py:358
↓ 2 callersMethod_compute_clip_window
Computes clip window for non max suppression based on image shapes. This function assumes that the clip window's left top corner is at (0, 0).
meta_architectures/faster_rcnn_meta_arch.py:531
↓ 2 callersMethod_compute_second_stage_input_feature_maps
Crops to a set of proposals from the feature map for a batch of images. Helper function for self._postprocess_rpn. This function calls `tf.im
meta_architectures/faster_rcnn_meta_arch.py:1405
↓ 2 callersFunction_copy_extra_fields
Copies the extra fields of boxlist_to_copy_from to boxlist_to_copy_to. Args: boxlist_to_copy_to: BoxList to which extra fields are copied.
utils/np_box_list_ops.py:536
↓ 2 callersMethod_create_feature_extractor
Constructs a new feature extractor. Args: depth_multiplier: float depth multiplier for feature extractor pad_to_multiple: the nearest
models/ssd_mobilenet_v1_feature_extractor_test.py:29
↓ 2 callersMethod_create_feature_extractor
Constructs a new feature extractor. Args: depth_multiplier: float depth multiplier for feature extractor pad_to_multiple: the nearest
models/ssd_mobilenet_v2_feature_extractor_test.py:29
↓ 2 callersMethod_create_feature_extractor
Constructs a new feature extractor. Args: depth_multiplier: float depth multiplier for feature extractor pad_to_multiple: the nearest
models/embedded_ssd_mobilenet_v1_feature_extractor_test.py:27
↓ 2 callersMethod_create_grads_and_vars
(self)
utils/variables_helper_test.py:67
↓ 2 callersFunction_flip_image
(image)
core/preprocessor.py:493
← previousnext →101–200 of 2,187, ranked by callers