MCPcopy Create free account

hub / github.com/TianzhongSong/Tensorflow-quantization-test / functions

Functions210 in github.com/TianzhongSong/Tensorflow-quantization-test

Method__call__
(self, image, labels=None)
utils/object_detection_2d_photometric_ops.py:232
Method__call__
(self, image, labels=None)
utils/object_detection_2d_photometric_ops.py:261
Method__call__
(self, image, labels=None)
utils/object_detection_2d_photometric_ops.py:288
Method__call__
(self, image, labels=None)
utils/object_detection_2d_photometric_ops.py:318
Method__call__
(self, image, labels=None)
utils/object_detection_2d_photometric_ops.py:345
Method__call__
(self, image, labels=None)
utils/object_detection_2d_photometric_ops.py:372
Method__call__
(self, image, labels=None)
utils/object_detection_2d_photometric_ops.py:391
Method__call__
(self, image, labels=None)
utils/object_detection_2d_photometric_ops.py:413
Method__call__
(self, image, labels=None)
utils/object_detection_2d_photometric_ops.py:434
Method__call__
(self, image, labels=None)
utils/object_detection_2d_photometric_ops.py:459
Method__call__
Returns: An item of the sample space, i.e. a 2-tuple of scalars.
utils/object_detection_2d_image_boxes_validation_utils.py:67
Method__call__
Arguments: labels (array): The labels to be filtered. This is an array with shape `(m,n)`, where `m` is the numbe
utils/object_detection_2d_image_boxes_validation_utils.py:143
Method__call__
Arguments: labels (array): The labels to be tested. The box coordinates are expected to be in the image's coordin
utils/object_detection_2d_image_boxes_validation_utils.py:281
Method__call__
(self, image, labels=None, return_inverter=False)
utils/object_detection_2d_geometric_ops.py:57
Method__call__
(self, image, labels=None, return_inverter=False)
utils/object_detection_2d_geometric_ops.py:141
Method__call__
(self, image, labels=None, return_inverter=False)
utils/object_detection_2d_geometric_ops.py:167
Method__call__
(self, image, labels=None)
utils/object_detection_2d_geometric_ops.py:219
Method__call__
(self, image, labels=None)
utils/object_detection_2d_geometric_ops.py:272
Method__call__
(self, image, labels=None)
utils/object_detection_2d_geometric_ops.py:389
Method__call__
(self, image, labels=None)
utils/object_detection_2d_geometric_ops.py:483
Method__call__
(self, image, labels=None)
utils/object_detection_2d_geometric_ops.py:592
Method__call__
(self, image, labels=None)
utils/object_detection_2d_geometric_ops.py:677
Method__call__
(self, image, labels=None)
utils/object_detection_2d_geometric_ops.py:762
Method__call__
Converts ground truth bounding box data into a suitable format to train an SSD model. Arguments: ground_truth_labels (
utils/ssd_input_encoder.py:272
Method__call__
Computes the mean average precision of the given Keras SSD model on the given dataset. Optionally also returns the averages precisi
utils/average_precision_evaluator.py:88
Method__call__
Returns: A 4-tuple `(ymin, xmin, height, width)` that represents the coordinates of the generated patch.
utils/object_detection_2d_patch_sampling_ops.py:113
Method__call__
(self, image, labels=None, return_inverter=False)
utils/object_detection_2d_patch_sampling_ops.py:259
Method__call__
(self, image, labels=None, return_inverter=False)
utils/object_detection_2d_patch_sampling_ops.py:372
Method__call__
(self, image, labels=None, return_inverter=False)
utils/object_detection_2d_patch_sampling_ops.py:410
Method__call__
(self, image, labels=None, return_inverter=False)
utils/object_detection_2d_patch_sampling_ops.py:495
Method__call__
(self, image, labels=None, return_inverter=False)
utils/object_detection_2d_patch_sampling_ops.py:660
Method__call__
(self, image, labels=None, return_inverter=False)
utils/object_detection_2d_patch_sampling_ops.py:782
Method__call__
(self, image, labels=None, return_inverter=False)
utils/object_detection_2d_patch_sampling_ops.py:844
Method__init__
(self, pkl_file, model='vgg', dtype='float32')
pkl_reader.py:8
Method__init__
(self, weight_path=None, batch_szie=1, dataset='voc2007')
eval_object_detection.py:23
Method__init__
(self, weight_path=None, batch_szie=1, dataset='voc2007')
eval_object_detection.py:66
Method__init__
Initializes the data generator. You can either load a dataset directly here in the constructor, e.g. an HDF5 dataset, or you can us
utils/object_detection_2d_data_generator.py:74
Method__init__
Arguments: current (str, optional): The current color space of the images. Can be one of 'RGB' and 'HSV'.
utils/object_detection_2d_photometric_ops.py:24
Method__init__
Arguments: to (string, optional): To which datatype to convert the input images. Can be either of 'uint8' and 'fl
utils/object_detection_2d_photometric_ops.py:64
Method__init__
(self)
utils/object_detection_2d_photometric_ops.py:90
Method__init__
Arguments: delta (int): An integer in the closed interval `[-180, 180]` that determines the hue change, where a c
utils/object_detection_2d_photometric_ops.py:113
Method__init__
Arguments: max_delta (int): An integer in the closed interval `[0, 180]` that determines the maximal absolute hue
utils/object_detection_2d_photometric_ops.py:137
Method__init__
Arguments: factor (float): A float greater than zero that determines saturation change, where values less than on
utils/object_detection_2d_photometric_ops.py:167
Method__init__
Arguments: lower (float, optional): A float greater than zero, the lower bound for the random saturation change.
utils/object_detection_2d_photometric_ops.py:191
Method__init__
Arguments: delta (int): An integer, the amount to add to or subtract from the intensity of every pixel.
utils/object_detection_2d_photometric_ops.py:224
Method__init__
Arguments: lower (int, optional): An integer, the lower bound for the random brightness change. upper (int, optional)
utils/object_detection_2d_photometric_ops.py:246
Method__init__
Arguments: factor (float): A float greater than zero that determines contrast change, where values less than one
utils/object_detection_2d_photometric_ops.py:278
Method__init__
Arguments: lower (float, optional): A float greater than zero, the lower bound for the random contrast change.
utils/object_detection_2d_photometric_ops.py:302
Method__init__
Arguments: gamma (float): A float greater than zero that determines gamma change.
utils/object_detection_2d_photometric_ops.py:333
Method__init__
Arguments: lower (float, optional): A float greater than zero, the lower bound for the random gamma change.
utils/object_detection_2d_photometric_ops.py:357
Method__init__
(self)
utils/object_detection_2d_photometric_ops.py:388
Method__init__
Arguments: prob (float, optional): `(1 - prob)` determines the probability with which the original, unaltered ima
utils/object_detection_2d_photometric_ops.py:404
Method__init__
Arguments: order (tuple): A tuple of integers that defines the desired channel order of the input images after th
utils/object_detection_2d_photometric_ops.py:426
Method__init__
Arguments: prob (float, optional): `(1 - prob)` determines the probability with which the original, unaltered ima
utils/object_detection_2d_photometric_ops.py:446
Method__init__
Arguments: sample_space (list or tuple): A list, tuple, or array-like object of shape `(n, 2)` that contains `n`
utils/object_detection_2d_image_boxes_validation_utils.py:29
Method__init__
Arguments: check_overlap (bool, optional): Whether or not to enforce the overlap requirements defined by `overlap
utils/object_detection_2d_image_boxes_validation_utils.py:80
Method__init__
Arguments: overlap_criterion (str, optional): Can be either of 'center_point', 'iou', or 'area'. Determines which
utils/object_detection_2d_image_boxes_validation_utils.py:235
Method__init__
Arguments: height (int): The desired height of the output images in pixels. width (int): The desired width of the out
utils/object_detection_2d_geometric_ops.py:28
Method__init__
Arguments: height (int): The desired height of the output image in pixels. width (int): The desired width of the outp
utils/object_detection_2d_geometric_ops.py:104
Method__init__
Arguments: dim (str, optional): Can be either of 'horizontal' and 'vertical'. If 'horizontal', images will be fli
utils/object_detection_2d_geometric_ops.py:150
Method__init__
Arguments: dim (str, optional): Can be either of 'horizontal' and 'vertical'. If 'horizontal', images will be fli
utils/object_detection_2d_geometric_ops.py:198
Method__init__
Arguments: dy (float): The fraction of the image height by which to translate images along the vertical axis. Pos
utils/object_detection_2d_geometric_ops.py:234
Method__init__
Arguments: dy_minmax (list/tuple, optional): A 2-tuple `(min, max)` of non-negative floats that determines the mi
utils/object_detection_2d_geometric_ops.py:320
Method__init__
Arguments: factor (float): The fraction of the image size by which to scale images. Must be positive. clip_boxes (boo
utils/object_detection_2d_geometric_ops.py:450
Method__init__
Arguments: min_factor (float, optional): The minimum fraction of the image size by which to scale images. Must be
utils/object_detection_2d_geometric_ops.py:535
Method__init__
Arguments: angle (int): The angle in degrees by which to rotate the images counter-clockwise. Only 90, 180, and 2
utils/object_detection_2d_geometric_ops.py:660
Method__init__
Arguments: angle (list): The list of angles in degrees from which one is randomly selected to rotate the images c
utils/object_detection_2d_geometric_ops.py:740
Method__init__
Arguments: img_height (int): The height of the input images. img_width (int): The width of the input images.
utils/ssd_input_encoder.py:31
Method__init__
Arguments: model (Keras model): A Keras SSD model object. n_classes (int): The number of positive classes, e.g. 20
utils/average_precision_evaluator.py:43
Method__init__
Arguments: img_height (int): The height of the image for which the patch coordinates shall be generated. Doesn't
utils/object_detection_2d_patch_sampling_ops.py:25
Method__init__
Arguments: patch_ymin (int, optional): The vertical coordinate of the top left corner of the output patch relativ
utils/object_detection_2d_patch_sampling_ops.py:209
Method__init__
(self, crop_top, crop_bottom, crop_left, c
utils/object_detection_2d_patch_sampling_ops.py:349
Method__init__
(self, pad_top, pad_bottom, pad_left, pad_
utils/object_detection_2d_patch_sampling_ops.py:388
Method__init__
Arguments: patch_coord_generator (PatchCoordinateGenerator): A `PatchCoordinateGenerator` object to generate the
utils/object_detection_2d_patch_sampling_ops.py:435
Method__init__
Arguments: patch_coord_generator (PatchCoordinateGenerator): A `PatchCoordinateGenerator` object to generate the
utils/object_detection_2d_patch_sampling_ops.py:594
Method__init__
Arguments: patch_aspect_ratio (float): The fixed aspect ratio that all sampled patches will have. box_filter (BoxFilt
utils/object_detection_2d_patch_sampling_ops.py:739
Method__init__
Arguments: patch_aspect_ratio (float): The fixed aspect ratio that all sampled patches will have. background (list/tu
utils/object_detection_2d_patch_sampling_ops.py:817
Functioncompose
Compose arbitrarily many functions, evaluated left to right. Reference: https://mathieularose.com/function-composition-in-python/
utils/yolo_utils.py:8
Functionconvert_coordinates2
A matrix multiplication implementation of `convert_coordinates()`. Supports only conversion between the 'centroids' and 'minmax' formats.
ssd_layers/bounding_box_utils.py:83
Methodcreate_hdf5_dataset
Converts the currently loaded dataset into a HDF5 file. This HDF5 file contains all images as uncompressed arrays in a contiguous b
utils/object_detection_2d_data_generator.py:652
Functiondecode_detections_debug
This decoder performs the same processing as `decode_detections()`, but the output format for each left-over predicted box is `[box_id, cla
utils/ssd_output_decoder.py:328
Functiondecode_detections_fast
Convert model prediction output back to a format that contains only the positive box predictions (i.e. the same format that `enconde_y()` t
utils/ssd_output_decoder.py:218
Methodget_dataset
Returns: 4-tuple containing lists and/or `None` for the filenames, labels, image IDs, and evaluation-neutrality an
utils/object_detection_2d_data_generator.py:1182
Functionget_num_boxes_per_pred_layer
Returns a list of the number of boxes that each predictor layer predicts. `aspect_ratios` must be a nested list, containing a list of aspec
utils/ssd_output_decoder.py:471
Functionget_pred_layers
For a given prediction tensor decoded with `decode_detections_debug()`, returns a list with the indices of the predictor layers that made e
utils/ssd_output_decoder.py:485
Functionget_random_data
random preprocessing for real-time data augmentation
utils/yolo_utils.py:37
Functiongreedy_nms
Perform greedy non-maximum suppression on the input boxes. Greedy NMS works by selecting the box with the highest score and removing a
utils/ssd_output_decoder.py:23
Functionidentity_layer
(tensor)
models/ssd300.py:248
Functionidentity_layer
(tensor)
models/ssd512.py:243
Functioninput_channel_swap
(tensor)
models/ssd300.py:257
Functioninput_channel_swap
(tensor)
models/ssd512.py:252
Functioninput_mean_normalization
(tensor)
models/ssd300.py:251
Functioninput_mean_normalization
(tensor)
models/ssd512.py:246
Functioninput_stddev_normalization
(tensor)
models/ssd300.py:254
Functioninput_stddev_normalization
(tensor)
models/ssd512.py:249
Functionintersection_area
Computes the intersection areas of two sets of axis-aligned 2D rectangular boxes. Let `boxes1` and `boxes2` contain `m` and `n` boxes, resp
ssd_layers/bounding_box_utils.py:111
Methodinverter
(labels)
utils/object_detection_2d_geometric_ops.py:71
Methodinverter
(labels)
utils/object_detection_2d_patch_sampling_ops.py:309
Methodinverter
(labels)
utils/object_detection_2d_patch_sampling_ops.py:566
Methodinverter
(labels)
utils/object_detection_2d_patch_sampling_ops.py:717
← previousnext →101–200 of 210, ranked by callers