MCPcopy Create free account

hub / github.com/AIChallenger/AI_Challenger_2018 / functions

Functions1,075 in github.com/AIChallenger/AI_Challenger_2018

↓ 1 callersFunction_process_batch
Evaluates one single batch qualitatively. Args: sess: TensorFlow session. original_images: One batch of original images. semantic_predi
Baselines/autonomous_driving_perception208_baseline/segmentation/vis.py:133
↓ 1 callersFunction_process_data
(path_lst, word_min_count=5, output_file_path=[])
Baselines/opinion_questions_machine_reading_comprehension2018_baseline/preprocess.py:100
↓ 1 callersMethod_process_detection_boxes
Pre-processes boxes before adding them to the VRDDetectionEvaluation. Phrase detection and Relation detection subclasses re-implement this method
Baselines/autonomous_driving_perception208_baseline/detection/utils/vrd_evaluation.py:100
↓ 1 callersMethod_process_groundtruth_boxes
Pre-processes boxes before adding them to the VRDDetectionEvaluation. Phrase detection and Relation detection subclasses re-implement this method
Baselines/autonomous_driving_perception208_baseline/detection/utils/vrd_evaluation.py:83
↓ 1 callersFunction_recover_boundingboxes
Creates a list of boxes [(ymin,xmin, ...), ...] from features.
Baselines/autonomous_driving_perception208_baseline/detection/convert_to_tfrecord/deepdrive_dataset/deepdrive_dataset_reader.py:13
↓ 1 callersFunction_remove_colormap
Removes the color map from the annotation. Args: filename: Ground truth annotation filename. Returns: Annotation without color map.
Baselines/autonomous_driving_perception208_baseline/segmentation/datasets/remove_gt_colormap.py:42
↓ 1 callersMethod_remove_invalid_boxes
Removes entries with invalid boxes. A box is invalid if either its xmax is smaller than its xmin, or its ymax is smaller than its ymin.
Baselines/autonomous_driving_perception208_baseline/detection/utils/per_image_evaluation.py:552
↓ 1 callersFunction_resize_label
(label, label_size)
Baselines/autonomous_driving_perception208_baseline/segmentation/export_model.py:135
↓ 1 callersFunction_save_annotation
Saves the annotation as png file. Args: annotation: Segmentation annotation. filename: Output filename.
Baselines/autonomous_driving_perception208_baseline/segmentation/datasets/remove_gt_colormap.py:54
↓ 1 callersFunction_separable_conv
(features, depth, kernel_size, depth_multiplier, regularize_depthwise, rate, stride, s
Baselines/autonomous_driving_perception208_baseline/segmentation/core/xception.py:251
↓ 1 callersFunction_update_batch_size
Updates `configs` to reflect the new training batch size. The configs dictionary is updated in place, and hence not returned. Args: configs:
Baselines/autonomous_driving_perception208_baseline/detection/utils/config_util.py:427
↓ 1 callersFunction_update_classification_localization_weight_ratio
Updates the classification/localization weight loss ratio. Detection models usually define a loss weight for both classification and objectness.
Baselines/autonomous_driving_perception208_baseline/detection/utils/config_util.py:501
↓ 1 callersFunction_update_eval_steps
Updates `configs` to reflect new number of eval steps per evaluation.
Baselines/autonomous_driving_perception208_baseline/detection/utils/config_util.py:594
↓ 1 callersFunction_update_focal_loss_alpha
Updates the alpha value for a sigmoid focal loss. The configs dictionary is updated in place, and hence not returned. Args: configs: Diction
Baselines/autonomous_driving_perception208_baseline/detection/utils/config_util.py:568
↓ 1 callersFunction_update_focal_loss_gamma
Updates the gamma value for a sigmoid focal loss. The configs dictionary is updated in place, and hence not returned. Args: configs: Diction
Baselines/autonomous_driving_perception208_baseline/detection/utils/config_util.py:547
↓ 1 callersFunction_update_generic
Update a pipeline configuration parameter based on a generic key/value. Args: configs: Dictionary of pipeline configuration protos. key: A
Baselines/autonomous_driving_perception208_baseline/detection/utils/config_util.py:446
↓ 1 callersMethod_update_ground_truth_statistics
Update grouth truth statitistics. 1. Difficult boxes are ignored when counting the number of ground truth instances as done in Pascal VOC dev
Baselines/autonomous_driving_perception208_baseline/detection/utils/object_detection_evaluation.py:778
↓ 1 callersMethod_update_groundtruth_statistics
Updates grouth truth statistics. Args: groundtruth_class_tuples: A numpy array of structures shape [M, 1], representing the clas
Baselines/autonomous_driving_perception208_baseline/detection/utils/vrd_evaluation.py:509
↓ 1 callersFunction_update_initial_learning_rate
Updates `configs` to reflect the new initial learning rate. This function updates the initial learning rate. For learning rate schedules, all oth
Baselines/autonomous_driving_perception208_baseline/detection/utils/config_util.py:373
↓ 1 callersFunction_update_label_map_path
Updates the label map path for both train and eval input readers. The configs dictionary is updated in place, and hence not returned. Args:
Baselines/autonomous_driving_perception208_baseline/detection/utils/config_util.py:622
↓ 1 callersFunction_update_mask_type
Updates the mask type for both train and eval input readers. The configs dictionary is updated in place, and hence not returned. Args: confi
Baselines/autonomous_driving_perception208_baseline/detection/utils/config_util.py:636
↓ 1 callersFunction_update_momentum_optimizer_value
Updates `configs` to reflect the new momentum value. Momentum is only supported for RMSPropOptimizer and MomentumOptimizer. For any other optimiz
Baselines/autonomous_driving_perception208_baseline/detection/utils/config_util.py:473
↓ 1 callersFunction_update_optimizer_with_constant_learning_rate
Adds a new constant learning rate.
Baselines/autonomous_driving_perception208_baseline/detection/utils/config_util_test.py:39
↓ 1 callersFunction_update_optimizer_with_cosine_decay_learning_rate
Adds a new cosine decay learning rate.
Baselines/autonomous_driving_perception208_baseline/detection/utils/config_util_test.py:62
↓ 1 callersFunction_update_optimizer_with_exponential_decay_learning_rate
Adds a new exponential decay learning rate.
Baselines/autonomous_driving_perception208_baseline/detection/utils/config_util_test.py:45
↓ 1 callersFunction_update_optimizer_with_manual_step_learning_rate
Adds a learning rate schedule.
Baselines/autonomous_driving_perception208_baseline/detection/utils/config_util_test.py:52
↓ 1 callersFunction_update_retain_original_images
Updates eval config with option to retain original images. The eval_config object is updated in place, and hence not returned. Args: eval_co
Baselines/autonomous_driving_perception208_baseline/detection/utils/config_util.py:677
↓ 1 callersFunction_update_train_steps
Updates `configs` to reflect new number of training steps.
Baselines/autonomous_driving_perception208_baseline/detection/utils/config_util.py:589
↓ 1 callersFunction_update_use_moving_averages
Updates the eval config option to use or not use moving averages. The configs dictionary is updated in place, and hence not returned. Args:
Baselines/autonomous_driving_perception208_baseline/detection/utils/config_util.py:651
↓ 1 callersFunction_validate_label_map
Checks if a label map is valid. Args: label_map: StringIntLabelMap to validate. Raises: ValueError: if label map is invalid.
Baselines/autonomous_driving_perception208_baseline/detection/utils/label_map_util.py:25
↓ 1 callersFunctionacc_counter
准确率统计 :return: 准确率
Evaluation/short_video_real_time_classification_eval/data/run_20180912.py:71
↓ 1 callersMethodacc_counter
准确率统计 :return: 准确率
Evaluation/short_video_real_time_classification_eval/data/run.py:48
↓ 1 callersMethodaddEdge
(self, start, end, weight)
Baselines/english_chinese_machine_translation_baseline/train/prepare_data/jieba/analyse/textrank.py:19
↓ 1 callersFunctionadd_count
(lst)
Baselines/opinion_questions_machine_reading_comprehension2018_baseline/preprocess.py:28
↓ 1 callersFunctionarea
Computes area of boxes. Args: boxlist: BoxList holding N boxes Returns: a numpy array with shape [N*1] representing box areas
Baselines/autonomous_driving_perception208_baseline/detection/utils/np_box_list_ops.py:39
↓ 1 callersFunctionattrstr2list
(s)
Baselines/zero_shot_learning_baseline/MDP.py:42
↓ 1 callersFunctionbias
(a, b)
Evaluation/weather_forecasting2018_eval/weather_forecasting2018_eval.py:37
↓ 1 callersFunctionbit_get
Gets the bit value. Args: val: Input value, int or numpy int array. idx: Which bit of the input val. Returns: The "idx"-th bit of in
Baselines/autonomous_driving_perception208_baseline/segmentation/utils/get_dataset_colormap.py:345
↓ 1 callersMethodbox2rect
generate individual bounding box from label
Baselines/autonomous_driving_perception208_baseline/detection/bdd_data/show_labels.py:438
↓ 1 callersMethodbox2rect
generate individual bounding box from label
Baselines/autonomous_driving_perception208_baseline/segmentation/bdd_data/show_labels.py:438
↓ 1 callersFunctionbuild_word2id
(wordCount, threshold=10)
Baselines/opinion_questions_machine_reading_comprehension2018_baseline/preprocess.py:40
↓ 1 callersFunctionbuild_word_count
(data)
Baselines/opinion_questions_machine_reading_comprehension2018_baseline/preprocess.py:25
↓ 1 callersFunctioncat_pc
Implementation refers to https://github.com/rbgirshick/py-faster-rcnn
Baselines/autonomous_driving_perception208_baseline/detection/bdd_data/evaluate.py:105
↓ 1 callersFunctioncat_pc
Implementation refers to https://github.com/rbgirshick/py-faster-rcnn
Baselines/autonomous_driving_perception208_baseline/segmentation/bdd_data/evaluate.py:105
↓ 1 callersFunctioncat_pc
Implementation refers to https://github.com/rbgirshick/py-faster-rcnn
Evaluation/autonomous_driving_perception2018_eval/evaluate.py:105
↓ 1 callersFunctionchange_dir
(label_dir, det_path)
Baselines/autonomous_driving_perception208_baseline/detection/bdd_data/label2det.py:36
↓ 1 callersFunctionchange_dir
(label_dir, det_path)
Baselines/autonomous_driving_perception208_baseline/segmentation/bdd_data/label2det.py:36
↓ 1 callersFunctioncheck
(args)
Evaluation/english_chinese_machine_translation2018_eval/tools/mt-score-main.py:16
↓ 1 callersMethodclear_detections
Clears detections.
Baselines/autonomous_driving_perception208_baseline/detection/utils/vrd_evaluation.py:437
↓ 1 callersFunctionclip_tensor
Clips the input tensor along the first dimension up to the length. Args: t: the input tensor, assuming the rank is at least 1. length: a te
Baselines/autonomous_driving_perception208_baseline/detection/utils/shape_utils.py:77
↓ 1 callersFunctionconcatenate
Concatenate list of BoxLists. This op concatenates a list of input BoxLists into a larger BoxList. It also handles concatenation of BoxList fiel
Baselines/autonomous_driving_perception208_baseline/detection/utils/np_box_list_ops.py:424
↓ 1 callersFunctionconvert_label_map_to_categories
Loads label map proto and returns categories list compatible with eval. This function loads a label map and returns a list of dicts, each of which
Baselines/autonomous_driving_perception208_baseline/detection/utils/label_map_util.py:73
↓ 1 callersFunctioncreate_ade20k_label_colormap
Creates a label colormap used in ADE20K segmentation benchmark. Returns: A colormap for visualizing segmentation results.
Baselines/autonomous_driving_perception208_baseline/segmentation/utils/get_dataset_colormap.py:46
↓ 1 callersFunctioncreate_category_index
Creates dictionary of COCO compatible categories keyed by category id. Args: categories: a list of dicts, each of which has the following keys:
Baselines/autonomous_driving_perception208_baseline/detection/utils/label_map_util.py:42
↓ 1 callersFunctioncreate_cityscapes_label_colormap
Creates a label colormap used in CITYSCAPES segmentation benchmark. Returns: A colormap for visualizing segmentation results.
Baselines/autonomous_driving_perception208_baseline/segmentation/utils/get_dataset_colormap.py:207
↓ 1 callersFunctioncreate_configs_from_pipeline_proto
Creates a configs dictionary from pipeline_pb2.TrainEvalPipelineConfig. Args: pipeline_config: pipeline_pb2.TrainEvalPipelineConfig proto objec
Baselines/autonomous_driving_perception208_baseline/detection/utils/config_util.py:98
↓ 1 callersFunctioncreate_label_colormap
Creates a label colormap for the specified dataset. Args: dataset: The colormap used in the dataset. Returns: A numpy array of the datas
Baselines/autonomous_driving_perception208_baseline/segmentation/utils/get_dataset_colormap.py:358
↓ 1 callersFunctioncreate_mapillary_vistas_label_colormap
Creates a label colormap used in Mapillary Vistas segmentation benchmark. Returns: A colormap for visualizing segmentation results.
Baselines/autonomous_driving_perception208_baseline/segmentation/utils/get_dataset_colormap.py:236
↓ 1 callersFunctioncreate_pascal_label_colormap
Creates a label colormap used in PASCAL VOC segmentation benchmark. Returns: A colormap for visualizing segmentation results.
Baselines/autonomous_driving_perception208_baseline/segmentation/utils/get_dataset_colormap.py:312
↓ 1 callersMethodcreate_test_image_with_five_channels
(self)
Baselines/autonomous_driving_perception208_baseline/detection/utils/visualization_utils_test.py:51
↓ 1 callersFunctioncut
Global `cut` function that supports parallel processing. Note that this only works using dt, custom POSTokenizer instances are not suppo
Baselines/english_chinese_machine_translation_baseline/train/prepare_data/jieba/posseg/__init__.py:272
↓ 1 callersMethodcut_for_search
Finer segmentation for search engines.
Baselines/english_chinese_machine_translation_baseline/train/prepare_data/jieba/__init__.py:314
↓ 1 callersFunctioncutfunc
(sentence, _, HMM=True)
Baselines/english_chinese_machine_translation_baseline/train/prepare_data/jieba/__main__.py:34
↓ 1 callersMethoddecode_image
Decodes the image data string. Args: image_data: string of image data. Returns: Decoded image data. Raises: ValueErro
Baselines/autonomous_driving_perception208_baseline/segmentation/datasets/build_data.py:85
↓ 1 callersFunctiondraw_bounding_box_on_image_array
Adds a bounding box to an image (numpy array). Bounding box coordinates can be specified in either absolute (pixel) or normalized coordinates by
Baselines/autonomous_driving_perception208_baseline/detection/utils/visualization_utils.py:96
↓ 1 callersFunctiondraw_bounding_boxes_on_image
Draws bounding boxes on image. Args: image: a PIL.Image object. boxes: a 2 dimensional numpy array of [N, 4]: (ymin, xmin, ymax, xmax).
Baselines/autonomous_driving_perception208_baseline/detection/utils/visualization_utils.py:233
↓ 1 callersMethoddraw_drivable
(self, objects)
Baselines/autonomous_driving_perception208_baseline/detection/bdd_data/show_labels.py:373
↓ 1 callersMethoddraw_drivable
(self, objects)
Baselines/autonomous_driving_perception208_baseline/segmentation/bdd_data/show_labels.py:373
↓ 1 callersFunctiondraw_keypoints_on_image
Draws keypoints on an image. Args: image: a PIL.Image object. keypoints: a numpy array with shape [num_keypoints, 2]. color: color to d
Baselines/autonomous_driving_perception208_baseline/detection/utils/visualization_utils.py:480
↓ 1 callersFunctiondraw_keypoints_on_image_array
Draws keypoints on an image (numpy array). Args: image: a numpy array with shape [height, width, 3]. keypoints: a numpy array with shape [n
Baselines/autonomous_driving_perception208_baseline/detection/utils/visualization_utils.py:459
↓ 1 callersMethoddraw_lanes
(self, objects)
Baselines/autonomous_driving_perception208_baseline/detection/bdd_data/show_labels.py:393
↓ 1 callersMethoddraw_lanes
(self, objects)
Baselines/autonomous_driving_perception208_baseline/segmentation/bdd_data/show_labels.py:393
↓ 1 callersMethoddraw_segments
(self, objects)
Baselines/autonomous_driving_perception208_baseline/detection/bdd_data/show_labels.py:416
↓ 1 callersMethoddraw_segments
(self, objects)
Baselines/autonomous_driving_perception208_baseline/segmentation/bdd_data/show_labels.py:416
↓ 1 callersFunctiondrivable2color
(seg)
Baselines/autonomous_driving_perception208_baseline/detection/bdd_data/show_labels.py:137
↓ 1 callersFunctiondrivable2color
(seg)
Baselines/autonomous_driving_perception208_baseline/segmentation/bdd_data/show_labels.py:137
↓ 1 callersFunctioneval_result
(submit_path, ref_path)
Evaluation/autonomous_driving_perception2018_eval/autonomous_driving_perception2018_eval.py:90
↓ 1 callersFunctionevaluate
(submit_file, reference_file)
Evaluation/plant_disease_recognition2018_eval/plant_disease_recognition2018_eval.py:33
↓ 1 callersFunctionevaluate
(prediction_file, dataset_file)
Evaluation/oqmrc2018_eval/oqmrc2018_eval.py:34
↓ 1 callersMethodevaluate
Evaluates detections and returns a dictionary of metrics.
Baselines/autonomous_driving_perception208_baseline/detection/utils/object_detection_evaluation.py:94
↓ 1 callersFunctionevaluate_detection
(gt_path, result_path)
Baselines/autonomous_driving_perception208_baseline/detection/bdd_data/evaluate.py:177
↓ 1 callersFunctionevaluate_detection
(gt_path, result_path)
Baselines/autonomous_driving_perception208_baseline/segmentation/bdd_data/evaluate.py:177
↓ 1 callersFunctionevaluate_detection
(gt_path, result_path)
Evaluation/autonomous_driving_perception2018_eval/evaluate.py:179
↓ 1 callersFunctionevaluate_drivable
(gt_dir, result_dir)
Baselines/autonomous_driving_perception208_baseline/detection/bdd_data/evaluate.py:75
↓ 1 callersFunctionevaluate_drivable
(gt_dir, result_dir)
Baselines/autonomous_driving_perception208_baseline/segmentation/bdd_data/evaluate.py:75
↓ 1 callersFunctionevaluate_drivable
(gt_dir, result_dir)
Evaluation/autonomous_driving_perception2018_eval/evaluate.py:75
↓ 1 callersMethodexecute_cpu
Constructs the graph, executes it on CPU and returns the result. Args: graph_fn: a callable that constructs the tensorflow graph to test. T
Baselines/autonomous_driving_perception208_baseline/detection/utils/test_case.py:56
↓ 1 callersMethodexecute_tpu
Constructs the graph, executes it on TPU and returns the result. Args: graph_fn: a callable that constructs the tensorflow graph to test. T
Baselines/autonomous_driving_perception208_baseline/detection/utils/test_case.py:29
↓ 1 callersFunctionextract_features
Extracts features by the particular model_variant. Args: images: A tensor of size [batch, height, width, channels]. model_options: A ModelO
Baselines/autonomous_driving_perception208_baseline/segmentation/model.py:321
↓ 1 callersFunctionextract_text
(line)
Baselines/english_chinese_machine_translation_baseline/train/prepare_data/unwrap_xml.py:6
↓ 1 callersFunctionfast_hist
(gt, prediction, n)
Baselines/autonomous_driving_perception208_baseline/detection/bdd_data/evaluate.py:24
↓ 1 callersFunctionfast_hist
(gt, prediction, n)
Baselines/autonomous_driving_perception208_baseline/segmentation/bdd_data/evaluate.py:24
↓ 1 callersFunctionfast_hist
(gt, prediction, n)
Evaluation/autonomous_driving_perception2018_eval/evaluate.py:24
↓ 1 callersMethodfeature_dict_description
Get the feature dict. In the default case it is filled with all the keys and the items set to None. If the type=reading_shape the sha
Baselines/autonomous_driving_perception208_baseline/detection/convert_to_tfrecord/deepdrive_dataset/deepdrive_dataset_writer.py:44
↓ 1 callersMethodfilter_files
(path, return_relative=True, regex=None)
Baselines/autonomous_driving_perception208_baseline/detection/convert_to_tfrecord/deepdrive_dataset/deepdrive_dataset_download.py:48
↓ 1 callersMethodfilter_folders
Filters all elements in the path :param path: :param return_relative: :param regex: :return:
Baselines/autonomous_driving_perception208_baseline/detection/convert_to_tfrecord/deepdrive_dataset/deepdrive_dataset_download.py:36
↓ 1 callersFunctionfixed_padding
Pads the input along the spatial dimensions independently of input size. Args: inputs: A tensor of size [batch, height_in, width_in, channels].
Baselines/autonomous_driving_perception208_baseline/segmentation/core/xception.py:70
↓ 1 callersFunctiongen_drivable
(data_root)
Baselines/autonomous_driving_perception208_baseline/detection/bdd_data/gen_lists.py:29
↓ 1 callersFunctiongen_drivable
(data_root)
Baselines/autonomous_driving_perception208_baseline/segmentation/bdd_data/gen_lists.py:29
↓ 1 callersMethodgen_pfdict
(self, f)
Baselines/english_chinese_machine_translation_baseline/train/prepare_data/jieba/__init__.py:70
← previousnext →201–300 of 1,075, ranked by callers