MCPcopy Create free account

hub / github.com/TianzhongSong/Tensorflow-quantization-test / types & classes

Types & classes47 in github.com/TianzhongSong/Tensorflow-quantization-test

↓ 4 callersClassCropPad
Crops and/or pads an image deterministically. Depending on the given output patch size and the position (top left corner) relative to the
utils/object_detection_2d_patch_sampling_ops.py:195
↓ 4 callersClassPatchCoordinateGenerator
Generates random patch coordinates that meet specified requirements.
utils/object_detection_2d_patch_sampling_ops.py:20
↓ 3 callersClassResize
Resizes images to a specified height and width in pixels.
utils/object_detection_2d_geometric_ops.py:23
↓ 2 callersClassBoxFilter
Returns all bounding boxes that are valid with respect to a the defined criteria.
utils/object_detection_2d_image_boxes_validation_utils.py:75
↓ 2 callersClassConvertTo3Channels
Converts 1-channel and 4-channel images to 3-channel images. Does nothing to images that already have 3 channels. In the case of 4-channel im
utils/object_detection_2d_photometric_ops.py:84
↓ 2 callersClassDataGenerator
A generator to generate batches of samples and corresponding labels indefinitely. Can shuffle the dataset consistently after each complete
utils/object_detection_2d_data_generator.py:62
↓ 2 callersClassRandomPadFixedAR
Adds the minimal possible padding to an image that results in a patch of the given fixed aspect ratio that contains the entire image. Sin
utils/object_detection_2d_patch_sampling_ops.py:809
↓ 2 callersClassRandomPatch
Randomly samples a patch from an image. The randomness refers to whatever randomness may be introduced by the patch coordinate generator, the
utils/object_detection_2d_patch_sampling_ops.py:420
↓ 2 callersClassSSD300
eval_object_detection.py:22
↓ 2 callersClassSSD512
eval_object_detection.py:65
↓ 1 callersClassBrightness
Changes the brightness of RGB images. Important: - Expects RGB input. - Expects input array to be of `dtype` `float`.
utils/object_detection_2d_photometric_ops.py:217
↓ 1 callersClassChannelSwap
Swaps the channels of images.
utils/object_detection_2d_photometric_ops.py:422
↓ 1 callersClassContrast
Changes the contrast of RGB images. Important: - Expects RGB input. - Expects input array to be of `dtype` `float`.
utils/object_detection_2d_photometric_ops.py:271
↓ 1 callersClassDataGenerator
pkl_reader.py:7
↓ 1 callersClassDatasetError
An exception class to be raised if a anything is wrong with the dataset, in particular if you try to generate batches when no dataset was l
utils/object_detection_2d_data_generator.py:55
↓ 1 callersClassDegenerateBatchError
An exception class to be raised if a generated batch ends up being degenerate, e.g. if a generated batch is empty.
utils/object_detection_2d_data_generator.py:48
↓ 1 callersClassDegenerateBoxError
An exception class to be raised if degenerate boxes are being detected.
utils/ssd_input_encoder.py:600
↓ 1 callersClassEvaluator
Computes the mean average precision of the given Keras SSD model on the given dataset. Can compute the Pascal-VOC-style average precision i
utils/average_precision_evaluator.py:33
↓ 1 callersClassFlip
Flips images horizontally or vertically.
utils/object_detection_2d_geometric_ops.py:146
↓ 1 callersClassGamma
Changes the gamma value of RGB images. Important: Expects RGB input.
utils/object_detection_2d_photometric_ops.py:328
↓ 1 callersClassHistogramEqualization
Performs histogram equalization on HSV images. Importat: Expects HSV input.
utils/object_detection_2d_photometric_ops.py:383
↓ 1 callersClassHue
Changes the hue of HSV images. Important: - Expects HSV input. - Expects input array to be of `dtype` `float`.
utils/object_detection_2d_photometric_ops.py:106
↓ 1 callersClassRotate
Rotates images counter-clockwise by 90, 180, or 270 degrees.
utils/object_detection_2d_geometric_ops.py:655
↓ 1 callersClassSaturation
Changes the saturation of HSV images. Important: - Expects HSV input. - Expects input array to be of `dtype` `float`.
utils/object_detection_2d_photometric_ops.py:160
↓ 1 callersClassScale
Scales images, i.e. zooms in or out.
utils/object_detection_2d_geometric_ops.py:445
↓ 1 callersClassTranslate
Translates images horizontally and/or vertically.
utils/object_detection_2d_geometric_ops.py:229
ClassBoundGenerator
Generates pairs of floating point values that represent lower and upper bounds from a given sample space.
utils/object_detection_2d_image_boxes_validation_utils.py:24
ClassConvertColor
Converts images between RGB, HSV and grayscale color spaces. This is just a wrapper around `cv2.cvtColor()`.
utils/object_detection_2d_photometric_ops.py:19
ClassConvertDataType
Converts images represented as Numpy arrays between `uint8` and `float32`. Serves as a helper for certain photometric distortions. This is ju
utils/object_detection_2d_photometric_ops.py:58
ClassCrop
Crops off the specified numbers of pixels from the borders of images. This is just a convenience interface for `CropPad`.
utils/object_detection_2d_patch_sampling_ops.py:343
ClassImageValidator
Returns `True` if a given minimum number of bounding boxes meets given overlap requirements with an image of a given height and width.
utils/object_detection_2d_image_boxes_validation_utils.py:229
ClassPad
Pads images by the specified numbers of pixels on each side. This is just a convenience interface for `CropPad`.
utils/object_detection_2d_patch_sampling_ops.py:382
ClassRandomBrightness
Randomly changes the brightness of RGB images. Important: - Expects RGB input. - Expects input array to be of `dtype` `float`
utils/object_detection_2d_photometric_ops.py:239
ClassRandomChannelSwap
Randomly swaps the channels of RGB images. Important: Expects RGB input.
utils/object_detection_2d_photometric_ops.py:441
ClassRandomContrast
Randomly changes the contrast of RGB images. Important: - Expects RGB input. - Expects input array to be of `dtype` `float`.
utils/object_detection_2d_photometric_ops.py:295
ClassRandomFlip
Randomly flips images horizontally or vertically. The randomness only refers to whether or not the image will be flipped.
utils/object_detection_2d_geometric_ops.py:193
ClassRandomGamma
Randomly changes the gamma value of RGB images. Important: Expects RGB input.
utils/object_detection_2d_photometric_ops.py:352
ClassRandomHistogramEqualization
Randomly performs histogram equalization on HSV images. The randomness only refers to whether or not the equalization is performed. Impor
utils/object_detection_2d_photometric_ops.py:398
ClassRandomHue
Randomly changes the hue of HSV images. Important: - Expects HSV input. - Expects input array to be of `dtype` `float`.
utils/object_detection_2d_photometric_ops.py:130
ClassRandomMaxCropFixedAR
Crops the largest possible patch of a given fixed aspect ratio from an image. Since the aspect ratio of the sampled patches is constant,
utils/object_detection_2d_patch_sampling_ops.py:731
ClassRandomPatchInf
Randomly samples a patch from an image. The randomness refers to whatever randomness may be introduced by the patch coordinate generator, the
utils/object_detection_2d_patch_sampling_ops.py:580
ClassRandomRotate
Randomly rotates images counter-clockwise.
utils/object_detection_2d_geometric_ops.py:735
ClassRandomSaturation
Randomly changes the saturation of HSV images. Important: - Expects HSV input. - Expects input array to be of `dtype` `float`
utils/object_detection_2d_photometric_ops.py:184
ClassRandomScale
Randomly scales images.
utils/object_detection_2d_geometric_ops.py:530
ClassRandomTranslate
Randomly translates images horizontally and/or vertically.
utils/object_detection_2d_geometric_ops.py:315
ClassResizeRandomInterp
Resizes images to a specified height and width in pixels using a radnomly selected interpolation mode.
utils/object_detection_2d_geometric_ops.py:98
ClassSSDInputEncoder
Transforms ground truth labels for object detection in images (2D bounding box coordinates and class labels) to the format required for
utils/ssd_input_encoder.py:21