MCPcopy Index your code

hub / github.com/dengdan/seglink / functions

Functions165 in github.com/dengdan/seglink

↓ 1 callersFunctionread_gt_file
(image_name)
visualize_detection_result.py:51
↓ 1 callersFunctionread_image_file
(image_name)
visualize_detection_result.py:59
↓ 1 callersFunctionreshape
(t)
nets/seglink_symbol.py:268
↓ 1 callersFunctionreshape_link_gt_by_layer
(link_gt)
tf_extended/seglink.py:322
↓ 1 callersFunctionrotate_horizontal_bbox_to_oriented
Step 4 of Figure 5 in seglink paper: Rotate the cropped horizontal bbox back to its original direction Args: center: the cen
tf_extended/seglink.py:153
↓ 1 callersFunctionrotate_oriented_bbox_to_horizontal
Step 2 of Figure 5 in seglink paper Rotate bbox horizontally along a `center` point Args: center: the center of rotation
tf_extended/seglink.py:102
↓ 1 callersFunctionsin
(theta)
tf_extended/seglink.py:715
↓ 1 callersFunctionsum_gradients
(clone_grads)
train_seglink.py:157
↓ 1 callersFunctiontan
(theta)
tf_extended/seglink.py:719
↓ 1 callersFunctiontf_image_unwhitened
Re-convert to original image distribution, and convert to int if necessary. Returns: Centered image.
preprocessing/ssd_vgg_preprocessing.py:65
↓ 1 callersFunctionto_list
()
tf_extended/seglink.py:595
↓ 1 callersFunctiontrain
(train_op)
train_seglink.py:240
↓ 1 callersFunctionvisualize
(image_root, det_root, output_root, gt_root = None)
visualize_detection_result.py:50
↓ 1 callersFunctionwrite_result_as_txt
(image_name, bboxes, path)
test_seglink.py:125
MethodOHNM_batch
(neg_conf, pos_mask, neg_mask)
nets/seglink_symbol.py:184
MethodOHNM_single_image
Online Hard Negative Mining. scores: the scores of being predicted as negative cls n_pos: the number of positive sampl
nets/seglink_symbol.py:159
Method__init__
(self)
caffe_to_tensorflow.py:10
Method__init__
(self, inputs, weight_decay = None, basenet_type = 'vgg', data_format = 'NHWC',
nets/seglink_symbol.py:8
Method__init__
(self, file_pattern, split_sizes)
datasets/dataset_factory.py:5
Method__init__
(self, mat_path, root_path)
datasets/synthtext_to_tfrecords.py:15
Method_initializer
(shape, dtype, partition_info=None)
caffe_to_tensorflow.py:24
Functionbasenet
backbone net of vgg16
nets/vgg.py:6
Functionbboxes_filter_overlap
Filter out bounding boxes based on (relative )overlap with reference box [0, 0, 1, 1]. Remove completely bounding boxes, or assign negative l
tf_extended/bboxes.py:68
Functionbboxes_matching
Matching a collection of detected boxes with groundtruth values. Does not accept batched-inputs. The algorithm goes as follows: for every dete
tf_extended/bboxes.py:147
Functionbboxes_resize
Resize bounding boxes based on a reference bounding box, assuming that the latter is [0, 0, 1, 1] after transform. Useful for updating a colle
tf_extended/bboxes.py:21
Functiondraw_rectangle
()
visualize_detection_result.py:11
Functiondraw_text
()
visualize_detection_result.py:20
Functionfmean
Compute f-mean with precision and recall
tf_extended/metrics.py:83
Functiongenerate_anchors
nets/anchor_layer.py:3
Functionget_all_seglink_gt
(xs, ys, ignored)
tf_extended/seglink.py:495
Functionget_basenet
(name, inputs)
nets/net_factory.py:7
Functionget_dataset
Given a dataset dataset_name and a split_name returns a Dataset. Args: dataset_name: String, the dataset_name of the dataset. spli
datasets/dataset_factory.py:46
Methodget_pos_and_neg_masks
(labels)
nets/seglink_symbol.py:149
Functionget_preprocessing
Returns preprocessing_fn(image, height, width, **kwargs). Args: name: The name of the preprocessing function. is_training: `True` if
preprocessing/preprocessing_factory.py:28
Functionget_split
(split_name, dataset_dir, file_pattern, num_samples, reader=None)
datasets/dataset_utils.py:99
Methodhas_pos
()
nets/seglink_symbol.py:168
Functionimage_to_tfexample
(image_data, image_format, height, width, class_id)
datasets/dataset_utils.py:49
Functioninit_config
(image_shape, batch_size = 1, weight_decay = 0.0005, num_gpus = 1,
config.py:85
Functionis_anchor_center_in_rect
tell if the center of the anchor is in the rect represented using xs and ys and bbox_idx
tf_extended/seglink.py:20
Functionm_body
(i, ta_tp, ta_fp, gmatch, n_ignored_det)
tf_extended/bboxes.py:188
Functionm_condition
(i, ta_tp, ta_fp, gmatch, n_ignored_det)
tf_extended/bboxes.py:184
Functionmain
(_)
eval_seglink.py:263
Functionmain
(_)
train_seglink.py:265
Functionmain
(_)
test_seglink.py:149
Functionmain
(_)
test/test_preprocessing.py:60
Functionmain
(_)
test/test_batch_and_gt.py:124
Functionmatch_anchor_to_text_boxes
Match anchors to text boxes. Return: seg_labels: shape = (N,), the seg_labels of segments. each value is the index of matched box i
tf_extended/seglink.py:191
Methodno_pos
()
nets/seglink_symbol.py:179
Functionnp_bboxes_jaccard
(bbox, gxs, gys)
tf_extended/bboxes.py:241
Functionnp_image_unwhitened
Re-convert to original image distribution, and convert to int if necessary. Numpy version. Returns: Centered image.
preprocessing/ssd_vgg_preprocessing.py:79
Functionprecision_recall
Compute precision and recall from true positives and false positives booleans arrays
tf_extended/metrics.py:69
Functionpreprocess_image
Pre-process an given image. Args: image: A `Tensor` representing an image of arbitrary size. output_height: The height of the image a
preprocessing/ssd_vgg_preprocessing.py:332
Functionpreprocessing_fn
(image, labels, bboxes, xs, ys, out_shape, data_format='NHWC', **kwargs)
preprocessing/preprocessing_factory.py:45
Functionprint_config
(flags, dataset, save_dir = None, print_to_file = True)
config.py:139
Functionrandom_flip_left_right
Random flip left-right of an image and its bounding boxes.
preprocessing/tf_image.py:281
Functionresize_image
Resize an image and bounding boxes.
preprocessing/tf_image.py:266
Functionresize_image_bboxes_with_crop_or_pad
Crops and/or pads an image to a target width and height. Resizes an image to a target width and height by either centrally cropping the image
preprocessing/tf_image.py:166
Functionsafe_divide
Divides two values, returning 0 if the denominator is <= 0. Args: numerator: A real `Tensor`. denominator: A real `Tensor`, with dtype
tf_extended/math.py:25
Functionseglink_to_bbox
Args: seg_scores: the scores of segments being positive link_scores: the scores of linkage being positive seg_offsets_pre
tf_extended/seglink.py:684
Methodsmooth_l1_loss
(pred, target, weights)
nets/seglink_symbol.py:215
Functionstreaming_tp_fp_arrays
Streaming computation of True and False Positive arrays.
tf_extended/metrics.py:32
Functiontf_get_all_seglink_gt
xs, ys: tensors reprensenting ground truth bbox, both with shape=(N, 4), values in 0~1
tf_extended/seglink.py:549
Functiontf_min_area_rect
(xs, ys)
tf_extended/seglink.py:54
Functiontf_seglink_to_bbox
(seg_cls_pred, link_cls_pred, seg_offsets_pred, image_shape, seg_conf_threshold = None
tf_extended/seglink.py:663
Functionwrite_result
(image_name, image_data, bboxes, path)
test_seglink.py:67
← previous101–165 of 165, ranked by callers