MCPcopy Create free account

hub / github.com/AIChallenger/AI_Challenger_2018 / functions

Functions1,075 in github.com/AIChallenger/AI_Challenger_2018

↓ 3 callersMethodview
(self)
Baselines/autonomous_driving_perception208_baseline/detection/bdd_data/show_labels.py:217
↓ 3 callersFunctionxception
Generator for Xception models. This function generates a family of Xception models. See the xception_*() methods for specific model instantiation
Baselines/autonomous_driving_perception208_baseline/segmentation/core/xception.py:366
↓ 2 callersMethod__cut_detail
(self, sentence)
Baselines/english_chinese_machine_translation_baseline/train/prepare_data/jieba/posseg/__init__.py:135
↓ 2 callersMethod__init__
Constructor. Args: matching_iou_threshold: IOU threshold to use for matching groundtruth boxes to detection boxes. metric_pre
Baselines/autonomous_driving_perception208_baseline/detection/utils/vrd_evaluation.py:63
↓ 2 callersFunction_convert_dataset
Converts the ADE20k dataset into into tfrecord format. Args: dataset_split: Dataset split (e.g., train, val). dataset_dir: Dir in which the
Baselines/autonomous_driving_perception208_baseline/segmentation/datasets/build_ade20k_data.py:53
↓ 2 callersFunction_copy_extra_fields
Copies the extra fields of boxlist_to_copy_from to boxlist_to_copy_to. Args: boxlist_to_copy_to: BoxList to which extra fields are copied.
Baselines/autonomous_driving_perception208_baseline/detection/utils/np_box_list_ops.py:536
↓ 2 callersMethod_create_grads_and_vars
(self)
Baselines/autonomous_driving_perception208_baseline/detection/utils/variables_helper_test.py:67
↓ 2 callersMethod_file_write
(self, path, val_list)
Evaluation/short_video_real_time_classification_eval/data/run.py:112
↓ 2 callersFunction_get_classification_loss
Returns the classification loss for a model.
Baselines/autonomous_driving_perception208_baseline/detection/utils/config_util.py:533
↓ 2 callersFunction_get_files
Gets files for the specified data type and dataset split. Args: data: String, desired data ('image' or 'label'). dataset_split: String, dat
Baselines/autonomous_driving_perception208_baseline/segmentation/datasets/build_cityscapes_data.py:106
↓ 2 callersMethod_get_ith_class_arrays
Returns numpy arrays belonging to class with index `class_index`. Args: detected_boxes: A numpy array containing detected boxes. dete
Baselines/autonomous_driving_perception208_baseline/detection/utils/per_image_evaluation.py:506
↓ 2 callersMethod_initialize_detections
(self)
Baselines/autonomous_driving_perception208_baseline/detection/utils/object_detection_evaluation.py:638
↓ 2 callersMethod_lcut_all
(self, sentence)
Baselines/english_chinese_machine_translation_baseline/train/prepare_data/jieba/__init__.py:344
↓ 2 callersFunction_lin_space_weights
(num, img_size)
Baselines/autonomous_driving_perception208_baseline/detection/utils/ops.py:921
↓ 2 callersFunction_separable_conv2d
Wrapper for separable conv2d.
Baselines/autonomous_driving_perception208_baseline/segmentation/core/xception.py:152
↓ 2 callersFunction_split_separable_conv2d
Splits separable conv2d into depthwise and pointwise conv2d.
Baselines/autonomous_driving_perception208_baseline/segmentation/core/xception.py:163
↓ 2 callersFunction_update_input_path
Updates input configuration to reflect a new input path. The input_config object is updated in place, and hence not returned. Args: input_co
Baselines/autonomous_driving_perception208_baseline/detection/utils/config_util.py:599
↓ 2 callersFunction_update_shuffle
Updates input configuration to reflect a new shuffle configuration. The input_config object is updated in place, and hence not returned. Args:
Baselines/autonomous_driving_perception208_baseline/detection/utils/config_util.py:665
↓ 2 callersFunction_validate_message_has_field
(message, field)
Baselines/autonomous_driving_perception208_baseline/detection/utils/config_util.py:441
↓ 2 callersMethod_verify_method
验证方法 :param video_list: 视频列表 :return:
Evaluation/short_video_real_time_classification_eval/data/run.py:69
↓ 2 callersMethodadd_common_detected
(self)
Baselines/autonomous_driving_perception208_baseline/detection/utils/object_detection_evaluation_test.py:473
↓ 2 callersMethodadd_single_detected_image_info
Adds detections for a single image to be used for evaluation. Args: image_id: A unique string/integer identifier for the image. detec
Baselines/autonomous_driving_perception208_baseline/detection/utils/object_detection_evaluation.py:83
↓ 2 callersMethodadd_word
Add a word to dictionary. freq and tag can be omitted, freq defaults to be a calculated value that ensures the word can be c
Baselines/english_chinese_machine_translation_baseline/train/prepare_data/jieba/__init__.py:394
↓ 2 callersFunctioncheck
检查一个样本的某个特征是否合法 :param data: 特征值的大小 :param key: 对应的特征名称 :param threshold: 字典,存放每个特征值对应的合理值区间 :return: True or False
Baselines/weather_forecasting_baseline/super_calculated_model.py:64
↓ 2 callersMethodcompute_detection_tp_fp
Evaluates VRD as being tp, fp from a single image. Args: detected_box_tuples: A numpy array of structures with shape [N,], repres
Baselines/autonomous_driving_perception208_baseline/detection/utils/per_image_vrd_evaluation.py:41
↓ 2 callersMethodcompute_object_detection_metrics
Evaluates detections as being tp, fp or weighted from a single image. The evaluation is done in two stages: 1. All detections are matched to
Baselines/autonomous_driving_perception208_baseline/detection/utils/per_image_evaluation.py:56
↓ 2 callersMethodcreate_and_add_common_ground_truth
(self)
Baselines/autonomous_driving_perception208_baseline/detection/utils/object_detection_evaluation_test.py:448
↓ 2 callersFunctiondraw_bounding_box_on_image
Adds a bounding box to an image. Bounding box coordinates can be specified in either absolute (pixel) or normalized coordinates by setting the us
Baselines/autonomous_driving_perception208_baseline/detection/utils/visualization_utils.py:131
↓ 2 callersFunctiondraw_bounding_boxes_on_image_tensors
Draws bounding boxes, masks, and keypoints on batch of image tensors. Args: images: A 4D uint8 image tensor of shape [N, H, W, C]. If C > 3, ad
Baselines/autonomous_driving_perception208_baseline/detection/utils/visualization_utils.py:310
↓ 2 callersFunctiondraw_mask_on_image_array
Draws mask on an image. Args: image: uint8 numpy array with shape (img_height, img_height, 3) mask: a uint8 numpy array of shape (img_heigh
Baselines/autonomous_driving_perception208_baseline/detection/utils/visualization_utils.py:508
↓ 2 callersFunctionevaluate_segmentation
(gt_dir, result_dir, num_classes, key_length)
Baselines/autonomous_driving_perception208_baseline/detection/bdd_data/evaluate.py:44
↓ 2 callersFunctionevaluate_segmentation
(gt_dir, result_dir, num_classes, key_length)
Baselines/autonomous_driving_perception208_baseline/segmentation/bdd_data/evaluate.py:44
↓ 2 callersFunctionevaluate_segmentation
(gt_dir, result_dir, num_classes, key_length)
Evaluation/autonomous_driving_perception2018_eval/evaluate.py:44
↓ 2 callersFunctionexpanded_shape
Inserts multiple ones into a shape vector. Inserts an all-1 vector of length num_dims at position start_dim into a shape. Can be combined with tf
Baselines/autonomous_driving_perception208_baseline/detection/utils/ops.py:30
↓ 2 callersFunctionextract_data
(data, target, features, days, stations, fortimes)
Baselines/weather_forecasting_baseline/super_calculated_model.py:77
↓ 2 callersMethodfilter_elements
Filter alls elements in the path given the lambda_fn function :param path: :param lambda_fn: :param return_relative:
Baselines/autonomous_driving_perception208_baseline/detection/convert_to_tfrecord/deepdrive_dataset/deepdrive_dataset_download.py:12
↓ 2 callersFunctionfilter_scores_greater_than
Filter to keep only boxes and masks with score exceeding a given threshold. This op keeps the collection of boxes and masks whose corresponding sco
Baselines/autonomous_driving_perception208_baseline/detection/utils/np_box_mask_list_ops.py:369
↓ 2 callersFunctionfilter_scores_greater_than
Filter to keep only boxes with score exceeding a given threshold. This op keeps the collection of boxes whose corresponding scores are greater th
Baselines/autonomous_driving_perception208_baseline/detection/utils/np_box_list_ops.py:473
↓ 2 callersFunctionfilter_variables
Filters out the variables matching the filter_regex. Filter out the variables whose name matches the any of the regular expressions in filter_reg
Baselines/autonomous_driving_perception208_baseline/detection/utils/variables_helper.py:28
↓ 2 callersFunctionfind_all_png
(folder)
Baselines/autonomous_driving_perception208_baseline/detection/bdd_data/evaluate.py:36
↓ 2 callersFunctionfind_all_png
(folder)
Baselines/autonomous_driving_perception208_baseline/segmentation/bdd_data/evaluate.py:36
↓ 2 callersFunctionfind_all_png
(folder)
Evaluation/autonomous_driving_perception2018_eval/evaluate.py:36
↓ 2 callersFunctiongen_images
(data_root, list_dir, image_type='100k')
Baselines/autonomous_driving_perception208_baseline/detection/bdd_data/gen_lists.py:23
↓ 2 callersFunctiongen_images
(data_root, list_dir, image_type='100k')
Baselines/autonomous_driving_perception208_baseline/segmentation/bdd_data/gen_lists.py:23
↓ 2 callersMethodget_idf
(self)
Baselines/english_chinese_machine_translation_baseline/train/prepare_data/jieba/analyse/tfidf.py:55
↓ 2 callersFunctionget_optimizer_type
Returns the optimizer type for training. Args: train_config: A train_pb2.TrainConfig. Returns: The type of the optimizer
Baselines/autonomous_driving_perception208_baseline/detection/utils/config_util.py:257
↓ 2 callersMethodhandle
算法处理 :param video_dir: 待处理单视频路径 :return: 返回预测分类列表 eg:[1, 3, 4]
Evaluation/short_video_real_time_classification_eval/mxnet/infer/infer.py:42
↓ 2 callersMethodimg_resize
(self, imgpath, img_size)
Baselines/plant_disease_recognition2018_baseline/plant_input.py:23
↓ 2 callersFunctionintersection
Compute pairwise intersection areas between boxes. Args: boxes1: a numpy array with shape [N, 4] holding N boxes boxes2: a numpy array with
Baselines/autonomous_driving_perception208_baseline/detection/utils/np_box_ops.py:37
↓ 2 callersFunctionintersection
Compute pairwise intersection areas between masks. Args: masks1: a numpy array with shape [N, height, width] holding N masks. Masks value
Baselines/autonomous_driving_perception208_baseline/detection/utils/np_mask_ops.py:45
↓ 2 callersFunctionis_valid_file
Ensure that the file exists.
Baselines/autonomous_driving_perception208_baseline/detection/bdd_data/show_labels.py:66
↓ 2 callersFunctionis_valid_file
Ensure that the file exists.
Baselines/autonomous_driving_perception208_baseline/segmentation/bdd_data/show_labels.py:66
↓ 2 callersFunctionload_labelmap
Loads label map proto. Args: path: path to StringIntLabelMap proto text file. Returns: a StringIntLabelMapProto
Baselines/autonomous_driving_perception208_baseline/detection/utils/label_map_util.py:123
↓ 2 callersMethodload_word_tag
(self, f)
Baselines/english_chinese_machine_translation_baseline/train/prepare_data/jieba/posseg/__init__.py:97
↓ 2 callersFunctionmap_sent_to_id
(sent)
Baselines/opinion_questions_machine_reading_comprehension2018_baseline/preprocess.py:71
↓ 2 callersFunctionmap_word_to_id
(word)
Baselines/opinion_questions_machine_reading_comprehension2018_baseline/preprocess.py:58
↓ 2 callersMethodpairfilter
(self, wp)
Baselines/english_chinese_machine_translation_baseline/train/prepare_data/jieba/analyse/textrank.py:65
↓ 2 callersFunctionper_class_iu
(hist)
Baselines/autonomous_driving_perception208_baseline/detection/bdd_data/evaluate.py:30
↓ 2 callersFunctionper_class_iu
(hist)
Baselines/autonomous_driving_perception208_baseline/segmentation/bdd_data/evaluate.py:30
↓ 2 callersFunctionper_class_iu
(hist)
Evaluation/autonomous_driving_perception2018_eval/evaluate.py:30
↓ 2 callersFunctionseg_data
(path)
Baselines/opinion_questions_machine_reading_comprehension2018_baseline/preprocess.py:12
↓ 2 callersFunctionseg_line
(line)
Baselines/opinion_questions_machine_reading_comprehension2018_baseline/preprocess.py:8
↓ 2 callersMethodset_new_path
(self, new_idf_path)
Baselines/english_chinese_machine_translation_baseline/train/prepare_data/jieba/analyse/tfidf.py:44
↓ 2 callersMethodset_stop_words
(self, stop_words_path)
Baselines/english_chinese_machine_translation_baseline/train/prepare_data/jieba/analyse/tfidf.py:23
↓ 2 callersMethodshow
(self)
Baselines/autonomous_driving_perception208_baseline/detection/bdd_data/show_labels.py:224
↓ 2 callersFunctionsort_by_field
Sort boxes and associated fields according to a scalar field. A common use case is reordering the boxes according to descending scores. Args:
Baselines/autonomous_driving_perception208_baseline/detection/utils/np_box_list_ops.py:130
↓ 2 callersFunctiontransform_data_to_id
(raw_data, word2id)
Baselines/opinion_questions_machine_reading_comprehension2018_baseline/preprocess.py:55
↓ 2 callersFunctionverify_method
(type)
Evaluation/short_video_real_time_classification_eval/data/run_20180912.py:21
↓ 1 callersFunction__cut
(sentence)
Baselines/english_chinese_machine_translation_baseline/train/prepare_data/jieba/finalseg/__init__.py:59
↓ 1 callersMethod__cut
(self, sentence)
Baselines/english_chinese_machine_translation_baseline/train/prepare_data/jieba/posseg/__init__.py:117
↓ 1 callersFunction__eval_result
(submit_dict, ref_dict)
Baselines/plant_disease_recognition2018_baseline/plant_eval.py:25
↓ 1 callersFunction__load_data
(submit_file, reference_file)
Baselines/plant_disease_recognition2018_baseline/plant_eval.py:7
↓ 1 callersMethod_compute_is_class_correctly_detected_in_image
Compute CorLoc score for a single class. Args: detected_boxes: A numpy array of shape [N, 4] representing detected box coordinate
Baselines/autonomous_driving_perception208_baseline/detection/utils/per_image_evaluation.py:187
↓ 1 callersMethod_compute_tp_fp
Labels as true/false positives detection tuples across all classes. Args: detected_box_tuples: A numpy array of structures with shape [N,],
Baselines/autonomous_driving_perception208_baseline/detection/utils/per_image_vrd_evaluation.py:83
↓ 1 callersMethod_compute_tp_fp
Labels true/false positives of detections of an image across all classes. Args: detected_boxes: A float numpy array of shape [N, 4], repres
Baselines/autonomous_driving_perception208_baseline/detection/utils/per_image_evaluation.py:231
↓ 1 callersMethod_compute_tp_fp_for_single_class
Labels boxes detected with the same class from the same image as tp/fp. Detection boxes are expected to be already sorted by score. Args:
Baselines/autonomous_driving_perception208_baseline/detection/utils/per_image_vrd_evaluation.py:186
↓ 1 callersFunction_convert_dataset
Converts the specified dataset split to TFRecord format. Args: dataset_split: The dataset split (e.g., train, val). Raises: RuntimeError
Baselines/autonomous_driving_perception208_baseline/segmentation/datasets/build_cityscapes_data.py:126
↓ 1 callersFunction_convert_dataset
Converts the specified dataset split to TFRecord format. Args: dataset_split: The dataset split (e.g., train, test). Raises: RuntimeErro
Baselines/autonomous_driving_perception208_baseline/segmentation/datasets/build_voc2012_data.py:84
↓ 1 callersFunction_convert_train_id_to_eval_id
Converts the predicted label for evaluation. There are cases where the training labels are not equal to the evaluation labels. This function is u
Baselines/autonomous_driving_perception208_baseline/segmentation/vis.py:112
↓ 1 callersMethod_create_grads_and_vars
(self)
Baselines/autonomous_driving_perception208_baseline/detection/utils/variables_helper_test.py:106
↓ 1 callersFunction_create_input_tensors
Creates and prepares input tensors for DeepLab model. This method creates a 4-D uint8 image tensor 'ImageTensor' with shape [1, None, None, 3]. T
Baselines/autonomous_driving_perception208_baseline/segmentation/export_model.py:63
↓ 1 callersFunction_crop
Crops the given image using the provided offsets and sizes. Note that the method doesn't assume we know the input image size but it does assume w
Baselines/autonomous_driving_perception208_baseline/segmentation/core/preprocess_utils.py:120
↓ 1 callersFunction_eval_result
(submit_file, reference_file)
Evaluation/zero_shot_learning_eval/zero_shot_learning_eval.py:56
↓ 1 callersFunction_eval_result
cal score :param fore_file: 超算结果 :param obs_file: 正确答案 :param anen_file: 选手提交结果 :return:
Evaluation/weather_forecasting2018_eval/weather_forecasting2018_eval.py:71
↓ 1 callersFunction_eval_result
(submit_path, ref_path)
Evaluation/fundus_lesion2018_eval/fundus_lesion2018_eval.py:146
↓ 1 callersMethod_get_boundingboxes
(self, annotations_for_picture_id)
Baselines/autonomous_driving_perception208_baseline/detection/convert_to_tfrecord/deepdrive_dataset/deepdrive_dataset_writer.py:98
↓ 1 callersFunction_get_data
Gets data from data provider. Args: data_provider: An object of slim.data_provider. dataset_split: Dataset split. Returns: image: Im
Baselines/autonomous_driving_perception208_baseline/segmentation/utils/input_generator.py:26
↓ 1 callersFunction_get_logits
Gets the logits by atrous/image spatial pyramid pooling. Args: images: A tensor of size [batch, height, width, channels]. model_options: A
Baselines/autonomous_driving_perception208_baseline/segmentation/model.py:446
↓ 1 callersMethod_get_overlaps_and_scores_box_mode
Computes overlaps and scores between detected and groudntruth boxes. Args: detected_boxes: A numpy array of shape [N, 4] representing detec
Baselines/autonomous_driving_perception208_baseline/detection/utils/per_image_evaluation.py:351
↓ 1 callersMethod_get_overlaps_and_scores_mask_mode
Computes overlaps and scores between detected and groudntruth masks. Args: detected_boxes: A numpy array of shape [N, 4] representing detec
Baselines/autonomous_driving_perception208_baseline/detection/utils/per_image_evaluation.py:306
↓ 1 callersMethod_get_overlaps_and_scores_relation_tuples
Computes overlaps and scores between detected and groundtruth tuples. Both detections and groundtruth boxes have the same class tuples. Args
Baselines/autonomous_driving_perception208_baseline/detection/utils/per_image_vrd_evaluation.py:155
↓ 1 callersMethod_get_tf_feature
(self, image_path, annotations)
Baselines/autonomous_driving_perception208_baseline/detection/convert_to_tfrecord/deepdrive_dataset/deepdrive_dataset_writer.py:167
↓ 1 callersMethod_get_tf_feature_dict
(self, image_path, annotations)
Baselines/autonomous_driving_perception208_baseline/detection/convert_to_tfrecord/deepdrive_dataset/deepdrive_dataset_writer.py:121
↓ 1 callersFunction_is_generic_key
Determines whether the key starts with a generic config dictionary key.
Baselines/autonomous_driving_perception208_baseline/detection/utils/config_util.py:281
↓ 1 callersMethod_is_valid_boxes
Check whether data fullfills the format of N*[ymin, xmin, ymax, xmin]. Args: data: a numpy array of shape [N, 4] representing box coordinat
Baselines/autonomous_driving_perception208_baseline/detection/utils/np_box_list.py:119
↓ 1 callersMethod_lcut_for_search_no_hmm
(self, sentence)
Baselines/english_chinese_machine_translation_baseline/train/prepare_data/jieba/__init__.py:347
↓ 1 callersMethod_lcut_internal
(self, sentence)
Baselines/english_chinese_machine_translation_baseline/train/prepare_data/jieba/posseg/__init__.py:242
↓ 1 callersMethod_lcut_internal_no_hmm
(self, sentence)
Baselines/english_chinese_machine_translation_baseline/train/prepare_data/jieba/posseg/__init__.py:245
↓ 1 callersMethod_lcut_no_hmm
(self, sentence)
Baselines/english_chinese_machine_translation_baseline/train/prepare_data/jieba/__init__.py:341
↓ 1 callersFunction_load_data
(submit_file, reference_file)
Evaluation/zero_shot_learning_eval/zero_shot_learning_eval.py:33
← previousnext →101–200 of 1,075, ranked by callers