MCPcopy Create free account

hub / github.com/ahmetozlu/tensorflow_object_counting_api / functions

Functions517 in github.com/ahmetozlu/tensorflow_object_counting_api

↓ 1 callersMethodget_trainable_layers
Returns a list of layers that have weights.
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:2664
↓ 1 callersMethodget_trainable_layers
Returns a list of layers that have weights.
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:2664
↓ 1 callersFunctionkNearestNeighbors
(training_feature_vector, testInstance, k)
utils/color_recognition_module/knn_classifier.py:22
↓ 1 callersMethodkalman_filter
(self, z)
utils/object_tracking_module/tracking_layer.py:59
↓ 1 callersFunctionloadDataset
(filename, filename2, training_feature_vector=[] , test_feature_vector=[])
utils/color_recognition_module/knn_classifier.py:47
↓ 1 callersMethodload_image
Load the specified image and return a [H,W,3] Numpy array.
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/utils.py:364
↓ 1 callersMethodload_image
Load the specified image and return a [H,W,3] Numpy array.
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/utils.py:364
↓ 1 callersFunctionload_image_gt
Load and return ground truth data for an image (image, mask, bounding boxes). augment: If true, apply random image augmentation. Currently, only
mask_rcnn_counting_api/model.py:1168
↓ 1 callersMethodload_mask
Load instance masks for the given image. Different datasets use different ways to store masks. Override this method to load instance
mask_rcnn_counting_api/utils.py:365
↓ 1 callersMethodload_mask
Load instance masks for the given image. Different datasets use different ways to store masks. Override this method to load instance
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/utils.py:377
↓ 1 callersMethodload_mask
Load instance masks for the given image. Different datasets use different ways to store masks. Override this method to load instance
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/utils.py:377
↓ 1 callersFunctionlog2_graph
Implementatin of Log2. TF doesn't have a native implemenation.
mask_rcnn_counting_api/model.py:318
↓ 1 callersFunctionlog2_graph
Implementation of Log2. TF doesn't have a native implementation.
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:339
↓ 1 callersFunctionlog2_graph
Implementation of Log2. TF doesn't have a native implementation.
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:339
↓ 1 callersFunctionmain
()
smurf_counter_training/xml_to_csv.py:28
↓ 1 callersMethodmake_parallel
Creates a new wrapper model that consists of multiple replicas of the original model placed on different GPUs.
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/parallel_model.py:54
↓ 1 callersMethodmake_parallel
Creates a new wrapper model that consists of multiple replicas of the original model placed on different GPUs.
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/parallel_model.py:54
↓ 1 callersMethodmap_source_class_id
Takes a source class ID and returns the int class ID assigned to it. For example: dataset.map_source_class_id("coco.12") -> 23
mask_rcnn_counting_api/utils.py:319
↓ 1 callersFunctionmrcnn_bbox_loss_graph
Loss for Mask R-CNN bounding box refinement. target_bbox: [batch, num_rois, (dy, dx, log(dh), log(dw))] target_class_ids: [batch, num_rois].
mask_rcnn_counting_api/model.py:1092
↓ 1 callersFunctionmrcnn_bbox_loss_graph
Loss for Mask R-CNN bounding box refinement. target_bbox: [batch, num_rois, (dy, dx, log(dh), log(dw))] target_class_ids: [batch, num_rois].
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:1119
↓ 1 callersFunctionmrcnn_bbox_loss_graph
Loss for Mask R-CNN bounding box refinement. target_bbox: [batch, num_rois, (dy, dx, log(dh), log(dw))] target_class_ids: [batch, num_rois].
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:1119
↓ 1 callersFunctionmrcnn_class_loss_graph
Loss for the classifier head of Mask RCNN. target_class_ids: [batch, num_rois]. Integer class IDs. Uses zero padding to fill in the array
mask_rcnn_counting_api/model.py:1059
↓ 1 callersFunctionmrcnn_class_loss_graph
Loss for the classifier head of Mask RCNN. target_class_ids: [batch, num_rois]. Integer class IDs. Uses zero padding to fill in the array
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:1083
↓ 1 callersFunctionmrcnn_class_loss_graph
Loss for the classifier head of Mask RCNN. target_class_ids: [batch, num_rois]. Integer class IDs. Uses zero padding to fill in the array
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:1083
↓ 1 callersFunctionmrcnn_mask_loss_graph
Mask binary cross-entropy loss for the masks head. target_masks: [batch, num_rois, height, width]. A float32 tensor of values 0 or 1. Use
mask_rcnn_counting_api/model.py:1124
↓ 1 callersFunctionmrcnn_mask_loss_graph
Mask binary cross-entropy loss for the masks head. target_masks: [batch, num_rois, height, width]. A float32 tensor of values 0 or 1. Use
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:1150
↓ 1 callersFunctionmrcnn_mask_loss_graph
Mask binary cross-entropy loss for the masks head. target_masks: [batch, num_rois, height, width]. A float32 tensor of values 0 or 1. Use
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:1150
↓ 1 callersMethodpostprocess
Convert predicted output tensors to final detections. Unused. Args: prediction_dict: a dictionary holding prediction tensors. true_im
smurf_counter_training/legacy/trainer_test.py:103
↓ 1 callersFunctionrefine_detections_graph
Refine classified proposals and filter overlaps and return final detections. Inputs: rois: [N, (y1, x1, y2, x2)] in normalized coordi
mask_rcnn_counting_api/model.py:670
↓ 1 callersFunctionrefine_detections_graph
Refine classified proposals and filter overlaps and return final detections. Inputs: rois: [N, (y1, x1, y2, x2)] in normalized coordi
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:687
↓ 1 callersFunctionrefine_detections_graph
Refine classified proposals and filter overlaps and return final detections. Inputs: rois: [N, (y1, x1, y2, x2)] in normalized coordi
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:687
↓ 1 callersFunctionresnet_graph
(input_image, architecture, stage5=False)
mask_rcnn_counting_api/model.py:148
↓ 1 callersFunctionresnet_graph
Build a ResNet graph. architecture: Can be resnet50 or resnet101 stage5: Boolean. If False, stage5 of the network is not created
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:171
↓ 1 callersFunctionresnet_graph
Build a ResNet graph. architecture: Can be resnet50 or resnet101 stage5: Boolean. If False, stage5 of the network is not created
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:171
↓ 1 callersFunctionresponseOfNeighbors
(neighbors)
utils/color_recognition_module/knn_classifier.py:35
↓ 1 callersMethodrestore_map
Returns a map of variables to load from a foreign checkpoint. Args: fine_tune_checkpoint_type: whether to restore from a full detection
smurf_counter_training/legacy/trainer_test.py:174
↓ 1 callersFunctionrpn_bbox_loss_graph
Return the RPN bounding box loss graph. config: the model config object. target_bbox: [batch, max positive anchors, (dy, dx, log(dh), log(dw)
mask_rcnn_counting_api/model.py:1026
↓ 1 callersFunctionrpn_bbox_loss_graph
Return the RPN bounding box loss graph. config: the model config object. target_bbox: [batch, max positive anchors, (dy, dx, log(dh), log(dw)
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:1050
↓ 1 callersFunctionrpn_bbox_loss_graph
Return the RPN bounding box loss graph. config: the model config object. target_bbox: [batch, max positive anchors, (dy, dx, log(dh), log(dw)
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:1050
↓ 1 callersFunctionrpn_class_loss_graph
RPN anchor classifier loss. rpn_match: [batch, anchors, 1]. Anchor match type. 1=positive, -1=negative, 0=neutral anchor. rpn_
mask_rcnn_counting_api/model.py:1001
↓ 1 callersFunctionrpn_class_loss_graph
RPN anchor classifier loss. rpn_match: [batch, anchors, 1]. Anchor match type. 1=positive, -1=negative, 0=neutral anchor. rpn_
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:1025
↓ 1 callersFunctionrpn_class_loss_graph
RPN anchor classifier loss. rpn_match: [batch, anchors, 1]. Anchor match type. 1=positive, -1=negative, 0=neutral anchor. rpn_
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:1025
↓ 1 callersFunctionrpn_graph
Builds the computation graph of Region Proposal Network. feature_map: backbone features [batch, height, width, depth] anchors_per_location: n
mask_rcnn_counting_api/model.py:812
↓ 1 callersFunctionrpn_graph
Builds the computation graph of Region Proposal Network. feature_map: backbone features [batch, height, width, depth] anchors_per_location: n
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:833
↓ 1 callersFunctionrpn_graph
Builds the computation graph of Region Proposal Network. feature_map: backbone features [batch, height, width, depth] anchors_per_location: n
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:833
↓ 1 callersMethodset_trainable
Sets model layers as trainable if their names match the given regular expression.
mask_rcnn_counting_api/model.py:2095
↓ 1 callersMethodset_trainable
Sets model layers as trainable if their names match the given regular expression.
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:2209
↓ 1 callersMethodset_trainable
Sets model layers as trainable if their names match the given regular expression.
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:2209
↓ 1 callersFunctionsmooth_l1_loss
Implements Smooth-L1 loss. y_true and y_pred are typicallly: [N, 4], but could be any shape.
mask_rcnn_counting_api/model.py:991
↓ 1 callersFunctionsmooth_l1_loss
Implements Smooth-L1 loss. y_true and y_pred are typically: [N, 4], but could be any shape.
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:1015
↓ 1 callersFunctionsmooth_l1_loss
Implements Smooth-L1 loss. y_true and y_pred are typically: [N, 4], but could be any shape.
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:1015
↓ 1 callersFunctionsplit
(df, group)
smurf_counter_training/generate_tfrecord.py:44
↓ 1 callersFunctionsplit
(df, group)
smurf_counter_training/images/test/generate_tfrecord.py:38
↓ 1 callersFunctionsplit
(df, group)
smurf_counter_training/images/train/generate_tfrecord.py:38
↓ 1 callersMethodsummary
Override summary() to display summaries of both, the wrapper and inner models.
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/parallel_model.py:48
↓ 1 callersMethodsummary
Override summary() to display summaries of both, the wrapper and inner models.
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/parallel_model.py:48
↓ 1 callersFunctiontrain
Train the model.
mask_rcnn_counting_api/spaghetti_counter_training/custom.py:158
↓ 1 callersFunctiontrain
Train the model.
mask_rcnn_counting_api/spaghetti_counter_training/training/custom.py:158
↓ 1 callersMethodtrain
Train the model. train_dataset, val_dataset: Training and validation Dataset objects. learning_rate: The learning rate to train with
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:2287
↓ 1 callersMethodtrain
Train the model. train_dataset, val_dataset: Training and validation Dataset objects. learning_rate: The learning rate to train with
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:2287
↓ 1 callersMethodunmold_detections
Reformats the detections of one image from the format of the neural network output to a format suitable for use in the rest of the app
mask_rcnn_counting_api/model.py:2280
↓ 1 callersFunctionxml_to_csv
(path)
smurf_counter_training/xml_to_csv.py:7
Method__getattribute__
Redirect loading and saving methods to the inner model. That's where the weights are stored.
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/parallel_model.py:41
Method__getattribute__
Redirect loading and saving methods to the inner model. That's where the weights are stored.
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/parallel_model.py:41
Method__init__
(self)
detection_layer.py:19
Method__init__
(self)
utils/object_tracking_module/tracking_utils.py:11
Method__init__
(self)
utils/object_tracking_module/tracking_layer.py:12
Method__init__
Set values of computed attributes.
mask_rcnn_counting_api/config.py:147
Method__init__
(self, class_map=None)
mask_rcnn_counting_api/utils.py:247
Method__init__
anchors: [N, (y1, x1, y2, x2)] anchors defined in image coordinates
mask_rcnn_counting_api/model.py:241
Method__init__
(self, pool_shape, image_shape, **kwargs)
mask_rcnn_counting_api/model.py:343
Method__init__
(self, config, **kwargs)
mask_rcnn_counting_api/model.py:621
Method__init__
(self, config=None, **kwargs)
mask_rcnn_counting_api/model.py:783
Method__init__
Set values of computed attributes.
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/config.py:206
Method__init__
Class constructor. keras_model: The Keras model to parallelize gpu_count: Number of GPUs. Must be > 1
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/parallel_model.py:30
Method__init__
(self, class_map=None)
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/utils.py:253
Method__init__
(self, proposal_count, nms_threshold, config=None, **kwargs)
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:270
Method__init__
(self, pool_shape, **kwargs)
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:364
Method__init__
(self, config, **kwargs)
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:650
Method__init__
(self, config=None, **kwargs)
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:794
Method__init__
Set values of computed attributes.
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/config.py:206
Method__init__
Class constructor. keras_model: The Keras model to parallelize gpu_count: Number of GPUs. Must be > 1
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/parallel_model.py:30
Method__init__
(self, class_map=None)
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/utils.py:253
Method__init__
(self, proposal_count, nms_threshold, config=None, **kwargs)
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:270
Method__init__
(self, pool_shape, **kwargs)
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:364
Method__init__
(self, config, **kwargs)
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:650
Method__init__
(self, config=None, **kwargs)
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:794
Method__init__
(self)
smurf_counter_training/legacy/trainer_test.py:55
Function_create_losses
Creates loss function for a DetectionModel. Args: input_queue: BatchQueue object holding enqueued tensor_dicts. create_model_fn: A function
smurf_counter_training/legacy/trainer.py:166
Function_display_instances
boxes: [num_instance, (y1, x1, y2, x2, class_id)] in image coordinates. masks: [height, width, num_instances] class_ids: [num_instances]
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/temp.py:1
Function_display_instances
boxes: [num_instance, (y1, x1, y2, x2, class_id)] in image coordinates. masks: [height, width, num_instances] class_ids: [num_instances]
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/temp.py:1
Function_process_batch
Evaluates tensors in tensor_dict, losses_dict and visualizes examples. This function calls sess.run on tensor_dict, evaluating the original_image
smurf_counter_training/legacy/evaluator.py:208
Function_restore_latest_checkpoint
(sess)
smurf_counter_training/legacy/evaluator.py:272
Function_visualize_boxes
(image, boxes, classes, scores, category_index, **kwargs)
utils/visualization_utils.py:83
Function_visualize_boxes_and_keypoints
(image, boxes, classes, scores, keypoints, category_index, **kwargs)
utils/visualization_utils.py:100
Function_visualize_boxes_and_masks
(image, boxes, classes, scores, masks, category_index, **kwargs)
utils/visualization_utils.py:88
Function_visualize_boxes_and_masks_and_keypoints
( image, boxes, classes, scores, masks, keypoints, category_index, **kwargs)
utils/visualization_utils.py:112
Functionadd_cdf_image_summary
Adds a tf.summary.image for a CDF plot of the values. Normalizes `values` such that they sum to 1, plots the cumulative distribution function and
utils/visualization_utils.py:1288
Methodancestor
Finds the ancestor of a TF tensor in the computation graph. tensor: TensorFlow symbolic tensor. name: Name of ancestor tensor to find
mask_rcnn_counting_api/model.py:2383
Methodancestor
Finds the ancestor of a TF tensor in the computation graph. tensor: TensorFlow symbolic tensor. name: Name of ancestor tensor to find
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:2627
← previousnext →201–300 of 517, ranked by callers