MCPcopy Create free account

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

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

↓ 1 callersFunction_rot90_image
(image)
core/preprocessor.py:683
↓ 1 callersFunction_rot90_masks
Rotate masks counter-clockwise by 90 degrees. Args: masks: rank 3 float32 tensor with shape [num_instances, height, width] representing i
core/preprocessor.py:428
↓ 1 callersFunction_run_checkpoint_once
Evaluates metrics defined in evaluators and returns summaries. This function loads the latest checkpoint in checkpoint_dirs and evaluates all met
eval_util.py:199
↓ 1 callersMethod_sample_box_classifier_minibatch
Samples a mini-batch of proposals to be sent to the box classifier. Helper function for self._postprocess_rpn. Args: proposal_boxlist:
meta_architectures/faster_rcnn_meta_arch.py:1369
↓ 1 callersMethod_scale_and_softmax_logits
Scale logits then apply softmax.
core/losses.py:339
↓ 1 callersFunction_strict_random_crop_image
Performs random crop. Note: boxes will be clipped to the crop. Keypoint coordinates that are outside the crop will be set to NaN, which is consis
core/preprocessor.py:1106
↓ 1 callersMethod_subsample_selection_to_desired_neg_pos_ratio
Subsample a collection of selected indices to a desired neg:pos ratio. This function takes a subset of M indices (indexing into a large anchor
core/losses.py:591
↓ 1 callersMethod_summarize_anchor_classification_loss
(self, class_ids, cls_losses)
meta_architectures/ssd_meta_arch.py:646
↓ 1 callersMethod_summarize_target_assignment
Creates tensorflow summaries for the input boxes and anchors. This function creates four summaries corresponding to the average number (over
meta_architectures/ssd_meta_arch.py:711
↓ 1 callersMethod_unpad_proposals_and_apply_hard_mining
Unpads proposals and applies hard mining. Args: proposal_boxlists: A list of `batch_size` BoxLists each representing `self.max_num_
meta_architectures/faster_rcnn_meta_arch.py:1940
↓ 1 callersMethod_unpad_proposals_and_sample_box_classifier_batch
Unpads proposals and samples a minibatch for second stage. Args: proposal_boxes: A float tensor with shape [batch_size, num_proposa
meta_architectures/faster_rcnn_meta_arch.py:1220
↓ 1 callersFunction_update_batch_size
Updates `configs` to reflect the new training batch size. The configs dictionary is updated in place, and hence not returned. Args: configs:
utils/config_util.py:421
↓ 1 callersFunction_update_classification_localization_weight_ratio
Updates the classification/localization weight loss ratio. Detection models usually define a loss weight for both classification and objectness.
utils/config_util.py:495
↓ 1 callersFunction_update_eval_steps
Updates `configs` to reflect new number of eval steps per evaluation.
utils/config_util.py:588
↓ 1 callersFunction_update_focal_loss_alpha
Updates the alpha value for a sigmoid focal loss. The configs dictionary is updated in place, and hence not returned. Args: configs: Diction
utils/config_util.py:562
↓ 1 callersFunction_update_focal_loss_gamma
Updates the gamma value for a sigmoid focal loss. The configs dictionary is updated in place, and hence not returned. Args: configs: Diction
utils/config_util.py:541
↓ 1 callersFunction_update_generic
Update a pipeline configuration parameter based on a generic key/value. Args: configs: Dictionary of pipeline configuration protos. key: A
utils/config_util.py:440
↓ 1 callersMethod_update_ground_truth_statistics
Update grouth truth statitistics. 1. Difficult boxes are ignored when counting the number of ground truth instances as done in Pascal VOC dev
utils/object_detection_evaluation.py:778
↓ 1 callersMethod_update_groundtruth_statistics
Updates grouth truth statistics. Args: groundtruth_class_tuples: A numpy array of structures shape [M, 1], representing the clas
utils/vrd_evaluation.py:500
↓ 1 callersFunction_update_initial_learning_rate
Updates `configs` to reflect the new initial learning rate. This function updates the initial learning rate. For learning rate schedules, all oth
utils/config_util.py:367
↓ 1 callersFunction_update_label_map_path
Updates the label map path for both train and eval input readers. The configs dictionary is updated in place, and hence not returned. Args:
utils/config_util.py:616
↓ 1 callersFunction_update_mask_type
Updates the mask type for both train and eval input readers. The configs dictionary is updated in place, and hence not returned. Args: confi
utils/config_util.py:630
↓ 1 callersFunction_update_momentum_optimizer_value
Updates `configs` to reflect the new momentum value. Momentum is only supported for RMSPropOptimizer and MomentumOptimizer. For any other optimiz
utils/config_util.py:467
↓ 1 callersFunction_update_optimizer_with_constant_learning_rate
Adds a new constant learning rate.
utils/config_util_test.py:39
↓ 1 callersFunction_update_optimizer_with_cosine_decay_learning_rate
Adds a new cosine decay learning rate.
utils/config_util_test.py:62
↓ 1 callersFunction_update_optimizer_with_exponential_decay_learning_rate
Adds a new exponential decay learning rate.
utils/config_util_test.py:45
↓ 1 callersFunction_update_optimizer_with_manual_step_learning_rate
Adds a learning rate schedule.
utils/config_util_test.py:52
↓ 1 callersFunction_update_train_steps
Updates `configs` to reflect new number of training steps.
utils/config_util.py:583
↓ 1 callersFunction_update_use_moving_averages
Updates the eval config option to use or not use moving averages. The configs dictionary is updated in place, and hence not returned. Args:
utils/config_util.py:645
↓ 1 callersFunction_validate_label_map
Checks if a label map is valid. Args: label_map: StringIntLabelMap to validate. Raises: ValueError: if label map is invalid.
utils/label_map_util.py:25
↓ 1 callersFunctionarea
Computes area of boxes. Args: boxlist: BoxList holding N boxes Returns: a numpy array with shape [N*1] representing box areas
utils/np_box_list_ops.py:39
↓ 1 callersFunctionassign_detections_to_trackers
From current list of trackers and new detections, output matched detections, unmatchted trackers, unmatched detections.
Person_det_track.py:32
↓ 1 callersMethodbox_normal_to_pixel
(self, box, dim)
detector.py:63
↓ 1 callersFunctionbox_union
(a, b)
helpers.py:34
↓ 1 callersFunctionbox_voting
Performs box voting as described in S. Gidaris and N. Komodakis, ICCV 2015. Performs box voting as described in 'Object detection via a multi-regio
core/box_list_ops.py:901
↓ 1 callersFunctionbuild_hard_example_miner
Builds hard example miner based on the config. Args: config: A losses_pb2.HardExampleMiner object. classification_weight: Classification lo
builders/losses_builder.py:73
↓ 1 callersMethodclear
Clears the state to prepare for a fresh evaluation.
metrics/coco_evaluation.py:55
↓ 1 callersMethodclear_detections
Clears detections.
utils/vrd_evaluation.py:429
↓ 1 callersFunctionclip_tensor
Clips the input tensor along the first dimension up to the length. Args: t: the input tensor, assuming the rank is at least 1. length: a te
utils/shape_utils.py:77
↓ 1 callersFunctionconcatenate
Concatenate list of BoxLists. This op concatenates a list of input BoxLists into a larger BoxList. It also handles concatenation of BoxList fiel
utils/np_box_list_ops.py:424
↓ 1 callersFunctionconcatenate
Concatenate list of BoxLists. This op concatenates a list of input BoxLists into a larger BoxList. It also handles concatenation of BoxList fiel
core/box_list_ops.py:501
↓ 1 callersFunctionconvert_kitti_to_tfrecords
Convert the KITTI detection dataset to TFRecords. Args: data_dir: The full path to the unzipped folder containing the unzipped data from
dataset_tools/create_kitti_tf_record.py:72
↓ 1 callersFunctionconvert_label_map_to_categories
Loads label map proto and returns categories list compatible with eval. This function loads a label map and returns a list of dicts, each of which
utils/label_map_util.py:73
↓ 1 callersFunctioncoverage_box
(bboxes)
core/box_list_ops.py:1046
↓ 1 callersMethodcreateTestBoxesOutOfImage
(self)
core/preprocessor_test.py:117
↓ 1 callersMethodcreateTestKeypointsInsideCrop
(self)
core/preprocessor_test.py:96
↓ 1 callersMethodcreateTestKeypointsOutsideCrop
(self)
core/preprocessor_test.py:103
↓ 1 callersMethodcreateTestLabelScoresWithMissingScore
(self)
core/preprocessor_test.py:76
↓ 1 callersFunctioncreate_category_index
Creates dictionary of COCO compatible categories keyed by category id. Args: categories: a list of dicts, each of which has the following keys:
utils/label_map_util.py:42
↓ 1 callersFunctioncreate_configs_from_pipeline_proto
Creates a configs dictionary from pipeline_pb2.TrainEvalPipelineConfig. Args: pipeline_config: pipeline_pb2.TrainEvalPipelineConfig proto objec
utils/config_util.py:98
↓ 1 callersFunctioncreate_estimator_and_inputs
Creates `Estimator`, input functions, and steps. Args: run_config: A `RunConfig`. hparams: A `HParams`. pipeline_config_path: A path to
model_lib.py:424
↓ 1 callersFunctioncreate_input_queue
Sets up reader, prefetcher and returns input queue. Args: batch_size_per_clone: batch size to use per clone. create_tensor_dict_fn: functio
trainer.py:38
↓ 1 callersFunctioncreate_pipeline_proto_from_configs
Creates a pipeline_pb2.TrainEvalPipelineConfig from configs dictionary. This function performs the inverse operation of create_configs_from_pipel
utils/config_util.py:136
↓ 1 callersFunctioncreate_predict_input_fn
Creates a predict `input` function for `Estimator`. Args: model_config: A model_pb2.DetectionModel. Returns: `input_fn` for `Estimator`
inputs.py:394
↓ 1 callersMethodcreate_test_image_with_five_channels
(self)
utils/visualization_utils_test.py:51
↓ 1 callersFunctioncreate_tf_example
Converts image and annotations to a tf.Example proto. Args: image: dict with keys: [u'license', u'file_name', u'coco_url', u'height', u'w
dataset_tools/create_coco_tf_record.py:69
↓ 1 callersFunctioncreate_train_input_fn
Creates a train `input` function for `Estimator`. Args: train_config: A train_pb2.TrainConfig. train_input_config: An input_reader_pb2.Inpu
inputs.py:214
↓ 1 callersFunctiondict_to_tf_example
Convert XML derived dict to tf.Example proto. Notice that this function normalizes the bounding box coordinates provided by the raw data. Args
dataset_tools/create_pet_tf_record.py:76
↓ 1 callersFunctiondict_to_tf_example
Convert XML derived dict to tf.Example proto. Notice that this function normalizes the bounding box coordinates provided by the raw data. Args
dataset_tools/create_pascal_tf_record.py:59
↓ 1 callersFunctiondraw_bounding_box_on_image_array
Adds a bounding box to an image (numpy array). Bounding box coordinates can be specified in either absolute (pixel) or normalized coordinates by
visualization_utils.py:96
↓ 1 callersFunctiondraw_bounding_box_on_image_array
Adds a bounding box to an image (numpy array). Bounding box coordinates can be specified in either absolute (pixel) or normalized coordinates by
utils/visualization_utils.py:96
↓ 1 callersFunctiondraw_bounding_boxes_on_image
Draws bounding boxes on image. Args: image: a PIL.Image object. boxes: a 2 dimensional numpy array of [N, 4]: (ymin, xmin, ymax, xmax).
visualization_utils.py:233
↓ 1 callersFunctiondraw_bounding_boxes_on_image
Draws bounding boxes on image. Args: image: a PIL.Image object. boxes: a 2 dimensional numpy array of [N, 4]: (ymin, xmin, ymax, xmax).
utils/visualization_utils.py:233
↓ 1 callersFunctiondraw_keypoints_on_image
Draws keypoints on an image. Args: image: a PIL.Image object. keypoints: a numpy array with shape [num_keypoints, 2]. color: color to d
visualization_utils.py:480
↓ 1 callersFunctiondraw_keypoints_on_image
Draws keypoints on an image. Args: image: a PIL.Image object. keypoints: a numpy array with shape [num_keypoints, 2]. color: color to d
utils/visualization_utils.py:480
↓ 1 callersFunctiondraw_keypoints_on_image_array
Draws keypoints on an image (numpy array). Args: image: a numpy array with shape [height, width, 3]. keypoints: a numpy array with shape [n
visualization_utils.py:459
↓ 1 callersFunctiondraw_keypoints_on_image_array
Draws keypoints on an image (numpy array). Args: image: a numpy array with shape [height, width, 3]. keypoints: a numpy array with shape [n
utils/visualization_utils.py:459
↓ 1 callersMethodevaluate
Evaluates detections and returns a dictionary of metrics.
utils/object_detection_evaluation.py:94
↓ 1 callersMethodexecute_tpu
Constructs the graph, executes it on TPU and returns the result. Args: graph_fn: a callable that constructs the tensorflow graph to test. T
utils/test_case.py:29
↓ 1 callersMethodexpectedBoxesAfterThresholdingWithMissingScore
(self)
core/preprocessor_test.py:294
↓ 1 callersMethodexpectedLabelScoresAfterThresholdingWithMissingScore
(self)
core/preprocessor_test.py:291
↓ 1 callersMethodexpectedLabelsAfterThresholdingWithMissingScore
(self)
core/preprocessor_test.py:297
↓ 1 callersMethodexpectedMasksAfterLeftRightFlip
(self)
core/preprocessor_test.py:236
↓ 1 callersMethodexpectedMasksAfterRot90
(self)
core/preprocessor_test.py:256
↓ 1 callersMethodexpectedMasksAfterUpDownFlip
(self)
core/preprocessor_test.py:246
↓ 1 callersMethodexpectedMultiClassScoresAfterThresholding
(self)
core/preprocessor_test.py:275
↓ 1 callersMethodextract_features
Extracts features from preprocessed inputs. This function is responsible for extracting feature maps from preprocessed images. Args:
meta_architectures/ssd_meta_arch.py:99
↓ 1 callersFunctionfilter_annotations
Filters out annotations from the unused classes and dontcare regions. Filters out the annotations that belong to classes we do now wish to use and
dataset_tools/create_kitti_tf_record.py:208
↓ 1 callersFunctionfilter_field_value_equals
Filter to keep only boxes with field entries equal to the given value. Args: boxlist: BoxList holding N boxes. field: field name for filter
core/box_list_ops.py:628
↓ 1 callersFunctionfreeze_graph_with_def_protos
Converts all variables in a graph and checkpoint into constants.
exporter.py:38
↓ 1 callersMethodget_all_fields
Returns all fields.
core/box_list.py:78
↓ 1 callersFunctionget_arg
(key)
core/preprocessor.py:3154
↓ 1 callersFunctionget_class_name_from_filename
Gets the class name from a file. Args: file_name: The file name to get the class name from. ie. "american_pit_bull_terrier_105.j
dataset_tools/create_pet_tf_record.py:62
↓ 1 callersFunctionget_configs_from_pipeline_file
Reads config from a file containing pipeline_pb2.TrainEvalPipelineConfig. Args: pipeline_config_path: Path to pipeline_pb2.TrainEvalPipelineCon
utils/config_util.py:79
↓ 1 callersFunctionget_default_func_arg_map
Returns the default mapping from a preprocessor function to its args. Args: include_label_scores: If True, preprocessing functions will modify
core/preprocessor.py:2928
↓ 1 callersFunctionget_depth_fn
Builds a callable to compute depth (output channels) of conv filters. Args: depth_multiplier: a multiplier for the nominal depth. min_depth
models/feature_map_generators.py:32
↓ 1 callersFunctionget_evaluators
Returns the evaluator class according to eval_config, valid for categories. Args: eval_config: evaluation configurations. categories: a lis
evaluator.py:130
↓ 1 callersFunctionget_graph_rewriter_config_from_file
Parses config for graph rewriter. Args: graph_rewriter_config_file: file path to the graph rewriter config. Returns: graph_rewriter_pb2.
utils/config_util.py:121
↓ 1 callersFunctionget_inputs
Dequeues batch and constructs inputs to object detection model. Args: input_queue: BatchQueue object holding enqueued tensor_dicts. num_cla
trainer.py:91
↓ 1 callersFunctionget_learning_rate_type
Returns the learning rate type for training. Args: optimizer_config: An optimizer_pb2.Optimizer. Returns: The type of the learning rate.
utils/config_util.py:269
↓ 1 callersFunctionheight_width
Computes height and width of boxes in boxlist. Args: boxlist: BoxList holding N boxes scope: name scope. Returns: Height: A tensor w
core/box_list_ops.py:59
↓ 1 callersFunctionioa
Computes pairwise intersection-over-area between box and mask collections. Intersection-over-area (ioa) between two masks mask1 and mask2 is define
utils/np_box_mask_list_ops.py:93
↓ 1 callersFunctionioa
Computes pairwise intersection-over-area between box collections. Intersection-over-area (ioa) between two boxes box1 and box2 is defined as thei
utils/np_box_list_ops.py:78
↓ 1 callersFunctionioa
Computes pairwise intersection-over-area between box collections. intersection-over-area (IOA) between two boxes box1 and box2 is defined as thei
core/box_list_ops.py:297
↓ 1 callersFunctioniou
Computes pairwise intersection-over-union between box collections. Args: boxes1: a numpy array with shape [N, 4] holding N boxes. boxes2: a
utils/np_box_ops.py:63
↓ 1 callersFunctioniou
Computes pairwise intersection-over-union between box collections. Args: boxlist1: BoxList holding N boxes boxlist2: BoxList holding M boxe
core/box_list_ops.py:254
↓ 1 callersFunctionload_image_into_numpy_array
(image)
jupyter.py:64
↓ 1 callersMethodload_image_into_numpy_array
(self, image)
detector.py:58
↓ 1 callersFunctionmain
(parsed_args)
metrics/oid_vrd_challenge_evaluation.py:79
↓ 1 callersFunctionmain
(argv)
dataset_tools/oid_hierarchical_labels_expansion.py:144
← previousnext →401–500 of 2,187, ranked by callers