Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TianzhongSong/Tensorflow-quantization-test
/ types & classes
Types & classes
47 in github.com/TianzhongSong/Tensorflow-quantization-test
⨍
Functions
210
◇
Types & classes
47
↓ 4 callers
Class
CropPad
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 callers
Class
PatchCoordinateGenerator
Generates random patch coordinates that meet specified requirements.
utils/object_detection_2d_patch_sampling_ops.py:20
↓ 3 callers
Class
Resize
Resizes images to a specified height and width in pixels.
utils/object_detection_2d_geometric_ops.py:23
↓ 2 callers
Class
BoxFilter
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 callers
Class
ConvertTo3Channels
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 callers
Class
DataGenerator
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 callers
Class
RandomPadFixedAR
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 callers
Class
RandomPatch
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 callers
Class
SSD300
eval_object_detection.py:22
↓ 2 callers
Class
SSD512
eval_object_detection.py:65
↓ 1 callers
Class
Brightness
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 callers
Class
ChannelSwap
Swaps the channels of images.
utils/object_detection_2d_photometric_ops.py:422
↓ 1 callers
Class
Contrast
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 callers
Class
DataGenerator
pkl_reader.py:7
↓ 1 callers
Class
DatasetError
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 callers
Class
DegenerateBatchError
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 callers
Class
DegenerateBoxError
An exception class to be raised if degenerate boxes are being detected.
utils/ssd_input_encoder.py:600
↓ 1 callers
Class
Evaluator
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 callers
Class
Flip
Flips images horizontally or vertically.
utils/object_detection_2d_geometric_ops.py:146
↓ 1 callers
Class
Gamma
Changes the gamma value of RGB images. Important: Expects RGB input.
utils/object_detection_2d_photometric_ops.py:328
↓ 1 callers
Class
HistogramEqualization
Performs histogram equalization on HSV images. Importat: Expects HSV input.
utils/object_detection_2d_photometric_ops.py:383
↓ 1 callers
Class
Hue
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 callers
Class
Rotate
Rotates images counter-clockwise by 90, 180, or 270 degrees.
utils/object_detection_2d_geometric_ops.py:655
↓ 1 callers
Class
Saturation
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 callers
Class
Scale
Scales images, i.e. zooms in or out.
utils/object_detection_2d_geometric_ops.py:445
↓ 1 callers
Class
Translate
Translates images horizontally and/or vertically.
utils/object_detection_2d_geometric_ops.py:229
Class
BoundGenerator
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
Class
ConvertColor
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
Class
ConvertDataType
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
Class
Crop
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
Class
ImageValidator
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
Class
Pad
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
Class
RandomBrightness
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
Class
RandomChannelSwap
Randomly swaps the channels of RGB images. Important: Expects RGB input.
utils/object_detection_2d_photometric_ops.py:441
Class
RandomContrast
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
Class
RandomFlip
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
Class
RandomGamma
Randomly changes the gamma value of RGB images. Important: Expects RGB input.
utils/object_detection_2d_photometric_ops.py:352
Class
RandomHistogramEqualization
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
Class
RandomHue
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
Class
RandomMaxCropFixedAR
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
Class
RandomPatchInf
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
Class
RandomRotate
Randomly rotates images counter-clockwise.
utils/object_detection_2d_geometric_ops.py:735
Class
RandomSaturation
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
Class
RandomScale
Randomly scales images.
utils/object_detection_2d_geometric_ops.py:530
Class
RandomTranslate
Randomly translates images horizontally and/or vertically.
utils/object_detection_2d_geometric_ops.py:315
Class
ResizeRandomInterp
Resizes images to a specified height and width in pixels using a radnomly selected interpolation mode.
utils/object_detection_2d_geometric_ops.py:98
Class
SSDInputEncoder
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