↓ 2 callersFunctioncxcy_to_xy Convert bounding boxes from center-size coordinates (c_x, c_y, w, h) to boundary coordinates (x_min, y_min, x_max, y_max). :param cxcy: boun
code/chapter03_object_detection_introduction/tiny_detector_demo/utils.py:274
↓ 2 callersFunctiongreedy_decode(model, src, src_mask, max_len, start_symbol, end_symbol)
code/chapter06_transformer/6.2_recognition_by_transformer/ocr_by_transformer.py:257
↓ 2 callersFunctiongreedy_decode(model, src, src_mask, max_len, start_symbol, end_symbol)
code/chapter06_transformer/6.2_recognition_by_transformer(online_dataset)/ocr_by_transformer.py:244
↓ 2 callersFunctionresize Resize image. For the SSD300, resize to (300, 300). For our demo, resize to (224, 224). Since percent/fractional coordinates are cal
code/chapter03_object_detection_introduction/tiny_detector_demo/utils.py:510
↓ 1 callersMethod__init__(self, in_planes, n1x1, n3x3red, n3x3, n5x5red, n5x5, pool_planes)
code/chapter02_image_classification_introduction/2.2_introduction_of_image_classification/classical_cnn_models/GoogLeNet/GoogLeNet.py:17
↓ 1 callersFunctionbatch_norm(is_training, X, gamma, beta, moving_mean, moving_var, eps, momentum)
code/chapter02_image_classification_introduction/2.2_introduction_of_image_classification/classical_cnn_models/BN/BatchNormalization.py:11
↓ 1 callersFunctionphotometric_distort Distort brightness, contrast, saturation, and hue, each with a 50% chance, in random order. :param image: image, a PIL Image :return: di
code/chapter03_object_detection_introduction/tiny_detector_demo/utils.py:537