MCPcopy Create free account

hub / github.com/AIChallenger/AI_Challenger_2018 / functions

Functions1,075 in github.com/AIChallenger/AI_Challenger_2018

Methodinitialize
(self, dictionary=None)
Baselines/english_chinese_machine_translation_baseline/train/prepare_data/jieba/posseg/__init__.py:93
Functioninstance2color
(instance)
Baselines/autonomous_driving_perception208_baseline/detection/bdd_data/show_labels.py:109
Functioninstance2color
(instance)
Baselines/autonomous_driving_perception208_baseline/segmentation/bdd_data/show_labels.py:109
Functionint64_feature
(value)
Baselines/autonomous_driving_perception208_baseline/detection/utils/dataset_util.py:21
Functionint64_list_feature
(value)
Baselines/autonomous_driving_perception208_baseline/detection/utils/dataset_util.py:25
Functionintersection
Compute pairwise intersection areas between masks. Args: box_mask_list1: BoxMaskList holding N boxes and masks box_mask_list2: BoxMaskList
Baselines/autonomous_driving_perception208_baseline/detection/utils/np_box_mask_list_ops.py:65
Functionintersection
Compute pairwise intersection areas between boxes. Args: boxlist1: BoxList holding N boxes boxlist2: BoxList holding M boxes Returns:
Baselines/autonomous_driving_perception208_baseline/detection/utils/np_box_list_ops.py:52
Functionioa
Computes pairwise intersection-over-area between box collections. Intersection-over-area (ioa) between two boxes box1 and box2 is defined as thei
Baselines/autonomous_driving_perception208_baseline/detection/utils/np_box_ops.py:81
Functionioa
Computes pairwise intersection-over-area between box collections. Intersection-over-area (ioa) between two masks, mask1 and mask2 is defined as t
Baselines/autonomous_driving_perception208_baseline/detection/utils/np_mask_ops.py:96
Functioniou
Computes pairwise intersection-over-union between box and mask collections. Args: box_mask_list1: BoxMaskList holding N boxes and masks box
Baselines/autonomous_driving_perception208_baseline/detection/utils/np_box_mask_list_ops.py:79
Functioniou
Computes pairwise intersection-over-union between box collections. Args: boxes1: a numpy array with shape [N, 4] holding N boxes. boxes2: a
Baselines/autonomous_driving_perception208_baseline/detection/utils/np_box_ops.py:63
Functioniou
Computes pairwise intersection-over-union between box collections. Args: boxlist1: BoxList holding N boxes boxlist2: BoxList holding M boxe
Baselines/autonomous_driving_perception208_baseline/detection/utils/np_box_list_ops.py:65
Functioniou
Computes pairwise intersection-over-union between mask collections. Args: masks1: a numpy array with shape [N, height, width] holding N masks.
Baselines/autonomous_driving_perception208_baseline/detection/utils/np_mask_ops.py:71
Functionlabel_to_color_image
Adds color defined by the dataset colormap to the label. Args: label: A 2D array with integer type, storing the segmentation label. dataset
Baselines/autonomous_driving_perception208_baseline/segmentation/utils/get_dataset_colormap.py:382
Functionlcut
(sentence, HMM=True)
Baselines/english_chinese_machine_translation_baseline/train/prepare_data/jieba/posseg/__init__.py:294
Methodlcut
(self, *args, **kwargs)
Baselines/english_chinese_machine_translation_baseline/train/prepare_data/jieba/posseg/__init__.py:252
Functionload_categories_from_csv_file
Loads categories from a csv file. The CSV file should have one comma delimited numeric category id and string category name pair per line. For ex
Baselines/autonomous_driving_perception208_baseline/detection/utils/category_util.py:22
Functionmain
(_)
Baselines/autonomous_driving_perception208_baseline/detection/train.py:88
Functionmain
(_)
Baselines/autonomous_driving_perception208_baseline/detection/export_inference_graph.py:131
Functionmain
(unused_argv)
Baselines/autonomous_driving_perception208_baseline/segmentation/train.py:230
Functionmain
(unused_argv)
Baselines/autonomous_driving_perception208_baseline/segmentation/vis.py:188
Functionmain
(unused_argv)
Baselines/autonomous_driving_perception208_baseline/segmentation/export_model.py:102
Functionmain
(unused_argv)
Baselines/autonomous_driving_perception208_baseline/segmentation/datasets/remove_gt_colormap.py:66
Functionmain
(unused_argv)
Baselines/autonomous_driving_perception208_baseline/segmentation/datasets/build_ade20k_data.py:110
Functionmain
(unused_argv)
Baselines/autonomous_driving_perception208_baseline/segmentation/datasets/build_cityscapes_data.py:176
Functionmain
(unused_argv)
Baselines/autonomous_driving_perception208_baseline/segmentation/datasets/build_voc2012_data.py:134
Functionmanual_stepping
Manually stepped learning rate schedule. This function provides fine grained control over learning rates. One must specify a sequence of learnin
Baselines/autonomous_driving_perception208_baseline/detection/utils/learning_schedules.py:120
Functionmatmul_crop_and_resize
Matrix multiplication based implementation of the crop and resize op. Extracts crops from the input image tensor and bilinearly resizes them (pos
Baselines/autonomous_driving_perception208_baseline/detection/utils/ops.py:838
Functionmatmul_gather_on_zeroth_axis
Matrix multiplication based implementation of tf.gather on zeroth axis. TODO(rathodv, jonathanhuang): enable sparse matmul option. Args: par
Baselines/autonomous_driving_perception208_baseline/detection/utils/ops.py:812
Functionmax_pool_2x2
(x)
Baselines/plant_disease_recognition2018_baseline/network.py:18
Functionmean_pixel
Gets mean pixel value. This function returns different mean pixel value, depending on the input model_variant which adopts different preprocessin
Baselines/autonomous_driving_perception208_baseline/segmentation/core/feature_extractor.py:175
Functionmerge_boxes_with_multiple_labels
Merges boxes with same coordinates and returns K-hot encoded classes. Args: boxes: A tf.float32 tensor with shape [N, 4] holding N boxes. c
Baselines/autonomous_driving_perception208_baseline/detection/utils/ops.py:740
Functionmerge_external_params_with_configs
Updates `configs` dictionary based on supplied parameters. This utility is for modifying specific fields in the object detection configs. Say tha
Baselines/autonomous_driving_perception208_baseline/detection/utils/config_util.py:294
Functionmerge_numpy_boxes
Python function to merge numpy boxes.
Baselines/autonomous_driving_perception208_baseline/detection/utils/ops.py:757
Functionmeshgrid
Tiles the contents of x and y into a pair of grids. Multidimensional analog of numpy.meshgrid, giving the same behavior if x and y are vectors. G
Baselines/autonomous_driving_perception208_baseline/detection/utils/ops.py:80
Functionmkdir_p
(path)
Baselines/autonomous_driving_perception208_baseline/detection/convert_to_tfrecord/deepdrive_dataset/utils.py:6
Functionmulti_class_non_max_suppression
Multi-class version of non maximum suppression. This op greedily selects a subset of detection bounding boxes, pruning away boxes that have high
Baselines/autonomous_driving_perception208_baseline/detection/utils/np_box_mask_list_ops.py:238
Functionmulti_class_non_max_suppression
Multi-class version of non maximum suppression. This op greedily selects a subset of detection bounding boxes, pruning away boxes that have high
Baselines/autonomous_driving_perception208_baseline/detection/utils/np_box_list_ops.py:235
Functionmultiply_gradients_matching_regex
Multiply gradients whose variable names match a regular expression. Args: grads_and_vars: A list of gradient to variable pairs (tuples). re
Baselines/autonomous_driving_perception208_baseline/detection/utils/variables_helper.py:57
Functionnearest_neighbor_upsampling
Nearest neighbor upsampling implementation. Nearest neighbor upsampling function that maps input tensor with shape [batch_size, height, width, ch
Baselines/autonomous_driving_perception208_baseline/detection/utils/ops.py:786
Functionnetwork_fn
(inputs, *args, **kwargs)
Baselines/autonomous_driving_perception208_baseline/segmentation/core/feature_extractor.py:327
Methodnext_image
(self, event)
Baselines/autonomous_driving_perception208_baseline/detection/bdd_data/show_labels.py:337
Methodnext_image
(self, event)
Baselines/autonomous_driving_perception208_baseline/segmentation/bdd_data/show_labels.py:337
Functionnormalize_to_target
L2 normalizes the inputs across the specified dimension to a target norm. This op implements the L2 Normalization layer introduced in Liu, Wei, e
Baselines/autonomous_driving_perception208_baseline/detection/utils/ops.py:464
Functionnormalized_to_image_coordinates
Converts a batch of boxes from normal to image coordinates. Args: normalized_boxes: a float32 tensor of shape [None, num_boxes, 4] in nor
Baselines/autonomous_driving_perception208_baseline/detection/utils/ops.py:52
Methodnum_anchors_per_location
(self)
Baselines/autonomous_driving_perception208_baseline/detection/utils/test_utils.py:71
Functionone_hot_and_pad
()
Baselines/autonomous_driving_perception208_baseline/detection/utils/ops.py:238
Functionpad_or_clip_tensor
Pad or clip the input tensor along the first dimension. Args: t: the input tensor, assuming the rank is at least 1. length: a tensor of sha
Baselines/autonomous_driving_perception208_baseline/detection/utils/shape_utils.py:96
Functionpad_to_bounding_box
Pads the given image with the given pad_value. Works like tf.image.pad_to_bounding_box, except it can pad the image with any given arbitrary pad
Baselines/autonomous_driving_perception208_baseline/segmentation/core/preprocess_utils.py:62
Functionpad_to_multiple
Returns the tensor zero padded to the specified multiple. Appends 0s to the end of the first and second dimension (height and width) of the tenso
Baselines/autonomous_driving_perception208_baseline/detection/utils/ops.py:141
Functionpadded_one_hot_encoding
Returns a zero padded one-hot tensor. This function converts a sparse representation of indices (e.g., [4]) to a zero padded one-hot representati
Baselines/autonomous_driving_perception208_baseline/detection/utils/ops.py:203
Functionposition_sensitive_crop_regions
Position-sensitive crop and pool rectangular regions from a feature grid. The output crops are split into `spatial_bins_y` vertical bins and `spa
Baselines/autonomous_driving_perception208_baseline/detection/utils/ops.py:541
Methodpredict
模型预测 :param file_dir: 预测文件路径 :return:
Evaluation/short_video_real_time_classification_eval/mxnet/infer/infer.py:34
Functionpredict_labels
Predicts segmentation labels. Args: images: A tensor of size [batch, height, width, channels]. model_options: A ModelOptions instance to co
Baselines/autonomous_driving_perception208_baseline/segmentation/model.py:157
Functionpredict_labels_multi_scale
Predicts segmentation labels. Args: images: A tensor of size [batch, height, width, channels]. model_options: A ModelOptions instance to co
Baselines/autonomous_driving_perception208_baseline/segmentation/model.py:89
Functionpreprocess_image_and_label
Preprocesses the image and label. Args: image: Input image. label: Ground truth annotation label. crop_height: The height value used to
Baselines/autonomous_driving_perception208_baseline/segmentation/input_preprocess.py:27
Functionprocess_data
(data_path, threshold)
Baselines/opinion_questions_machine_reading_comprehension2018_baseline/preprocess.py:90
Functionprune_non_overlapping_boxes
Prunes the boxes in boxlist1 that overlap less than thresh with boxlist2. For each box in boxlist1, we want its IOA to be more than minoverlap with
Baselines/autonomous_driving_perception208_baseline/detection/utils/np_box_list_ops.py:368
Functionprune_non_overlapping_masks
Prunes the boxes in list1 that overlap less than thresh with list2. For each mask in box_mask_list1, we want its IOA to be more than minoverlap w
Baselines/autonomous_driving_perception208_baseline/detection/utils/np_box_mask_list_ops.py:316
Functionprune_outside_window
Prunes bounding boxes that fall outside a given window. This function prunes bounding boxes that even partially fall outside the given window. Se
Baselines/autonomous_driving_perception208_baseline/detection/utils/np_box_list_ops.py:391
Functionrandom_crop
Crops the given list of images. The function applies the same crop to each image in the list. This can be effectively applied when there are mult
Baselines/autonomous_driving_perception208_baseline/segmentation/core/preprocess_utils.py:170
Functionrandomly_scale_image_and_label
Randomly scales image and label. Args: image: Image with shape [height, width, 3]. label: Label with shape [height, width, 1]. scale: T
Baselines/autonomous_driving_perception208_baseline/segmentation/core/preprocess_utils.py:285
Functionread_examples_list
Read list of training or validation examples. The file is assumed to contain a single example per line where the first token in the line is an id
Baselines/autonomous_driving_perception208_baseline/detection/utils/dataset_util.py:41
Functionrecursive_parse_xml_to_dict
Recursively parses XML contents to python dict. We assume that `object` tags are the only ones that can appear multiple times at the same level o
Baselines/autonomous_driving_perception208_baseline/detection/utils/dataset_util.py:63
Functionreduce_sum_trailing_dimensions
Computes sum across all dimensions following first `ndims` dimensions.
Baselines/autonomous_driving_perception208_baseline/detection/utils/ops.py:310
Functionreframe_box_masks_to_image_masks
Transforms the box masks back to full image masks. Embeds masks in bounding boxes of larger masks whose shapes correspond to image shape. Args
Baselines/autonomous_driving_perception208_baseline/detection/utils/ops.py:691
Functionreframe_box_masks_to_image_masks_default
The default function when there are more than 0 box masks.
Baselines/autonomous_driving_perception208_baseline/detection/utils/ops.py:713
Functionreplace_nan_groundtruth_label_scores_with_ones
Replaces nan label scores with 1.0. Args: label_scores: a tensor containing object annoation label scores. Returns: a tensor where NaN l
Baselines/autonomous_driving_perception208_baseline/detection/utils/ops.py:400
Functionresize_to_range
Resizes image or label so their sides are within the provided range. The output size can be described by two cases: 1. If the image can be rescal
Baselines/autonomous_driving_perception208_baseline/segmentation/core/preprocess_utils.py:346
Functionresnet_v1_101
Resnet v1 101. Args: inputs: A tensor of size [batch, height_in, width_in, channels]. num_classes: Number of predicted classes for classifi
Baselines/autonomous_driving_perception208_baseline/segmentation/core/resnet_v1_beta.py:377
Functionresnet_v1_101_beta
Resnet v1 101 beta variant. This variant modifies the first convolution layer of ResNet-v1-101. In particular, it changes the original one 7x7 co
Baselines/autonomous_driving_perception208_baseline/segmentation/core/resnet_v1_beta.py:446
Functionresnet_v1_50
Resnet v1 50. Args: inputs: A tensor of size [batch, height_in, width_in, channels]. num_classes: Number of predicted classes for classific
Baselines/autonomous_driving_perception208_baseline/segmentation/core/resnet_v1_beta.py:234
Functionresnet_v1_50_beta
Resnet v1 50 beta variant. This variant modifies the first convolution layer of ResNet-v1-50. In particular, it changes the original one 7x7 conv
Baselines/autonomous_driving_perception208_baseline/segmentation/core/resnet_v1_beta.py:303
Functionretain_groundtruth_with_positive_classes
Retains only groundtruth with positive class ids. Args: tensor_dict: a dictionary of following groundtruth tensors - fields.InputDataFiel
Baselines/autonomous_driving_perception208_baseline/detection/utils/ops.py:372
Functionroot_block_fn_for_beta_variant
Gets root_block_fn for beta variant. ResNet-v1 beta variant modifies the first original 7x7 convolution to three 3x3 convolutions. Args: n
Baselines/autonomous_driving_perception208_baseline/segmentation/core/resnet_v1_beta.py:97
Functionsave_annotation
Saves the given label to image on disk. Args: label: The numpy array to be saved. The data will be converted to uint8 and saved as png im
Baselines/autonomous_driving_perception208_baseline/segmentation/utils/save_annotation.py:28
Functionsave_categories_to_csv_file
Saves categories to a csv file. Args: categories: A list of dictionaries representing categories to save to file. Each category
Baselines/autonomous_driving_perception208_baseline/detection/utils/category_util.py:60
Functionsave_image_array_as_png
Saves an image (represented as a numpy array) to PNG. Args: image: a numpy array with shape [height, width, 3]. output_path: path to which
Baselines/autonomous_driving_perception208_baseline/detection/utils/visualization_utils.py:67
Functionsave_pipeline_config
Saves a pipeline config text file to disk. Args: pipeline_config: A pipeline_pb2.TrainEvalPipelineConfig. directory: The model directory in
Baselines/autonomous_driving_perception208_baseline/detection/utils/config_util.py:159
Functionscope_wrapper
Decorator that scopes a function with its name. Useful for the graph visualization of Tensorboard. :param func: :param args:
Baselines/autonomous_driving_perception208_baseline/detection/convert_to_tfrecord/deepdrive_dataset/scope_wrapper.py:4
Functionscoped_func
(*args, **kwargs)
Baselines/autonomous_driving_perception208_baseline/detection/convert_to_tfrecord/deepdrive_dataset/scope_wrapper.py:14
Methodscore
(self, x, y)
Baselines/sentiment_analysis2018_baseline/model.py:32
FunctionsetLogLevel
(log_level)
Baselines/english_chinese_machine_translation_baseline/train/prepare_data/jieba/__init__.py:48
MethodsetUp
(self)
Baselines/autonomous_driving_perception208_baseline/detection/utils/per_image_vrd_evaluation_test.py:24
MethodsetUp
(self)
Baselines/autonomous_driving_perception208_baseline/detection/utils/per_image_vrd_evaluation_test.py:55
MethodsetUp
(self)
Baselines/autonomous_driving_perception208_baseline/detection/utils/np_box_list_test.py:71
MethodsetUp
(self)
Baselines/autonomous_driving_perception208_baseline/detection/utils/np_box_mask_list_test.py:107
MethodsetUp
(self)
Baselines/autonomous_driving_perception208_baseline/detection/utils/np_box_ops_test.py:26
MethodsetUp
(self)
Baselines/autonomous_driving_perception208_baseline/detection/utils/np_box_mask_list_ops_test.py:27
MethodsetUp
(self)
Baselines/autonomous_driving_perception208_baseline/detection/utils/np_box_mask_list_ops_test.py:98
MethodsetUp
(self)
Baselines/autonomous_driving_perception208_baseline/detection/utils/per_image_evaluation_test.py:26
MethodsetUp
(self)
Baselines/autonomous_driving_perception208_baseline/detection/utils/per_image_evaluation_test.py:127
MethodsetUp
(self)
Baselines/autonomous_driving_perception208_baseline/detection/utils/per_image_evaluation_test.py:234
MethodsetUp
(self)
Baselines/autonomous_driving_perception208_baseline/detection/utils/per_image_evaluation_test.py:350
MethodsetUp
(self)
Baselines/autonomous_driving_perception208_baseline/detection/utils/np_mask_ops_test.py:26
MethodsetUp
(self)
Baselines/autonomous_driving_perception208_baseline/detection/utils/np_box_list_ops_test.py:27
MethodsetUp
(self)
Baselines/autonomous_driving_perception208_baseline/detection/utils/np_box_list_ops_test.py:153
MethodsetUp
(self)
Baselines/autonomous_driving_perception208_baseline/detection/utils/np_box_list_ops_test.py:224
MethodsetUp
(self)
Baselines/autonomous_driving_perception208_baseline/detection/utils/np_box_list_ops_test.py:272
MethodsetUp
(self)
Baselines/autonomous_driving_perception208_baseline/detection/utils/vrd_evaluation_test.py:191
← previousnext →601–700 of 1,075, ranked by callers