SYMBOL INDEX (1350 symbols across 147 files) FILE: moveo_moveit/scripts/moveo_objrec_publisher.py function subscribe_detected_object (line 42) | def subscribe_detected_object(): function publish_detected_object (line 74) | def publish_detected_object(): FILE: moveo_moveit/src/move_group_interface_coor_1.cpp function main (line 12) | int main(int argc, char **argv) FILE: moveo_moveit/src/moveit_convert.cpp function cmd_cb (line 28) | void cmd_cb(const sensor_msgs::JointState& cmd_arm) function main (line 102) | int main(int argc, char **argv) FILE: object_detector_app/object_detection/anchor_generators/grid_anchor_generator.py class GridAnchorGenerator (line 30) | class GridAnchorGenerator(anchor_generator.AnchorGenerator): method __init__ (line 33) | def __init__(self, method name_scope (line 71) | def name_scope(self): method num_anchors_per_location (line 74) | def num_anchors_per_location(self): method _generate (line 83) | def _generate(self, feature_map_shape_list): function tile_anchors (line 121) | def tile_anchors(grid_height, function _center_size_bbox_to_corners_bbox (line 183) | def _center_size_bbox_to_corners_bbox(centers, sizes): FILE: object_detector_app/object_detection/anchor_generators/grid_anchor_generator_test.py class GridAnchorGeneratorTest (line 23) | class GridAnchorGeneratorTest(tf.test.TestCase): method test_construct_single_anchor (line 25) | def test_construct_single_anchor(self): method test_construct_anchor_grid (line 46) | def test_construct_anchor_grid(self): FILE: object_detector_app/object_detection/anchor_generators/multiple_grid_anchor_generator.py class MultipleGridAnchorGenerator (line 35) | class MultipleGridAnchorGenerator(anchor_generator.AnchorGenerator): method __init__ (line 38) | def __init__(self, method name_scope (line 93) | def name_scope(self): method num_anchors_per_location (line 96) | def num_anchors_per_location(self): method _generate (line 105) | def _generate(self, function create_ssd_anchors (line 223) | def create_ssd_anchors(num_layers=6, FILE: object_detector_app/object_detection/anchor_generators/multiple_grid_anchor_generator_test.py class MultipleGridAnchorGeneratorTest (line 25) | class MultipleGridAnchorGeneratorTest(tf.test.TestCase): method test_construct_single_anchor_grid (line 27) | def test_construct_single_anchor_grid(self): method test_construct_anchor_grid (line 49) | def test_construct_anchor_grid(self): method test_construct_anchor_grid_non_square (line 71) | def test_construct_anchor_grid_non_square(self): method test_construct_anchor_grid_unnormalized (line 87) | def test_construct_anchor_grid_unnormalized(self): method test_construct_multiple_grids (line 106) | def test_construct_multiple_grids(self): method test_construct_multiple_grids_with_clipping (line 143) | def test_construct_multiple_grids_with_clipping(self): method test_invalid_box_specs (line 171) | def test_invalid_box_specs(self): method test_invalid_generate_arguments (line 183) | def test_invalid_generate_arguments(self): class CreateSSDAnchorsTest (line 220) | class CreateSSDAnchorsTest(tf.test.TestCase): method test_create_ssd_anchors_returns_correct_shape (line 222) | def test_create_ssd_anchors_returns_correct_shape(self): FILE: object_detector_app/object_detection/box_coders/faster_rcnn_box_coder.py class FasterRcnnBoxCoder (line 39) | class FasterRcnnBoxCoder(box_coder.BoxCoder): method __init__ (line 42) | def __init__(self, scale_factors=None): method code_size (line 57) | def code_size(self): method _encode (line 60) | def _encode(self, boxes, anchors): method _decode (line 92) | def _decode(self, rel_codes, anchors): FILE: object_detector_app/object_detection/box_coders/faster_rcnn_box_coder_test.py class FasterRcnnBoxCoderTest (line 24) | class FasterRcnnBoxCoderTest(tf.test.TestCase): method test_get_correct_relative_codes_after_encoding (line 26) | def test_get_correct_relative_codes_after_encoding(self): method test_get_correct_relative_codes_after_encoding_with_scaling (line 39) | def test_get_correct_relative_codes_after_encoding_with_scaling(self): method test_get_correct_boxes_after_decoding (line 54) | def test_get_correct_boxes_after_decoding(self): method test_get_correct_boxes_after_decoding_with_scaling (line 66) | def test_get_correct_boxes_after_decoding_with_scaling(self): method test_very_small_Width_nan_after_encoding (line 80) | def test_very_small_Width_nan_after_encoding(self): FILE: object_detector_app/object_detection/box_coders/keypoint_box_coder.py class KeypointBoxCoder (line 47) | class KeypointBoxCoder(box_coder.BoxCoder): method __init__ (line 50) | def __init__(self, num_keypoints, scale_factors=None): method code_size (line 74) | def code_size(self): method _encode (line 77) | def _encode(self, boxes, anchors): method _decode (line 128) | def _decode(self, rel_codes, anchors): FILE: object_detector_app/object_detection/box_coders/keypoint_box_coder_test.py class KeypointBoxCoderTest (line 25) | class KeypointBoxCoderTest(tf.test.TestCase): method test_get_correct_relative_codes_after_encoding (line 27) | def test_get_correct_relative_codes_after_encoding(self): method test_get_correct_relative_codes_after_encoding_with_scaling (line 50) | def test_get_correct_relative_codes_after_encoding_with_scaling(self): method test_get_correct_boxes_after_decoding (line 75) | def test_get_correct_boxes_after_decoding(self): method test_get_correct_boxes_after_decoding_with_scaling (line 98) | def test_get_correct_boxes_after_decoding_with_scaling(self): method test_very_small_width_nan_after_encoding (line 123) | def test_very_small_width_nan_after_encoding(self): FILE: object_detector_app/object_detection/box_coders/mean_stddev_box_coder.py class MeanStddevBoxCoder (line 25) | class MeanStddevBoxCoder(box_coder.BoxCoder): method code_size (line 29) | def code_size(self): method _encode (line 32) | def _encode(self, boxes, anchors): method _decode (line 52) | def _decode(self, rel_codes, anchors): FILE: object_detector_app/object_detection/box_coders/mean_stddev_box_coder_test.py class MeanStddevBoxCoderTest (line 24) | class MeanStddevBoxCoderTest(tf.test.TestCase): method testGetCorrectRelativeCodesAfterEncoding (line 26) | def testGetCorrectRelativeCodesAfterEncoding(self): method testGetCorrectBoxesAfterDecoding (line 41) | def testGetCorrectBoxesAfterDecoding(self): FILE: object_detector_app/object_detection/box_coders/square_box_coder.py class SquareBoxCoder (line 43) | class SquareBoxCoder(box_coder.BoxCoder): method __init__ (line 46) | def __init__(self, scale_factors=None): method code_size (line 68) | def code_size(self): method _encode (line 71) | def _encode(self, boxes, anchors): method _decode (line 101) | def _decode(self, rel_codes, anchors): FILE: object_detector_app/object_detection/box_coders/square_box_coder_test.py class SquareBoxCoderTest (line 24) | class SquareBoxCoderTest(tf.test.TestCase): method test_correct_relative_codes_with_default_scale (line 26) | def test_correct_relative_codes_with_default_scale(self): method test_correct_relative_codes_with_non_default_scale (line 41) | def test_correct_relative_codes_with_non_default_scale(self): method test_correct_relative_codes_with_small_width (line 55) | def test_correct_relative_codes_with_small_width(self): method test_correct_boxes_with_default_scale (line 68) | def test_correct_boxes_with_default_scale(self): method test_correct_boxes_with_non_default_scale (line 82) | def test_correct_boxes_with_non_default_scale(self): FILE: object_detector_app/object_detection/builders/anchor_generator_builder.py function build (line 23) | def build(anchor_generator_config): FILE: object_detector_app/object_detection/builders/anchor_generator_builder_test.py class AnchorGeneratorBuilderTest (line 27) | class AnchorGeneratorBuilderTest(tf.test.TestCase): method assert_almost_list_equal (line 29) | def assert_almost_list_equal(self, expected_list, actual_list, delta=N... method test_build_grid_anchor_generator_with_defaults (line 34) | def test_build_grid_anchor_generator_with_defaults(self): method test_build_grid_anchor_generator_with_non_default_parameters (line 56) | def test_build_grid_anchor_generator_with_non_default_parameters(self): method test_build_ssd_anchor_generator_with_defaults (line 88) | def test_build_ssd_anchor_generator_with_defaults(self): method test_build_ssd_anchor_generator_withoud_reduced_boxes (line 119) | def test_build_ssd_anchor_generator_withoud_reduced_boxes(self): method test_build_ssd_anchor_generator_with_non_default_parameters (line 153) | def test_build_ssd_anchor_generator_with_non_default_parameters(self): method test_raise_value_error_on_empty_anchor_genertor (line 184) | def test_raise_value_error_on_empty_anchor_genertor(self): FILE: object_detector_app/object_detection/builders/box_coder_builder.py function build (line 23) | def build(box_coder_config): FILE: object_detector_app/object_detection/builders/box_coder_builder_test.py class BoxCoderBuilderTest (line 28) | class BoxCoderBuilderTest(tf.test.TestCase): method test_build_faster_rcnn_box_coder_with_defaults (line 30) | def test_build_faster_rcnn_box_coder_with_defaults(self): method test_build_faster_rcnn_box_coder_with_non_default_parameters (line 42) | def test_build_faster_rcnn_box_coder_with_non_default_parameters(self): method test_build_mean_stddev_box_coder (line 58) | def test_build_mean_stddev_box_coder(self): method test_build_square_box_coder_with_defaults (line 70) | def test_build_square_box_coder_with_defaults(self): method test_build_square_box_coder_with_non_default_parameters (line 82) | def test_build_square_box_coder_with_non_default_parameters(self): method test_raise_error_on_empty_box_coder (line 97) | def test_raise_error_on_empty_box_coder(self): FILE: object_detector_app/object_detection/builders/box_predictor_builder.py function build (line 22) | def build(argscope_fn, box_predictor_config, is_training, num_classes): FILE: object_detector_app/object_detection/builders/box_predictor_builder_test.py class ConvolutionalBoxPredictorBuilderTest (line 27) | class ConvolutionalBoxPredictorBuilderTest(tf.test.TestCase): method test_box_predictor_calls_conv_argscope_fn (line 29) | def test_box_predictor_calls_conv_argscope_fn(self): method test_construct_non_default_conv_box_predictor (line 74) | def test_construct_non_default_conv_box_predictor(self): method test_construct_default_conv_box_predictor (line 120) | def test_construct_default_conv_box_predictor(self): class MaskRCNNBoxPredictorBuilderTest (line 151) | class MaskRCNNBoxPredictorBuilderTest(tf.test.TestCase): method test_box_predictor_builder_calls_fc_argscope_fn (line 153) | def test_box_predictor_builder_calls_fc_argscope_fn(self): method test_non_default_mask_rcnn_box_predictor (line 183) | def test_non_default_mask_rcnn_box_predictor(self): method test_build_default_mask_rcnn_box_predictor (line 223) | def test_build_default_mask_rcnn_box_predictor(self): method test_build_box_predictor_with_mask_branch (line 240) | def test_build_box_predictor_with_mask_branch(self): class RfcnBoxPredictorBuilderTest (line 269) | class RfcnBoxPredictorBuilderTest(tf.test.TestCase): method test_box_predictor_calls_fc_argscope_fn (line 271) | def test_box_predictor_calls_fc_argscope_fn(self): method test_non_default_rfcn_box_predictor (line 316) | def test_non_default_rfcn_box_predictor(self): method test_default_rfcn_box_predictor (line 358) | def test_default_rfcn_box_predictor(self): FILE: object_detector_app/object_detection/builders/hyperparams_builder.py function build (line 24) | def build(hyperparams_config, is_training): function _build_activation_fn (line 79) | def _build_activation_fn(activation_fn): function _build_regularizer (line 100) | def _build_regularizer(regularizer): function _build_initializer (line 120) | def _build_initializer(initializer): function _build_batch_norm_params (line 151) | def _build_batch_norm_params(batch_norm, is_training): FILE: object_detector_app/object_detection/builders/hyperparams_builder_test.py class HyperparamsBuilderTest (line 30) | class HyperparamsBuilderTest(tf.test.TestCase): method _get_scope_key (line 33) | def _get_scope_key(self, op): method test_default_arg_scope_has_conv2d_op (line 36) | def test_default_arg_scope_has_conv2d_op(self): method test_default_arg_scope_has_separable_conv2d_op (line 52) | def test_default_arg_scope_has_separable_conv2d_op(self): method test_default_arg_scope_has_conv2d_transpose_op (line 68) | def test_default_arg_scope_has_conv2d_transpose_op(self): method test_explicit_fc_op_arg_scope_has_fully_connected_op (line 84) | def test_explicit_fc_op_arg_scope_has_fully_connected_op(self): method test_separable_conv2d_and_conv2d_and_transpose_have_same_parameters (line 101) | def test_separable_conv2d_and_conv2d_and_transpose_have_same_parameter... method test_return_l1_regularized_weights (line 119) | def test_return_l1_regularized_weights(self): method test_return_l2_regularizer_weights (line 141) | def test_return_l2_regularizer_weights(self): method test_return_non_default_batch_norm_params_with_train_during_train (line 164) | def test_return_non_default_batch_norm_params_with_train_during_train(... method test_return_batch_norm_params_with_notrain_during_eval (line 194) | def test_return_batch_norm_params_with_notrain_during_eval(self): method test_return_batch_norm_params_with_notrain_when_train_is_false (line 224) | def test_return_batch_norm_params_with_notrain_when_train_is_false(self): method test_do_not_use_batch_norm_if_default (line 254) | def test_do_not_use_batch_norm_if_default(self): method test_use_none_activation (line 272) | def test_use_none_activation(self): method test_use_relu_activation (line 290) | def test_use_relu_activation(self): method test_use_relu_6_activation (line 308) | def test_use_relu_6_activation(self): method _assert_variance_in_range (line 326) | def _assert_variance_in_range(self, initializer, shape, variance, method test_variance_in_range_with_variance_scaling_initializer_fan_in (line 339) | def test_variance_in_range_with_variance_scaling_initializer_fan_in(se... method test_variance_in_range_with_variance_scaling_initializer_fan_out (line 361) | def test_variance_in_range_with_variance_scaling_initializer_fan_out(s... method test_variance_in_range_with_variance_scaling_initializer_fan_avg (line 383) | def test_variance_in_range_with_variance_scaling_initializer_fan_avg(s... method test_variance_in_range_with_variance_scaling_initializer_uniform (line 405) | def test_variance_in_range_with_variance_scaling_initializer_uniform(s... method test_variance_in_range_with_truncated_normal_initializer (line 427) | def test_variance_in_range_with_truncated_normal_initializer(self): FILE: object_detector_app/object_detection/builders/image_resizer_builder.py function build (line 23) | def build(image_resizer_config): FILE: object_detector_app/object_detection/builders/image_resizer_builder_test.py class ImageResizerBuilderTest (line 23) | class ImageResizerBuilderTest(tf.test.TestCase): method _shape_of_resized_random_image_given_text_proto (line 25) | def _shape_of_resized_random_image_given_text_proto( method test_built_keep_aspect_ratio_resizer_returns_expected_shape (line 36) | def test_built_keep_aspect_ratio_resizer_returns_expected_shape(self): method test_built_fixed_shape_resizer_returns_expected_shape (line 49) | def test_built_fixed_shape_resizer_returns_expected_shape(self): method test_raises_error_on_invalid_input (line 62) | def test_raises_error_on_invalid_input(self): FILE: object_detector_app/object_detection/builders/input_reader_builder.py function build (line 34) | def build(input_reader_config): FILE: object_detector_app/object_detection/builders/input_reader_builder_test.py class InputReaderBuilderTest (line 31) | class InputReaderBuilderTest(tf.test.TestCase): method create_tf_record (line 33) | def create_tf_record(self): method test_build_tf_record_input_reader (line 61) | def test_build_tf_record_input_reader(self): FILE: object_detector_app/object_detection/builders/losses_builder.py function build (line 22) | def build(loss_config): function build_hard_example_miner (line 55) | def build_hard_example_miner(config, function _build_localization_loss (line 94) | def _build_localization_loss(loss_config): function _build_classification_loss (line 127) | def _build_classification_loss(loss_config): FILE: object_detector_app/object_detection/builders/losses_builder_test.py class LocalizationLossBuilderTest (line 26) | class LocalizationLossBuilderTest(tf.test.TestCase): method test_build_weighted_l2_localization_loss (line 28) | def test_build_weighted_l2_localization_loss(self): method test_build_weighted_smooth_l1_localization_loss (line 45) | def test_build_weighted_smooth_l1_localization_loss(self): method test_build_weighted_iou_localization_loss (line 62) | def test_build_weighted_iou_localization_loss(self): method test_anchorwise_output (line 79) | def test_anchorwise_output(self): method test_raise_error_on_empty_localization_config (line 102) | def test_raise_error_on_empty_localization_config(self): class ClassificationLossBuilderTest (line 115) | class ClassificationLossBuilderTest(tf.test.TestCase): method test_build_weighted_sigmoid_classification_loss (line 117) | def test_build_weighted_sigmoid_classification_loss(self): method test_build_weighted_softmax_classification_loss (line 134) | def test_build_weighted_softmax_classification_loss(self): method test_build_bootstrapped_sigmoid_classification_loss (line 151) | def test_build_bootstrapped_sigmoid_classification_loss(self): method test_anchorwise_output (line 169) | def test_anchorwise_output(self): method test_raise_error_on_empty_config (line 192) | def test_raise_error_on_empty_config(self): class HardExampleMinerBuilderTest (line 205) | class HardExampleMinerBuilderTest(tf.test.TestCase): method test_do_not_build_hard_example_miner_by_default (line 207) | def test_do_not_build_hard_example_miner_by_default(self): method test_build_hard_example_miner_for_classification_loss (line 223) | def test_build_hard_example_miner_for_classification_loss(self): method test_build_hard_example_miner_for_localization_loss (line 243) | def test_build_hard_example_miner_for_localization_loss(self): method test_build_hard_example_miner_with_non_default_values (line 263) | def test_build_hard_example_miner_with_non_default_values(self): class LossBuilderTest (line 291) | class LossBuilderTest(tf.test.TestCase): method test_build_all_loss_parameters (line 293) | def test_build_all_loss_parameters(self): FILE: object_detector_app/object_detection/builders/matcher_builder.py function build (line 23) | def build(matcher_config): FILE: object_detector_app/object_detection/builders/matcher_builder_test.py class MatcherBuilderTest (line 27) | class MatcherBuilderTest(tf.test.TestCase): method test_build_arg_max_matcher_with_defaults (line 29) | def test_build_arg_max_matcher_with_defaults(self): method test_build_arg_max_matcher_without_thresholds (line 43) | def test_build_arg_max_matcher_without_thresholds(self): method test_build_arg_max_matcher_with_non_default_parameters (line 58) | def test_build_arg_max_matcher_with_non_default_parameters(self): method test_build_bipartite_matcher (line 76) | def test_build_bipartite_matcher(self): method test_raise_error_on_empty_matcher (line 87) | def test_raise_error_on_empty_matcher(self): FILE: object_detector_app/object_detection/builders/model_builder.py function build (line 55) | def build(model_config, is_training): function _build_ssd_feature_extractor (line 79) | def _build_ssd_feature_extractor(feature_extractor_config, is_training, function _build_ssd_model (line 108) | def _build_ssd_model(ssd_config, is_training): function _build_faster_rcnn_feature_extractor (line 164) | def _build_faster_rcnn_feature_extractor( function _build_faster_rcnn_model (line 193) | def _build_faster_rcnn_model(frcnn_config, is_training): FILE: object_detector_app/object_detection/builders/model_builder_test.py class ModelBuilderTest (line 41) | class ModelBuilderTest(tf.test.TestCase): method create_model (line 43) | def create_model(self, model_config): method test_create_ssd_inception_v2_model_from_config (line 55) | def test_create_ssd_inception_v2_model_from_config(self): method test_create_ssd_mobilenet_v1_model_from_config (line 126) | def test_create_ssd_mobilenet_v1_model_from_config(self): method test_create_faster_rcnn_resnet_v1_models_from_config (line 197) | def test_create_faster_rcnn_resnet_v1_models_from_config(self): method test_create_faster_rcnn_inception_resnet_v2_model_from_config (line 264) | def test_create_faster_rcnn_inception_resnet_v2_model_from_config(self): method test_create_faster_rcnn_model_from_config_with_example_miner (line 331) | def test_create_faster_rcnn_model_from_config_with_example_miner(self): method test_create_rfcn_resnet_v1_model_from_config (line 387) | def test_create_rfcn_resnet_v1_model_from_config(self): FILE: object_detector_app/object_detection/builders/optimizer_builder.py function build (line 24) | def build(optimizer_config, global_summaries): function _create_learning_rate (line 69) | def _create_learning_rate(learning_rate_config, global_summaries): FILE: object_detector_app/object_detection/builders/optimizer_builder_test.py class LearningRateBuilderTest (line 26) | class LearningRateBuilderTest(tf.test.TestCase): method testBuildConstantLearningRate (line 28) | def testBuildConstantLearningRate(self): method testBuildExponentialDecayLearningRate (line 41) | def testBuildExponentialDecayLearningRate(self): method testBuildManualStepLearningRate (line 57) | def testBuildManualStepLearningRate(self): method testRaiseErrorOnEmptyLearningRate (line 77) | def testRaiseErrorOnEmptyLearningRate(self): class OptimizerBuilderTest (line 88) | class OptimizerBuilderTest(tf.test.TestCase): method testBuildRMSPropOptimizer (line 90) | def testBuildRMSPropOptimizer(self): method testBuildMomentumOptimizer (line 112) | def testBuildMomentumOptimizer(self): method testBuildAdamOptimizer (line 130) | def testBuildAdamOptimizer(self): method testBuildMovingAverageOptimizer (line 147) | def testBuildMovingAverageOptimizer(self): method testBuildMovingAverageOptimizerWithNonDefaultDecay (line 165) | def testBuildMovingAverageOptimizerWithNonDefaultDecay(self): method testBuildEmptyOptimizer (line 186) | def testBuildEmptyOptimizer(self): FILE: object_detector_app/object_detection/builders/post_processing_builder.py function build (line 24) | def build(post_processing_config): function _build_non_max_suppressor (line 62) | def _build_non_max_suppressor(nms_config): function _build_score_converter (line 90) | def _build_score_converter(score_converter_config): FILE: object_detector_app/object_detection/builders/post_processing_builder_test.py class PostProcessingBuilderTest (line 24) | class PostProcessingBuilderTest(tf.test.TestCase): method test_build_non_max_suppressor_with_correct_parameters (line 26) | def test_build_non_max_suppressor_with_correct_parameters(self): method test_build_identity_score_converter (line 44) | def test_build_identity_score_converter(self): method test_build_sigmoid_score_converter (line 53) | def test_build_sigmoid_score_converter(self): method test_build_softmax_score_converter (line 62) | def test_build_softmax_score_converter(self): FILE: object_detector_app/object_detection/builders/preprocessor_builder.py function _get_step_config_from_proto (line 24) | def _get_step_config_from_proto(preprocessor_step_config, step_name): function _get_dict_from_proto (line 45) | def _get_dict_from_proto(config): function build (line 104) | def build(preprocessor_step_config): FILE: object_detector_app/object_detection/builders/preprocessor_builder_test.py class PreprocessorBuilderTest (line 27) | class PreprocessorBuilderTest(tf.test.TestCase): method assert_dictionary_close (line 29) | def assert_dictionary_close(self, dict1, dict2): method test_build_normalize_image (line 39) | def test_build_normalize_image(self): method test_build_random_horizontal_flip (line 59) | def test_build_random_horizontal_flip(self): method test_build_random_pixel_value_scale (line 70) | def test_build_random_pixel_value_scale(self): method test_build_random_image_scale (line 83) | def test_build_random_image_scale(self): method test_build_random_rgb_to_gray (line 97) | def test_build_random_rgb_to_gray(self): method test_build_random_adjust_brightness (line 109) | def test_build_random_adjust_brightness(self): method test_build_random_adjust_contrast (line 121) | def test_build_random_adjust_contrast(self): method test_build_random_adjust_hue (line 134) | def test_build_random_adjust_hue(self): method test_build_random_adjust_saturation (line 146) | def test_build_random_adjust_saturation(self): method test_build_random_distort_color (line 159) | def test_build_random_distort_color(self): method test_build_random_jitter_boxes (line 171) | def test_build_random_jitter_boxes(self): method test_build_random_crop_image (line 183) | def test_build_random_crop_image(self): method test_build_random_pad_image (line 207) | def test_build_random_pad_image(self): method test_build_random_crop_pad_image (line 222) | def test_build_random_crop_pad_image(self): method test_build_random_crop_to_aspect_ratio (line 249) | def test_build_random_crop_to_aspect_ratio(self): method test_build_random_black_patches (line 263) | def test_build_random_black_patches(self): method test_build_random_resize_method (line 279) | def test_build_random_resize_method(self): method test_build_scale_boxes_to_pixel_coordinates (line 292) | def test_build_scale_boxes_to_pixel_coordinates(self): method test_build_resize_image (line 302) | def test_build_resize_image(self): method test_build_subtract_channel_mean (line 318) | def test_build_subtract_channel_mean(self): method test_build_ssd_random_crop (line 330) | def test_build_ssd_random_crop(self): method test_build_ssd_random_crop_empty_operations (line 363) | def test_build_ssd_random_crop_empty_operations(self): method test_build_ssd_random_crop_pad (line 374) | def test_build_ssd_random_crop_pad(self): method test_build_ssd_random_crop_fixed_aspect_ratio (line 420) | def test_build_ssd_random_crop_fixed_aspect_ratio(self): FILE: object_detector_app/object_detection/builders/region_similarity_calculator_builder.py function build (line 22) | def build(region_similarity_calculator_config): FILE: object_detector_app/object_detection/builders/region_similarity_calculator_builder_test.py class RegionSimilarityCalculatorBuilderTest (line 26) | class RegionSimilarityCalculatorBuilderTest(tf.test.TestCase): method testBuildIoaSimilarityCalculator (line 28) | def testBuildIoaSimilarityCalculator(self): method testBuildIouSimilarityCalculator (line 40) | def testBuildIouSimilarityCalculator(self): method testBuildNegSqDistSimilarityCalculator (line 52) | def testBuildNegSqDistSimilarityCalculator(self): FILE: object_detector_app/object_detection/core/anchor_generator.py class AnchorGenerator (line 38) | class AnchorGenerator(object): method name_scope (line 43) | def name_scope(self): method check_num_anchors (line 54) | def check_num_anchors(self): method num_anchors_per_location (line 68) | def num_anchors_per_location(self): method generate (line 77) | def generate(self, feature_map_shape_list, **params): method _generate (line 110) | def _generate(self, feature_map_shape_list, **params): method _assert_correct_number_of_anchors (line 124) | def _assert_correct_number_of_anchors(self, anchors, feature_map_shape... FILE: object_detector_app/object_detection/core/balanced_positive_negative_sampler.py class BalancedPositiveNegativeSampler (line 34) | class BalancedPositiveNegativeSampler(minibatch_sampler.MinibatchSampler): method __init__ (line 37) | def __init__(self, positive_fraction=0.5): method subsample (line 51) | def subsample(self, indicator, batch_size, labels): FILE: object_detector_app/object_detection/core/balanced_positive_negative_sampler_test.py class BalancedPositiveNegativeSamplerTest (line 24) | class BalancedPositiveNegativeSamplerTest(tf.test.TestCase): method test_subsample_all_examples (line 26) | def test_subsample_all_examples(self): method test_subsample_selection (line 43) | def test_subsample_selection(self): method test_raises_error_with_incorrect_label_shape (line 65) | def test_raises_error_with_incorrect_label_shape(self): method test_raises_error_with_incorrect_indicator_shape (line 73) | def test_raises_error_with_incorrect_indicator_shape(self): FILE: object_detector_app/object_detection/core/batcher.py class BatchQueue (line 24) | class BatchQueue(object): method __init__ (line 66) | def __init__(self, tensor_dict, batch_size, batch_queue_capacity, method dequeue (line 100) | def dequeue(self): FILE: object_detector_app/object_detection/core/batcher_test.py class BatcherTest (line 26) | class BatcherTest(tf.test.TestCase): method test_batch_and_unpad_2d_tensors_of_different_sizes_in_1st_dimension (line 28) | def test_batch_and_unpad_2d_tensors_of_different_sizes_in_1st_dimensio... method test_batch_and_unpad_2d_tensors_of_different_sizes_in_all_dimensions (line 60) | def test_batch_and_unpad_2d_tensors_of_different_sizes_in_all_dimensions( method test_batch_and_unpad_2d_tensors_of_same_size_in_all_dimensions (line 93) | def test_batch_and_unpad_2d_tensors_of_same_size_in_all_dimensions(self): method test_batcher_when_batch_size_is_one (line 124) | def test_batcher_when_batch_size_is_one(self): FILE: object_detector_app/object_detection/core/box_coder.py class BoxCoder (line 43) | class BoxCoder(object): method code_size (line 48) | def code_size(self): method encode (line 61) | def encode(self, boxes, anchors): method decode (line 74) | def decode(self, rel_codes, anchors): method _encode (line 89) | def _encode(self, boxes, anchors): method _decode (line 102) | def _decode(self, rel_codes, anchors): function batch_decode (line 116) | def batch_decode(encoded_boxes, box_coder, anchors): FILE: object_detector_app/object_detection/core/box_coder_test.py class MockBoxCoder (line 24) | class MockBoxCoder(box_coder.BoxCoder): method code_size (line 27) | def code_size(self): method _encode (line 30) | def _encode(self, boxes, anchors): method _decode (line 33) | def _decode(self, rel_codes, anchors): class BoxCoderTest (line 37) | class BoxCoderTest(tf.test.TestCase): method test_batch_decode (line 39) | def test_batch_decode(self): FILE: object_detector_app/object_detection/core/box_list.py class BoxList (line 40) | class BoxList(object): method __init__ (line 43) | def __init__(self, boxes): method num_boxes (line 59) | def num_boxes(self): method num_boxes_static (line 67) | def num_boxes_static(self): method get_all_fields (line 78) | def get_all_fields(self): method get_extra_fields (line 82) | def get_extra_fields(self): method add_field (line 86) | def add_field(self, field, field_data): method has_field (line 98) | def has_field(self, field): method get (line 101) | def get(self): method set (line 109) | def set(self, boxes): method get_field (line 122) | def get_field(self, field): method set_field (line 142) | def set_field(self, field, value): method get_center_coordinates_and_sizes (line 158) | def get_center_coordinates_and_sizes(self, scope=None): method transpose_coordinates (line 176) | def transpose_coordinates(self, scope=None): method as_tensor_dict (line 187) | def as_tensor_dict(self, fields=None): FILE: object_detector_app/object_detection/core/box_list_ops.py class SortOrder (line 32) | class SortOrder(object): function area (line 43) | def area(boxlist, scope=None): function height_width (line 59) | def height_width(boxlist, scope=None): function scale (line 76) | def scale(boxlist, y_scale, x_scale, scope=None): function clip_to_window (line 102) | def clip_to_window(boxlist, window, filter_nonoverlapping=True, scope=No... function prune_outside_window (line 140) | def prune_outside_window(boxlist, window, scope=None): function prune_completely_outside_window (line 172) | def prune_completely_outside_window(boxlist, window, scope=None): function intersection (line 203) | def intersection(boxlist1, boxlist2, scope=None): function matched_intersection (line 228) | def matched_intersection(boxlist1, boxlist2, scope=None): function iou (line 253) | def iou(boxlist1, boxlist2, scope=None): function matched_iou (line 275) | def matched_iou(boxlist1, boxlist2, scope=None): function ioa (line 296) | def ioa(boxlist1, boxlist2, scope=None): function prune_non_overlapping_boxes (line 317) | def prune_non_overlapping_boxes( function prune_small_boxes (line 345) | def prune_small_boxes(boxlist, min_side, scope=None): function change_coordinate_frame (line 363) | def change_coordinate_frame(boxlist, window, scope=None): function sq_dist (line 393) | def sq_dist(boxlist1, boxlist2, scope=None): function boolean_mask (line 422) | def boolean_mask(boxlist, indicator, fields=None, scope=None): function gather (line 461) | def gather(boxlist, indices, fields=None, scope=None): function concatenate (line 500) | def concatenate(boxlists, fields=None, scope=None): function sort_by_field (line 554) | def sort_by_field(boxlist, field, order=SortOrder.descend, scope=None): function visualize_boxes_in_image (line 597) | def visualize_boxes_in_image(image, boxlist, normalized=False, scope=None): function filter_field_value_equals (line 626) | def filter_field_value_equals(boxlist, field, value, scope=None): function filter_greater_than (line 652) | def filter_greater_than(boxlist, thresh, scope=None): function non_max_suppression (line 690) | def non_max_suppression(boxlist, thresh, max_output_size, scope=None): function _copy_extra_fields (line 723) | def _copy_extra_fields(boxlist_to_copy_to, boxlist_to_copy_from): function to_normalized_coordinates (line 738) | def to_normalized_coordinates(boxlist, height, width, function to_absolute_coordinates (line 775) | def to_absolute_coordinates(boxlist, height, width, function refine_boxes_multi_class (line 809) | def refine_boxes_multi_class(pool_boxes, function refine_boxes (line 855) | def refine_boxes(pool_boxes, function box_voting (line 891) | def box_voting(selected_boxes, pool_boxes, iou_thresh=0.5): function pad_or_clip_box_list (line 955) | def pad_or_clip_box_list(boxlist, num_boxes, scope=None): FILE: object_detector_app/object_detection/core/box_list_ops_test.py class BoxListOpsTest (line 25) | class BoxListOpsTest(tf.test.TestCase): method test_area (line 28) | def test_area(self): method test_height_width (line 37) | def test_height_width(self): method test_scale (line 48) | def test_scale(self): method test_clip_to_window_filter_boxes_which_fall_outside_the_window (line 64) | def test_clip_to_window_filter_boxes_which_fall_outside_the_window( method test_clip_to_window_without_filtering_boxes_which_fall_outside_the_window (line 86) | def test_clip_to_window_without_filtering_boxes_which_fall_outside_the... method test_prune_outside_window_filters_boxes_which_fall_outside_the_window (line 108) | def test_prune_outside_window_filters_boxes_which_fall_outside_the_win... method test_prune_completely_outside_window (line 131) | def test_prune_completely_outside_window(self): method test_intersection (line 156) | def test_intersection(self): method test_matched_intersection (line 168) | def test_matched_intersection(self): method test_iou (line 179) | def test_iou(self): method test_matched_iou (line 191) | def test_matched_iou(self): method test_iouworks_on_empty_inputs (line 202) | def test_iouworks_on_empty_inputs(self): method test_ioa (line 219) | def test_ioa(self): method test_prune_non_overlapping_boxes (line 237) | def test_prune_non_overlapping_boxes(self): method test_prune_small_boxes (line 262) | def test_prune_small_boxes(self): method test_prune_small_boxes_prunes_boxes_with_negative_side (line 276) | def test_prune_small_boxes_prunes_boxes_with_negative_side(self): method test_change_coordinate_frame (line 292) | def test_change_coordinate_frame(self): method test_ioaworks_on_empty_inputs (line 305) | def test_ioaworks_on_empty_inputs(self): method test_pairwise_distances (line 322) | def test_pairwise_distances(self): method test_boolean_mask (line 336) | def test_boolean_mask(self): method test_boolean_mask_with_field (line 347) | def test_boolean_mask_with_field(self): method test_gather (line 364) | def test_gather(self): method test_gather_with_field (line 375) | def test_gather_with_field(self): method test_gather_with_invalid_field (line 391) | def test_gather_with_invalid_field(self): method test_gather_with_invalid_inputs (line 401) | def test_gather_with_invalid_inputs(self): method test_gather_with_dynamic_indexing (line 413) | def test_gather_with_dynamic_indexing(self): method test_sort_by_field_ascending_order (line 430) | def test_sort_by_field_ascending_order(self): method test_sort_by_field_descending_order (line 455) | def test_sort_by_field_descending_order(self): method test_sort_by_field_invalid_inputs (line 477) | def test_sort_by_field_invalid_inputs(self): method test_visualize_boxes_in_image (line 497) | def test_visualize_boxes_in_image(self): method test_filter_field_value_equals (line 515) | def test_filter_field_value_equals(self): method test_filter_greater_than (line 537) | def test_filter_greater_than(self): method test_clip_box_list (line 554) | def test_clip_box_list(self): method test_pad_box_list (line 575) | def test_pad_box_list(self): class ConcatenateTest (line 597) | class ConcatenateTest(tf.test.TestCase): method test_invalid_input_box_list_list (line 599) | def test_invalid_input_box_list_list(self): method test_concatenate_with_missing_fields (line 609) | def test_concatenate_with_missing_fields(self): method test_concatenate_with_incompatible_field_shapes (line 619) | def test_concatenate_with_incompatible_field_shapes(self): method test_concatenate_is_correct (line 631) | def test_concatenate_is_correct(self): class NonMaxSuppressionTest (line 657) | class NonMaxSuppressionTest(tf.test.TestCase): method test_with_invalid_scores_field (line 659) | def test_with_invalid_scores_field(self): method test_select_from_three_clusters (line 677) | def test_select_from_three_clusters(self): method test_select_at_most_two_boxes_from_three_clusters (line 698) | def test_select_at_most_two_boxes_from_three_clusters(self): method test_select_at_most_thirty_boxes_from_three_clusters (line 718) | def test_select_at_most_thirty_boxes_from_three_clusters(self): method test_select_single_box (line 739) | def test_select_single_box(self): method test_select_from_ten_identical_boxes (line 753) | def test_select_from_ten_identical_boxes(self): method test_copy_extra_fields (line 767) | def test_copy_extra_fields(self): class CoordinatesConversionTest (line 783) | class CoordinatesConversionTest(tf.test.TestCase): method test_to_normalized_coordinates (line 785) | def test_to_normalized_coordinates(self): method test_to_normalized_coordinates_already_normalized (line 799) | def test_to_normalized_coordinates_already_normalized(self): method test_to_absolute_coordinates (line 811) | def test_to_absolute_coordinates(self): method test_to_absolute_coordinates_already_abolute (line 826) | def test_to_absolute_coordinates_already_abolute(self): method test_convert_to_normalized_and_back (line 839) | def test_convert_to_normalized_and_back(self): method test_convert_to_absolute_and_back (line 858) | def test_convert_to_absolute_and_back(self): class BoxRefinementTest (line 877) | class BoxRefinementTest(tf.test.TestCase): method test_box_voting (line 879) | def test_box_voting(self): method test_box_voting_fails_with_negative_scores (line 899) | def test_box_voting_fails_with_negative_scores(self): method test_box_voting_fails_when_unmatched (line 910) | def test_box_voting_fails_when_unmatched(self): method test_refine_boxes (line 922) | def test_refine_boxes(self): method test_refine_boxes_multi_class (line 941) | def test_refine_boxes_multi_class(self): FILE: object_detector_app/object_detection/core/box_list_test.py class BoxListTest (line 23) | class BoxListTest(tf.test.TestCase): method test_num_boxes (line 26) | def test_num_boxes(self): method test_get_correct_center_coordinates_and_sizes (line 35) | def test_get_correct_center_coordinates_and_sizes(self): method test_create_box_list_with_dynamic_shape (line 44) | def test_create_box_list_with_dynamic_shape(self): method test_transpose_coordinates (line 56) | def test_transpose_coordinates(self): method test_box_list_invalid_inputs (line 65) | def test_box_list_invalid_inputs(self): method test_num_boxes_static (line 77) | def test_num_boxes_static(self): method test_num_boxes_static_for_uninferrable_shape (line 83) | def test_num_boxes_static_for_uninferrable_shape(self): method test_as_tensor_dict (line 88) | def test_as_tensor_dict(self): method test_as_tensor_dict_with_features (line 106) | def test_as_tensor_dict_with_features(self): method test_as_tensor_dict_missing_field (line 124) | def test_as_tensor_dict_missing_field(self): FILE: object_detector_app/object_detection/core/box_predictor.py class BoxPredictor (line 41) | class BoxPredictor(object): method __init__ (line 44) | def __init__(self, is_training, num_classes): method num_classes (line 58) | def num_classes(self): method predict (line 61) | def predict(self, image_features, num_predictions_per_location, scope, method _predict (line 96) | def _predict(self, image_features, num_predictions_per_location, **par... class RfcnBoxPredictor (line 119) | class RfcnBoxPredictor(BoxPredictor): method __init__ (line 131) | def __init__(self, method num_classes (line 163) | def num_classes(self): method _predict (line 166) | def _predict(self, image_features, num_predictions_per_location, class MaskRCNNBoxPredictor (line 253) | class MaskRCNNBoxPredictor(BoxPredictor): method __init__ (line 271) | def __init__(self, method num_classes (line 327) | def num_classes(self): method _predict (line 330) | def _predict(self, image_features, num_predictions_per_location): class ConvolutionalBoxPredictor (line 414) | class ConvolutionalBoxPredictor(BoxPredictor): method __init__ (line 426) | def __init__(self, method _predict (line 481) | def _predict(self, image_features, num_predictions_per_location): FILE: object_detector_app/object_detection/core/box_predictor_test.py class MaskRCNNBoxPredictorTest (line 27) | class MaskRCNNBoxPredictorTest(tf.test.TestCase): method _build_arg_scope_with_hyperparams (line 29) | def _build_arg_scope_with_hyperparams(self, method test_get_boxes_with_five_classes (line 47) | def test_get_boxes_with_five_classes(self): method test_value_error_on_predict_instance_masks_with_no_conv_hyperparms (line 72) | def test_value_error_on_predict_instance_masks_with_no_conv_hyperparms... method test_get_instance_masks (line 83) | def test_get_instance_masks(self): method test_do_not_return_instance_masks_and_keypoints_without_request (line 101) | def test_do_not_return_instance_masks_and_keypoints_without_request(se... method test_value_error_on_predict_keypoints (line 117) | def test_value_error_on_predict_keypoints(self): class RfcnBoxPredictorTest (line 129) | class RfcnBoxPredictorTest(tf.test.TestCase): method _build_arg_scope_with_conv_hyperparams (line 131) | def _build_arg_scope_with_conv_hyperparams(self): method test_get_correct_box_encoding_and_class_prediction_shapes (line 146) | def test_get_correct_box_encoding_and_class_prediction_shapes(self): class ConvolutionalBoxPredictorTest (line 176) | class ConvolutionalBoxPredictorTest(tf.test.TestCase): method _build_arg_scope_with_conv_hyperparams (line 178) | def _build_arg_scope_with_conv_hyperparams(self): method test_get_boxes_for_five_aspect_ratios_per_location (line 194) | def test_get_boxes_for_five_aspect_ratios_per_location(self): method test_get_boxes_for_one_aspect_ratio_per_location (line 223) | def test_get_boxes_for_one_aspect_ratio_per_location(self): method test_get_multi_class_predictions_for_five_aspect_ratios_per_location (line 252) | def test_get_multi_class_predictions_for_five_aspect_ratios_per_location( method test_get_boxes_for_five_aspect_ratios_per_location_fully_convolutional (line 286) | def test_get_boxes_for_five_aspect_ratios_per_location_fully_convoluti... FILE: object_detector_app/object_detection/core/data_decoder.py class DataDecoder (line 25) | class DataDecoder(object): method Decode (line 31) | def Decode(self, data): FILE: object_detector_app/object_detection/core/keypoint_ops.py function scale (line 26) | def scale(keypoints, y_scale, x_scale, scope=None): function clip_to_window (line 45) | def clip_to_window(keypoints, window, scope=None): function prune_outside_window (line 68) | def prune_outside_window(keypoints, window, scope=None): function change_coordinate_frame (line 99) | def change_coordinate_frame(keypoints, window, scope=None): function to_normalized_coordinates (line 128) | def to_normalized_coordinates(keypoints, height, width, function to_absolute_coordinates (line 166) | def to_absolute_coordinates(keypoints, height, width, function flip_horizontal (line 202) | def flip_horizontal(keypoints, flip_point, flip_permutation, scope=None): FILE: object_detector_app/object_detection/core/keypoint_ops_test.py class KeypointOpsTest (line 23) | class KeypointOpsTest(tf.test.TestCase): method test_scale (line 26) | def test_scale(self): method test_clip_to_window (line 44) | def test_clip_to_window(self): method test_prune_outside_window (line 61) | def test_prune_outside_window(self): method test_change_coordinate_frame (line 76) | def test_change_coordinate_frame(self): method test_to_normalized_coordinates (line 93) | def test_to_normalized_coordinates(self): method test_to_normalized_coordinates_already_normalized (line 109) | def test_to_normalized_coordinates_already_normalized(self): method test_to_absolute_coordinates (line 121) | def test_to_absolute_coordinates(self): method test_to_absolute_coordinates_already_absolute (line 137) | def test_to_absolute_coordinates_already_absolute(self): method test_flip_horizontal (line 149) | def test_flip_horizontal(self): FILE: object_detector_app/object_detection/core/losses.py class Loss (line 40) | class Loss(object): method __call__ (line 44) | def __call__(self, method _compute_loss (line 74) | def _compute_loss(self, prediction_tensor, target_tensor, **params): class WeightedL2LocalizationLoss (line 89) | class WeightedL2LocalizationLoss(Loss): method __init__ (line 95) | def __init__(self, anchorwise_output=False): method _compute_loss (line 104) | def _compute_loss(self, prediction_tensor, target_tensor, weights): class WeightedSmoothL1LocalizationLoss (line 126) | class WeightedSmoothL1LocalizationLoss(Loss): method __init__ (line 135) | def __init__(self, anchorwise_output=False): method _compute_loss (line 144) | def _compute_loss(self, prediction_tensor, target_tensor, weights): class WeightedIOULocalizationLoss (line 168) | class WeightedIOULocalizationLoss(Loss): method _compute_loss (line 176) | def _compute_loss(self, prediction_tensor, target_tensor, weights): class WeightedSigmoidClassificationLoss (line 196) | class WeightedSigmoidClassificationLoss(Loss): method __init__ (line 199) | def __init__(self, anchorwise_output=False): method _compute_loss (line 208) | def _compute_loss(self, class WeightedSoftmaxClassificationLoss (line 241) | class WeightedSoftmaxClassificationLoss(Loss): method __init__ (line 244) | def __init__(self, anchorwise_output=False): method _compute_loss (line 253) | def _compute_loss(self, prediction_tensor, target_tensor, weights): class BootstrappedSigmoidClassificationLoss (line 275) | class BootstrappedSigmoidClassificationLoss(Loss): method __init__ (line 292) | def __init__(self, alpha, bootstrap_type='soft', anchorwise_output=Fal... method _compute_loss (line 311) | def _compute_loss(self, prediction_tensor, target_tensor, weights): class HardExampleMiner (line 339) | class HardExampleMiner(object): method __init__ (line 355) | def __init__(self, method __call__ (line 409) | def __call__(self, method summarize (line 493) | def summarize(self): method _subsample_selection_to_desired_neg_pos_ratio (line 501) | def _subsample_selection_to_desired_neg_pos_ratio(self, FILE: object_detector_app/object_detection/core/losses_test.py class WeightedL2LocalizationLossTest (line 27) | class WeightedL2LocalizationLossTest(tf.test.TestCase): method testReturnsCorrectLoss (line 29) | def testReturnsCorrectLoss(self): method testReturnsCorrectAnchorwiseLoss (line 46) | def testReturnsCorrectAnchorwiseLoss(self): method testReturnsCorrectLossSum (line 61) | def testReturnsCorrectLossSum(self): method testReturnsCorrectNanLoss (line 77) | def testReturnsCorrectNanLoss(self): class WeightedSmoothL1LocalizationLossTest (line 97) | class WeightedSmoothL1LocalizationLossTest(tf.test.TestCase): method testReturnsCorrectLoss (line 99) | def testReturnsCorrectLoss(self): class WeightedIOULocalizationLossTest (line 121) | class WeightedIOULocalizationLossTest(tf.test.TestCase): method testReturnsCorrectLoss (line 123) | def testReturnsCorrectLoss(self): class WeightedSigmoidClassificationLossTest (line 139) | class WeightedSigmoidClassificationLossTest(tf.test.TestCase): method testReturnsCorrectLoss (line 141) | def testReturnsCorrectLoss(self): method testReturnsCorrectAnchorWiseLoss (line 168) | def testReturnsCorrectAnchorWiseLoss(self): method testReturnsCorrectLossWithClassIndices (line 196) | def testReturnsCorrectLossWithClassIndices(self): class WeightedSoftmaxClassificationLossTest (line 228) | class WeightedSoftmaxClassificationLossTest(tf.test.TestCase): method testReturnsCorrectLoss (line 230) | def testReturnsCorrectLoss(self): method testReturnsCorrectAnchorWiseLoss (line 257) | def testReturnsCorrectAnchorWiseLoss(self): class BootstrappedSigmoidClassificationLossTest (line 286) | class BootstrappedSigmoidClassificationLossTest(tf.test.TestCase): method testReturnsCorrectLossSoftBootstrapping (line 288) | def testReturnsCorrectLossSoftBootstrapping(self): method testReturnsCorrectLossHardBootstrapping (line 316) | def testReturnsCorrectLossHardBootstrapping(self): method testReturnsCorrectAnchorWiseLoss (line 344) | def testReturnsCorrectAnchorWiseLoss(self): class HardExampleMinerTest (line 375) | class HardExampleMinerTest(tf.test.TestCase): method testHardMiningWithSingleLossType (line 377) | def testHardMiningWithSingleLossType(self): method testHardMiningWithBothLossType (line 405) | def testHardMiningWithBothLossType(self): method testHardMiningNMS (line 432) | def testHardMiningNMS(self): method testEnforceNegativesPerPositiveRatio (line 459) | def testEnforceNegativesPerPositiveRatio(self): method testEnforceNegativesPerPositiveRatioWithMinNegativesPerImage (line 509) | def testEnforceNegativesPerPositiveRatioWithMinNegativesPerImage(self): FILE: object_detector_app/object_detection/core/matcher.py class Match (line 40) | class Match(object): method __init__ (line 47) | def __init__(self, match_results): method match_results (line 68) | def match_results(self): method matched_column_indices (line 76) | def matched_column_indices(self): method matched_column_indicator (line 86) | def matched_column_indicator(self): method num_matched_columns (line 94) | def num_matched_columns(self): method unmatched_column_indices (line 98) | def unmatched_column_indices(self): method unmatched_column_indicator (line 108) | def unmatched_column_indicator(self): method num_unmatched_columns (line 116) | def num_unmatched_columns(self): method ignored_column_indices (line 120) | def ignored_column_indices(self): method ignored_column_indicator (line 130) | def ignored_column_indicator(self): method num_ignored_columns (line 139) | def num_ignored_columns(self): method unmatched_or_ignored_column_indices (line 143) | def unmatched_or_ignored_column_indices(self): method matched_row_indices (line 153) | def matched_row_indices(self): method _reshape_and_cast (line 168) | def _reshape_and_cast(self, t): class Matcher (line 172) | class Matcher(object): method match (line 177) | def match(self, similarity_matrix, scope=None, **params): method _match (line 197) | def _match(self, similarity_matrix, **params): FILE: object_detector_app/object_detection/core/matcher_test.py class AnchorMatcherTest (line 23) | class AnchorMatcherTest(tf.test.TestCase): method test_get_correct_matched_columnIndices (line 25) | def test_get_correct_matched_columnIndices(self): method test_get_correct_counts (line 35) | def test_get_correct_counts(self): method testGetCorrectUnmatchedColumnIndices (line 55) | def testGetCorrectUnmatchedColumnIndices(self): method testGetCorrectMatchedRowIndices (line 65) | def testGetCorrectMatchedRowIndices(self): method test_get_correct_ignored_column_indices (line 75) | def test_get_correct_ignored_column_indices(self): method test_get_correct_matched_column_indicator (line 85) | def test_get_correct_matched_column_indicator(self): method test_get_correct_unmatched_column_indicator (line 95) | def test_get_correct_unmatched_column_indicator(self): method test_get_correct_ignored_column_indicator (line 105) | def test_get_correct_ignored_column_indicator(self): method test_get_correct_unmatched_ignored_column_indices (line 115) | def test_get_correct_unmatched_ignored_column_indices(self): method test_all_columns_accounted_for (line 128) | def test_all_columns_accounted_for(self): FILE: object_detector_app/object_detection/core/minibatch_sampler.py class MinibatchSampler (line 39) | class MinibatchSampler(object): method __init__ (line 43) | def __init__(self): method subsample (line 48) | def subsample(self, indicator, batch_size, **params): method subsample_indicator (line 64) | def subsample_indicator(indicator, num_samples): FILE: object_detector_app/object_detection/core/minibatch_sampler_test.py class MinibatchSamplerTest (line 24) | class MinibatchSamplerTest(tf.test.TestCase): method test_subsample_indicator_when_more_true_elements_than_num_samples (line 26) | def test_subsample_indicator_when_more_true_elements_than_num_samples(... method test_subsample_when_more_true_elements_than_num_samples_no_shape (line 37) | def test_subsample_when_more_true_elements_than_num_samples_no_shape(s... method test_subsample_indicator_when_less_true_elements_than_num_samples (line 50) | def test_subsample_indicator_when_less_true_elements_than_num_samples(... method test_subsample_indicator_when_num_samples_is_zero (line 61) | def test_subsample_indicator_when_num_samples_is_zero(self): method test_subsample_indicator_when_indicator_all_false (line 72) | def test_subsample_indicator_when_indicator_all_false(self): FILE: object_detector_app/object_detection/core/model.py class DetectionModel (line 53) | class DetectionModel(object): method __init__ (line 57) | def __init__(self, num_classes): method num_classes (line 69) | def num_classes(self): method groundtruth_lists (line 72) | def groundtruth_lists(self, field): method preprocess (line 91) | def preprocess(self, inputs): method predict (line 130) | def predict(self, preprocessed_inputs): method postprocess (line 146) | def postprocess(self, prediction_dict, **params): method loss (line 179) | def loss(self, prediction_dict): method provide_groundtruth (line 194) | def provide_groundtruth(self, method restore_fn (line 231) | def restore_fn(self, checkpoint_path, from_detection_checkpoint=True): FILE: object_detector_app/object_detection/core/post_processing.py function multiclass_non_max_suppression (line 25) | def multiclass_non_max_suppression(boxes, function batch_multiclass_non_max_suppression (line 167) | def batch_multiclass_non_max_suppression(boxes, FILE: object_detector_app/object_detection/core/post_processing_test.py class MulticlassNonMaxSuppressionTest (line 23) | class MulticlassNonMaxSuppressionTest(tf.test.TestCase): method test_with_invalid_scores_size (line 25) | def test_with_invalid_scores_size(self): method test_multiclass_nms_select_with_shared_boxes (line 43) | def test_multiclass_nms_select_with_shared_boxes(self): method test_multiclass_nms_select_with_shared_boxes_given_keypoints (line 77) | def test_multiclass_nms_select_with_shared_boxes_given_keypoints(self): method test_multiclass_nms_with_shared_boxes_given_keypoint_heatmaps (line 130) | def test_multiclass_nms_with_shared_boxes_given_keypoint_heatmaps(self): method test_multiclass_nms_with_additional_fields (line 186) | def test_multiclass_nms_with_additional_fields(self): method test_multiclass_nms_select_with_shared_boxes_given_masks (line 248) | def test_multiclass_nms_select_with_shared_boxes_given_masks(self): method test_multiclass_nms_select_with_clip_window (line 301) | def test_multiclass_nms_select_with_clip_window(self): method test_multiclass_nms_select_with_clip_window_change_coordinate_frame (line 325) | def test_multiclass_nms_select_with_clip_window_change_coordinate_fram... method test_multiclass_nms_select_with_per_class_cap (line 349) | def test_multiclass_nms_select_with_per_class_cap(self): method test_multiclass_nms_select_with_total_cap (line 382) | def test_multiclass_nms_select_with_total_cap(self): method test_multiclass_nms_threshold_then_select_with_shared_boxes (line 416) | def test_multiclass_nms_threshold_then_select_with_shared_boxes(self): method test_multiclass_nms_select_with_separate_boxes (line 439) | def test_multiclass_nms_select_with_separate_boxes(self): method test_batch_multiclass_nms_with_batch_size_1 (line 474) | def test_batch_multiclass_nms_with_batch_size_1(self): method test_batch_multiclass_nms_with_batch_size_2 (line 509) | def test_batch_multiclass_nms_with_batch_size_2(self): method test_batch_multiclass_nms_with_masks (line 550) | def test_batch_multiclass_nms_with_masks(self): method test_batch_multiclass_nms_with_masks_and_num_valid_boxes (line 610) | def test_batch_multiclass_nms_with_masks_and_num_valid_boxes(self): FILE: object_detector_app/object_detection/core/prefetcher.py function prefetch (line 20) | def prefetch(tensor_dict, capacity): FILE: object_detector_app/object_detection/core/prefetcher_test.py class PrefetcherTest (line 24) | class PrefetcherTest(tf.test.TestCase): method test_prefetch_tensors_with_fully_defined_shapes (line 26) | def test_prefetch_tensors_with_fully_defined_shapes(self): method test_prefetch_tensors_with_partially_defined_shapes (line 61) | def test_prefetch_tensors_with_partially_defined_shapes(self): FILE: object_detector_app/object_detection/core/preprocessor.py function _apply_with_random_selector (line 57) | def _apply_with_random_selector(x, func, num_cases): function _apply_with_random_selector_tuples (line 76) | def _apply_with_random_selector_tuples(x, func, num_cases): function _random_integer (line 104) | def _random_integer(minval, maxval, seed): function normalize_image (line 119) | def normalize_image(image, original_minval, original_maxval, target_minval, function flip_boxes (line 150) | def flip_boxes(boxes): function retain_boxes_above_threshold (line 170) | def retain_boxes_above_threshold( function _flip_masks (line 224) | def _flip_masks(masks): function random_horizontal_flip (line 238) | def random_horizontal_flip( function random_pixel_value_scale (line 328) | def random_pixel_value_scale(image, minval=0.9, maxval=1.1, seed=None): function random_image_scale (line 359) | def random_image_scale(image, function random_rgb_to_gray (line 403) | def random_rgb_to_gray(image, probability=0.1, seed=None): function random_adjust_brightness (line 432) | def random_adjust_brightness(image, max_delta=0.2): function random_adjust_contrast (line 452) | def random_adjust_contrast(image, min_delta=0.8, max_delta=1.25): function random_adjust_hue (line 474) | def random_adjust_hue(image, max_delta=0.02): function random_adjust_saturation (line 493) | def random_adjust_saturation(image, min_delta=0.8, max_delta=1.25): function random_distort_color (line 515) | def random_distort_color(image, color_ordering=0): function random_jitter_boxes (line 551) | def random_jitter_boxes(boxes, ratio=0.05, seed=None): function _strict_random_crop_image (line 603) | def _strict_random_crop_image(image, function random_crop_image (line 730) | def random_crop_image(image, function random_pad_image (line 829) | def random_pad_image(image, function random_crop_pad_image (line 932) | def random_crop_pad_image(image, function random_crop_to_aspect_ratio (line 1028) | def random_crop_to_aspect_ratio(image, function random_black_patches (line 1162) | def random_black_patches(image, function image_to_float (line 1226) | def image_to_float(image): function random_resize_method (line 1240) | def random_resize_method(image, target_size): function resize_to_range (line 1259) | def resize_to_range(image, function scale_boxes_to_pixel_coordinates (line 1361) | def scale_boxes_to_pixel_coordinates(image, boxes, keypoints=None): function resize_image (line 1393) | def resize_image(image, function subtract_channel_mean (line 1429) | def subtract_channel_mean(image, means=None): function one_hot_encoding (line 1449) | def one_hot_encoding(labels, num_classes=None): function rgb_to_gray (line 1474) | def rgb_to_gray(image): function ssd_random_crop (line 1487) | def ssd_random_crop(image, function ssd_random_crop_pad (line 1586) | def ssd_random_crop_pad(image, function ssd_random_crop_fixed_aspect_ratio (line 1664) | def ssd_random_crop_fixed_aspect_ratio( function get_default_func_arg_map (line 1751) | def get_default_func_arg_map(include_instance_masks=False, function preprocess (line 1844) | def preprocess(tensor_dict, preprocess_options, func_arg_map=None): FILE: object_detector_app/object_detection/core/preprocessor_test.py class PreprocessorTest (line 27) | class PreprocessorTest(tf.test.TestCase): method createColorfulTestImage (line 29) | def createColorfulTestImage(self): method createTestImages (line 42) | def createTestImages(self): method createTestBoxes (line 58) | def createTestBoxes(self): method createTestLabelScores (line 63) | def createTestLabelScores(self): method createTestLabelScoresWithMissingScore (line 66) | def createTestLabelScoresWithMissingScore(self): method createTestMasks (line 69) | def createTestMasks(self): method createTestKeypoints (line 79) | def createTestKeypoints(self): method createTestKeypointsInsideCrop (line 86) | def createTestKeypointsInsideCrop(self): method createTestKeypointsOutsideCrop (line 93) | def createTestKeypointsOutsideCrop(self): method createKeypointFlipPermutation (line 100) | def createKeypointFlipPermutation(self): method createTestLabels (line 103) | def createTestLabels(self): method createTestBoxesOutOfImage (line 107) | def createTestBoxesOutOfImage(self): method expectedImagesAfterNormalization (line 112) | def expectedImagesAfterNormalization(self): method expectedMaxImageAfterColorScale (line 128) | def expectedMaxImageAfterColorScale(self): method expectedMinImageAfterColorScale (line 144) | def expectedMinImageAfterColorScale(self): method expectedImagesAfterMirroring (line 160) | def expectedImagesAfterMirroring(self): method expectedBoxesAfterMirroring (line 176) | def expectedBoxesAfterMirroring(self): method expectedBoxesAfterXY (line 181) | def expectedBoxesAfterXY(self): method expectedMasksAfterMirroring (line 186) | def expectedMasksAfterMirroring(self): method expectedLabelScoresAfterThresholding (line 196) | def expectedLabelScoresAfterThresholding(self): method expectedBoxesAfterThresholding (line 199) | def expectedBoxesAfterThresholding(self): method expectedLabelsAfterThresholding (line 202) | def expectedLabelsAfterThresholding(self): method expectedMasksAfterThresholding (line 205) | def expectedMasksAfterThresholding(self): method expectedKeypointsAfterThresholding (line 212) | def expectedKeypointsAfterThresholding(self): method expectedLabelScoresAfterThresholdingWithMissingScore (line 218) | def expectedLabelScoresAfterThresholdingWithMissingScore(self): method expectedBoxesAfterThresholdingWithMissingScore (line 221) | def expectedBoxesAfterThresholdingWithMissingScore(self): method expectedLabelsAfterThresholdingWithMissingScore (line 224) | def expectedLabelsAfterThresholdingWithMissingScore(self): method testNormalizeImage (line 227) | def testNormalizeImage(self): method testRetainBoxesAboveThreshold (line 250) | def testRetainBoxesAboveThreshold(self): method testRetainBoxesAboveThresholdWithMasks (line 272) | def testRetainBoxesAboveThresholdWithMasks(self): method testRetainBoxesAboveThresholdWithKeypoints (line 286) | def testRetainBoxesAboveThresholdWithKeypoints(self): method testRetainBoxesAboveThresholdWithMissingScore (line 302) | def testRetainBoxesAboveThresholdWithMissingScore(self): method testRandomFlipBoxes (line 324) | def testRandomFlipBoxes(self): method testFlipMasks (line 344) | def testFlipMasks(self): method testRandomHorizontalFlip (line 352) | def testRandomHorizontalFlip(self): method testRunRandomHorizontalFlipWithMaskAndKeypoints (line 383) | def testRunRandomHorizontalFlipWithMaskAndKeypoints(self): method testRandomPixelValueScale (line 414) | def testRandomPixelValueScale(self): method testRandomImageScale (line 438) | def testRandomImageScale(self): method testRandomRGBtoGray (line 458) | def testRandomRGBtoGray(self): method testRandomAdjustBrightness (line 491) | def testRandomAdjustBrightness(self): method testRandomAdjustContrast (line 511) | def testRandomAdjustContrast(self): method testRandomAdjustHue (line 531) | def testRandomAdjustHue(self): method testRandomDistortColor (line 551) | def testRandomDistortColor(self): method testRandomJitterBoxes (line 571) | def testRandomJitterBoxes(self): method testRandomCropImage (line 586) | def testRandomCropImage(self): method testRandomCropImageGrayscale (line 620) | def testRandomCropImageGrayscale(self): method testRandomCropImageWithBoxOutOfImage (line 657) | def testRandomCropImageWithBoxOutOfImage(self): method testRandomCropImageWithRandomCoefOne (line 690) | def testRandomCropImageWithRandomCoefOne(self): method testRandomCropWithMockSampleDistortedBoundingBox (line 736) | def testRandomCropWithMockSampleDistortedBoundingBox(self): method testStrictRandomCropImageWithMasks (line 784) | def testStrictRandomCropImageWithMasks(self): method testStrictRandomCropImageWithKeypoints (line 813) | def testStrictRandomCropImageWithKeypoints(self): method testRunRandomCropImageWithMasks (line 851) | def testRunRandomCropImageWithMasks(self): method testRunRandomCropImageWithKeypointsInsideCrop (line 902) | def testRunRandomCropImageWithKeypointsInsideCrop(self): method testRunRandomCropImageWithKeypointsOutsideCrop (line 962) | def testRunRandomCropImageWithKeypointsOutsideCrop(self): method testRunRetainBoxesAboveThreshold (line 1022) | def testRunRetainBoxesAboveThreshold(self): method testRunRetainBoxesAboveThresholdWithMasks (line 1060) | def testRunRetainBoxesAboveThresholdWithMasks(self): method testRunRetainBoxesAboveThresholdWithKeypoints (line 1091) | def testRunRetainBoxesAboveThresholdWithKeypoints(self): method testRunRandomCropToAspectRatioWithMasks (line 1122) | def testRunRandomCropToAspectRatioWithMasks(self): method testRunRandomCropToAspectRatioWithKeypoints (line 1165) | def testRunRandomCropToAspectRatioWithKeypoints(self): method testRandomPadImage (line 1212) | def testRandomPadImage(self): method testRandomCropPadImageWithRandomCoefOne (line 1256) | def testRandomCropPadImageWithRandomCoefOne(self): method testRandomCropToAspectRatio (line 1302) | def testRandomCropToAspectRatio(self): method testRandomBlackPatches (line 1344) | def testRandomBlackPatches(self): method testRandomResizeMethod (line 1368) | def testRandomResizeMethod(self): method testResizeToRange (line 1393) | def testResizeToRange(self): method testResizeToRangeWithMasks (line 1410) | def testResizeToRangeWithMasks(self): method testResizeToRangeWithNoInstanceMask (line 1437) | def testResizeToRangeWithNoInstanceMask(self): method testResizeImageWithMasks (line 1464) | def testResizeImageWithMasks(self): method testResizeImageWithNoInstanceMask (line 1491) | def testResizeImageWithNoInstanceMask(self): method testResizeToRange4DImageTensor (line 1518) | def testResizeToRange4DImageTensor(self): method testResizeToRangeSameMinMax (line 1523) | def testResizeToRangeSameMinMax(self): method testScaleBoxesToPixelCoordinates (line 1540) | def testScaleBoxesToPixelCoordinates(self): method testScaleBoxesToPixelCoordinatesWithKeypoints (line 1557) | def testScaleBoxesToPixelCoordinatesWithKeypoints(self): method testSubtractChannelMean (line 1578) | def testSubtractChannelMean(self): method testOneHotEncoding (line 1590) | def testOneHotEncoding(self): method testSSDRandomCrop (line 1599) | def testSSDRandomCrop(self): method testSSDRandomCropPad (line 1633) | def testSSDRandomCropPad(self): method testSSDRandomCropFixedAspectRatio (line 1667) | def testSSDRandomCropFixedAspectRatio(self): method testSSDRandomCropFixedAspectRatioWithMasksAndKeypoints (line 1703) | def testSSDRandomCropFixedAspectRatioWithMasksAndKeypoints(self): FILE: object_detector_app/object_detection/core/region_similarity_calculator.py class RegionSimilarityCalculator (line 29) | class RegionSimilarityCalculator(object): method compare (line 33) | def compare(self, boxlist1, boxlist2, scope=None): method _compare (line 54) | def _compare(self, boxlist1, boxlist2): class IouSimilarity (line 58) | class IouSimilarity(RegionSimilarityCalculator): method _compare (line 64) | def _compare(self, boxlist1, boxlist2): class NegSqDistSimilarity (line 77) | class NegSqDistSimilarity(RegionSimilarityCalculator): method _compare (line 84) | def _compare(self, boxlist1, boxlist2): class IoaSimilarity (line 97) | class IoaSimilarity(RegionSimilarityCalculator): method _compare (line 104) | def _compare(self, boxlist1, boxlist2): FILE: object_detector_app/object_detection/core/region_similarity_calculator_test.py class RegionSimilarityCalculatorTest (line 23) | class RegionSimilarityCalculatorTest(tf.test.TestCase): method test_get_correct_pairwise_similarity_based_on_iou (line 25) | def test_get_correct_pairwise_similarity_based_on_iou(self): method test_get_correct_pairwise_similarity_based_on_squared_distances (line 38) | def test_get_correct_pairwise_similarity_based_on_squared_distances(se... method test_get_correct_pairwise_similarity_based_on_ioa (line 53) | def test_get_correct_pairwise_similarity_based_on_ioa(self): FILE: object_detector_app/object_detection/core/standard_fields.py class InputDataFields (line 26) | class InputDataFields(object): class BoxListFields (line 76) | class BoxListFields(object): class TfExampleFields (line 99) | class TfExampleFields(object): FILE: object_detector_app/object_detection/core/target_assigner.py class TargetAssigner (line 47) | class TargetAssigner(object): method __init__ (line 50) | def __init__(self, similarity_calc, matcher, box_coder, method box_coder (line 93) | def box_coder(self): method assign (line 96) | def assign(self, anchors, groundtruth_boxes, groundtruth_labels=None, method _reset_target_shape (line 168) | def _reset_target_shape(self, target, num_anchors): method _create_regression_targets (line 184) | def _create_regression_targets(self, anchors, groundtruth_boxes, match): method _default_regression_target (line 214) | def _default_regression_target(self): method _create_classification_targets (line 227) | def _create_classification_targets(self, groundtruth_labels, match): method _create_regression_weights (line 262) | def _create_regression_weights(self, match): method _create_classification_weights (line 280) | def _create_classification_weights(self, method get_box_coder (line 310) | def get_box_coder(self): function create_target_assigner (line 321) | def create_target_assigner(reference, stage=None, function batch_assign_targets (line 385) | def batch_assign_targets(target_assigner, FILE: object_detector_app/object_detection/core/target_assigner_test.py class TargetAssignerTest (line 28) | class TargetAssignerTest(tf.test.TestCase): method test_assign_agnostic (line 30) | def test_assign_agnostic(self): method test_assign_with_ignored_matches (line 74) | def test_assign_with_ignored_matches(self): method test_assign_multiclass (line 124) | def test_assign_multiclass(self): method test_assign_multiclass_unequal_class_weights (line 182) | def test_assign_multiclass_unequal_class_weights(self): method test_assign_multidimensional_class_targets (line 217) | def test_assign_multidimensional_class_targets(self): method test_assign_empty_groundtruth (line 275) | def test_assign_empty_groundtruth(self): method test_raises_error_on_invalid_groundtruth_labels (line 330) | def test_raises_error_on_invalid_groundtruth_labels(self): class BatchTargetAssignerTest (line 356) | class BatchTargetAssignerTest(tf.test.TestCase): method _get_agnostic_target_assigner (line 358) | def _get_agnostic_target_assigner(self): method _get_multi_class_target_assigner (line 368) | def _get_multi_class_target_assigner(self, num_classes): method _get_multi_dimensional_target_assigner (line 379) | def _get_multi_dimensional_target_assigner(self, target_dimensions): method test_batch_assign_targets (line 391) | def test_batch_assign_targets(self): method test_batch_assign_multiclass_targets (line 446) | def test_batch_assign_multiclass_targets(self): method test_batch_assign_multidimensional_targets (line 515) | def test_batch_assign_multidimensional_targets(self): method test_batch_assign_empty_groundtruth (line 595) | def test_batch_assign_empty_groundtruth(self): class CreateTargetAssignerTest (line 641) | class CreateTargetAssignerTest(tf.test.TestCase): method test_create_target_assigner (line 643) | def test_create_target_assigner(self): FILE: object_detector_app/object_detection/create_pascal_tf_record.py function dict_to_tf_example (line 58) | def dict_to_tf_example(data, function main (line 143) | def main(_): FILE: object_detector_app/object_detection/create_pascal_tf_record_test.py class DictToTFExampleTest (line 27) | class DictToTFExampleTest(tf.test.TestCase): method _assertProtoEqual (line 29) | def _assertProtoEqual(self, proto_field, expectation): method test_dict_to_tf_example (line 39) | def test_dict_to_tf_example(self): FILE: object_detector_app/object_detection/create_pet_tf_record.py function get_class_name_from_filename (line 50) | def get_class_name_from_filename(file_name): function dict_to_tf_example (line 64) | def dict_to_tf_example(data, function create_tf_record (line 147) | def create_tf_record(output_filename, function main (line 182) | def main(_): FILE: object_detector_app/object_detection/data_decoders/tf_example_decoder.py class TfExampleDecoder (line 29) | class TfExampleDecoder(data_decoder.DataDecoder): method __init__ (line 32) | def __init__(self): method Decode (line 85) | def Decode(self, tf_example_string_tensor): method _reshape_instance_masks (line 128) | def _reshape_instance_masks(self, keys_to_tensors): FILE: object_detector_app/object_detection/data_decoders/tf_example_decoder_test.py class TfExampleDecoderTest (line 25) | class TfExampleDecoderTest(tf.test.TestCase): method _EncodeImage (line 27) | def _EncodeImage(self, image_tensor, encoding_type='jpeg'): method _DecodeImage (line 37) | def _DecodeImage(self, image_encoded, encoding_type='jpeg'): method _Int64Feature (line 47) | def _Int64Feature(self, value): method _FloatFeature (line 50) | def _FloatFeature(self, value): method _BytesFeature (line 53) | def _BytesFeature(self, value): method testDecodeJpegImage (line 56) | def testDecodeJpegImage(self): method testDecodeImageKeyAndFilename (line 77) | def testDecodeImageKeyAndFilename(self): method testDecodePngImage (line 95) | def testDecodePngImage(self): method testDecodeBoundingBox (line 116) | def testDecodeBoundingBox(self): method testDecodeObjectLabel (line 145) | def testDecodeObjectLabel(self): method testDecodeObjectArea (line 168) | def testDecodeObjectArea(self): method testDecodeObjectIsCrowd (line 189) | def testDecodeObjectIsCrowd(self): method testDecodeObjectDifficult (line 212) | def testDecodeObjectDifficult(self): method testDecodeInstanceSegmentation (line 235) | def testDecodeInstanceSegmentation(self): FILE: object_detector_app/object_detection/eval.py function get_configs_from_pipeline_file (line 82) | def get_configs_from_pipeline_file(): function get_configs_from_multiple_files (line 106) | def get_configs_from_multiple_files(): function main (line 134) | def main(unused_argv): FILE: object_detector_app/object_detection/eval_util.py function write_metrics (line 33) | def write_metrics(metrics, global_step, summary_dir): function evaluate_detection_results_pascal_voc (line 53) | def evaluate_detection_results_pascal_voc(result_lists, function visualize_detection_results (line 165) | def visualize_detection_results(result_dict, function run_checkpoint_once (line 285) | def run_checkpoint_once(tensor_dict, function repeated_checkpoint_run (line 415) | def repeated_checkpoint_run(tensor_dict, FILE: object_detector_app/object_detection/evaluator.py function _extract_prediction_tensors (line 38) | def _extract_prediction_tensors(model, function evaluate (line 109) | def evaluate(create_input_dict_fn, create_model_fn, eval_config, categor... FILE: object_detector_app/object_detection/export_inference_graph.py function main (line 77) | def main(_): FILE: object_detector_app/object_detection/exporter.py function freeze_graph_with_def_protos (line 35) | def freeze_graph_with_def_protos( function _tf_example_input_placeholder (line 101) | def _tf_example_input_placeholder(): function _image_tensor_input_placeholder (line 110) | def _image_tensor_input_placeholder(): function _add_output_tensor_nodes (line 121) | def _add_output_tensor_nodes(postprocessed_tensors): function _write_inference_graph (line 151) | def _write_inference_graph(inference_graph_path, function _export_inference_graph (line 199) | def _export_inference_graph(input_type, function export_inference_graph (line 215) | def export_inference_graph(input_type, pipeline_config, checkpoint_path, FILE: object_detector_app/object_detection/exporter_test.py class FakeModel (line 27) | class FakeModel(model.DetectionModel): method preprocess (line 29) | def preprocess(self, inputs): method predict (line 35) | def predict(self, preprocessed_inputs): method postprocess (line 38) | def postprocess(self, prediction_dict): method restore_fn (line 48) | def restore_fn(self, checkpoint_path, from_detection_checkpoint): method loss (line 51) | def loss(self, prediction_dict): class ExportInferenceGraphTest (line 55) | class ExportInferenceGraphTest(tf.test.TestCase): method _save_checkpoint_from_mock_model (line 57) | def _save_checkpoint_from_mock_model(self, checkpoint_path, method _load_inference_graph (line 71) | def _load_inference_graph(self, inference_graph_path): method _create_tf_example (line 81) | def _create_tf_example(self, image_array): method test_export_graph_with_image_tensor_input (line 93) | def test_export_graph_with_image_tensor_input(self): method test_export_graph_with_tf_example_input (line 108) | def test_export_graph_with_tf_example_input(self): method test_export_frozen_graph (line 122) | def test_export_frozen_graph(self): method test_export_frozen_graph_with_moving_averages (line 139) | def test_export_frozen_graph_with_moving_averages(self): method test_export_and_run_inference_with_image_tensor (line 156) | def test_export_and_run_inference_with_image_tensor(self): method test_export_and_run_inference_with_tf_example (line 189) | def test_export_and_run_inference_with_tf_example(self): FILE: object_detector_app/object_detection/matchers/argmax_matcher.py class ArgMaxMatcher (line 35) | class ArgMaxMatcher(matcher.Matcher): method __init__ (line 54) | def __init__(self, method _match (line 102) | def _match(self, similarity_matrix): method _set_values_using_indicator (line 177) | def _set_values_using_indicator(self, x, indicator, val): FILE: object_detector_app/object_detection/matchers/argmax_matcher_test.py class ArgMaxMatcherTest (line 24) | class ArgMaxMatcherTest(tf.test.TestCase): method test_return_correct_matches_with_default_thresholds (line 26) | def test_return_correct_matches_with_default_thresholds(self): method test_return_correct_matches_with_empty_rows (line 49) | def test_return_correct_matches_with_empty_rows(self): method test_return_correct_matches_with_matched_threshold (line 60) | def test_return_correct_matches_with_matched_threshold(self): method test_return_correct_matches_with_matched_and_unmatched_threshold (line 88) | def test_return_correct_matches_with_matched_and_unmatched_threshold(s... method test_return_correct_matches_negatives_lower_than_unmatched_false (line 114) | def test_return_correct_matches_negatives_lower_than_unmatched_false(s... method test_return_correct_matches_unmatched_row_not_using_force_match (line 141) | def test_return_correct_matches_unmatched_row_not_using_force_match(se... method test_return_correct_matches_unmatched_row_while_using_force_match (line 167) | def test_return_correct_matches_unmatched_row_while_using_force_match(... method test_valid_arguments_corner_case (line 194) | def test_valid_arguments_corner_case(self): method test_invalid_arguments_corner_case_negatives_lower_than_thres_false (line 198) | def test_invalid_arguments_corner_case_negatives_lower_than_thres_fals... method test_invalid_arguments_no_matched_threshold (line 204) | def test_invalid_arguments_no_matched_threshold(self): method test_invalid_arguments_unmatched_thres_larger_than_matched_thres (line 209) | def test_invalid_arguments_unmatched_thres_larger_than_matched_thres(s... method test_set_values_using_indicator (line 214) | def test_set_values_using_indicator(self): FILE: object_detector_app/object_detection/matchers/bipartite_matcher.py class GreedyBipartiteMatcher (line 24) | class GreedyBipartiteMatcher(matcher.Matcher): method _match (line 27) | def _match(self, similarity_matrix, num_valid_rows=-1): FILE: object_detector_app/object_detection/matchers/bipartite_matcher_test.py class GreedyBipartiteMatcherTest (line 23) | class GreedyBipartiteMatcherTest(tf.test.TestCase): method test_get_expected_matches_when_all_rows_are_valid (line 25) | def test_get_expected_matches_when_all_rows_are_valid(self): method test_get_expected_matches_with_valid_rows_set_to_minus_one (line 36) | def test_get_expected_matches_with_valid_rows_set_to_minus_one(self): method test_get_no_matches_with_zero_valid_rows (line 47) | def test_get_no_matches_with_zero_valid_rows(self): method test_get_expected_matches_with_only_one_valid_row (line 58) | def test_get_expected_matches_with_only_one_valid_row(self): FILE: object_detector_app/object_detection/meta_architectures/faster_rcnn_meta_arch.py class FasterRCNNFeatureExtractor (line 88) | class FasterRCNNFeatureExtractor(object): method __init__ (line 91) | def __init__(self, method preprocess (line 111) | def preprocess(self, resized_inputs): method extract_proposal_features (line 115) | def extract_proposal_features(self, preprocessed_inputs, scope): method _extract_proposal_features (line 134) | def _extract_proposal_features(self, preprocessed_inputs, scope): method extract_box_classifier_features (line 138) | def extract_box_classifier_features(self, proposal_feature_maps, scope): method _extract_box_classifier_features (line 156) | def _extract_box_classifier_features(self, proposal_feature_maps, scope): method restore_from_classification_checkpoint_fn (line 160) | def restore_from_classification_checkpoint_fn( class FasterRCNNMetaArch (line 194) | class FasterRCNNMetaArch(model.DetectionModel): method __init__ (line 197) | def __init__(self, method first_stage_feature_extractor_scope (line 394) | def first_stage_feature_extractor_scope(self): method second_stage_feature_extractor_scope (line 398) | def second_stage_feature_extractor_scope(self): method first_stage_box_predictor_scope (line 402) | def first_stage_box_predictor_scope(self): method second_stage_box_predictor_scope (line 406) | def second_stage_box_predictor_scope(self): method max_num_proposals (line 410) | def max_num_proposals(self): method preprocess (line 425) | def preprocess(self, inputs): method predict (line 453) | def predict(self, preprocessed_inputs): method _predict_second_stage (line 556) | def _predict_second_stage(self, rpn_box_encodings, method _extract_rpn_feature_maps (line 636) | def _extract_rpn_feature_maps(self, preprocessed_inputs): method _predict_rpn_proposals (line 676) | def _predict_rpn_proposals(self, rpn_box_predictor_features): method _remove_invalid_anchors_and_predictions (line 716) | def _remove_invalid_anchors_and_predictions( method _flatten_first_two_dimensions (line 764) | def _flatten_first_two_dimensions(self, inputs): method postprocess (line 783) | def postprocess(self, prediction_dict): method _postprocess_rpn (line 838) | def _postprocess_rpn(self, method _format_groundtruth_data (line 925) | def _format_groundtruth_data(self, image_shape): method _sample_box_classifier_minibatch (line 957) | def _sample_box_classifier_minibatch(self, method _compute_second_stage_input_feature_maps (line 993) | def _compute_second_stage_input_feature_maps(self, features_to_crop, method _postprocess_box_classifier (line 1030) | def _postprocess_box_classifier(self, method _batch_decode_refined_boxes (line 1107) | def _batch_decode_refined_boxes(self, refined_box_encodings, proposal_... method loss (line 1132) | def loss(self, prediction_dict, scope=None): method _loss_rpn (line 1176) | def _loss_rpn(self, method _loss_box_classifier (line 1253) | def _loss_box_classifier(self, method _padded_batched_proposals_indicator (line 1352) | def _padded_batched_proposals_indicator(self, method _unpad_proposals_and_apply_hard_mining (line 1371) | def _unpad_proposals_and_apply_hard_mining(self, method restore_fn (line 1416) | def restore_fn(self, checkpoint_path, from_detection_checkpoint=True): FILE: object_detector_app/object_detection/meta_architectures/faster_rcnn_meta_arch_test.py class FasterRCNNMetaArchTest (line 23) | class FasterRCNNMetaArchTest( method test_postprocess_second_stage_only_inference_mode_with_masks (line 26) | def test_postprocess_second_stage_only_inference_mode_with_masks(self): FILE: object_detector_app/object_detection/meta_architectures/faster_rcnn_meta_arch_test_lib.py class FakeFasterRCNNFeatureExtractor (line 34) | class FakeFasterRCNNFeatureExtractor( method __init__ (line 38) | def __init__(self): method preprocess (line 45) | def preprocess(self, resized_inputs): method _extract_proposal_features (line 48) | def _extract_proposal_features(self, preprocessed_inputs, scope): method _extract_box_classifier_features (line 53) | def _extract_box_classifier_features(self, proposal_feature_maps, scope): class FasterRCNNMetaArchTestBase (line 59) | class FasterRCNNMetaArchTestBase(tf.test.TestCase): method _build_arg_scope_with_hyperparams (line 62) | def _build_arg_scope_with_hyperparams(self, method _get_second_stage_box_predictor_text_proto (line 69) | def _get_second_stage_box_predictor_text_proto(self): method _get_second_stage_box_predictor (line 92) | def _get_second_stage_box_predictor(self, num_classes, is_training): method _get_model (line 102) | def _get_model(self, box_predictor, **common_kwargs): method _build_model (line 110) | def _build_model(self, method test_predict_gives_correct_shapes_in_inference_mode_first_stage_only (line 229) | def test_predict_gives_correct_shapes_in_inference_mode_first_stage_only( method test_predict_gives_valid_anchors_in_training_mode_first_stage_only (line 285) | def test_predict_gives_valid_anchors_in_training_mode_first_stage_only... method test_predict_gives_correct_shapes_in_inference_mode_both_stages (line 338) | def test_predict_gives_correct_shapes_in_inference_mode_both_stages(se... method test_predict_gives_correct_shapes_in_train_mode_both_stages (line 373) | def test_predict_gives_correct_shapes_in_train_mode_both_stages(self): method test_postprocess_first_stage_only_inference_mode (line 425) | def test_postprocess_first_stage_only_inference_mode(self): method test_postprocess_first_stage_only_train_mode (line 478) | def test_postprocess_first_stage_only_train_mode(self): method test_postprocess_second_stage_only_inference_mode (line 537) | def test_postprocess_second_stage_only_inference_mode(self): method test_loss_first_stage_only_mode (line 574) | def test_loss_first_stage_only_mode(self): method test_loss_full (line 624) | def test_loss_full(self): method test_loss_full_zero_padded_proposals (line 704) | def test_loss_full_zero_padded_proposals(self): method test_loss_full_zero_padded_proposals_nonzero_loss_with_two_images (line 775) | def test_loss_full_zero_padded_proposals_nonzero_loss_with_two_images(... method test_loss_with_hard_mining (line 874) | def test_loss_with_hard_mining(self): method test_restore_fn_classification (line 960) | def test_restore_fn_classification(self): method test_restore_fn_detection (line 994) | def test_restore_fn_detection(self): FILE: object_detector_app/object_detection/meta_architectures/rfcn_meta_arch.py class RFCNMetaArch (line 48) | class RFCNMetaArch(faster_rcnn_meta_arch.FasterRCNNMetaArch): method __init__ (line 51) | def __init__(self, method _predict_second_stage (line 193) | def _predict_second_stage(self, rpn_box_encodings, FILE: object_detector_app/object_detection/meta_architectures/rfcn_meta_arch_test.py class RFCNMetaArchTest (line 24) | class RFCNMetaArchTest( method _get_second_stage_box_predictor_text_proto (line 27) | def _get_second_stage_box_predictor_text_proto(self): method _get_model (line 50) | def _get_model(self, box_predictor, **common_kwargs): FILE: object_detector_app/object_detection/meta_architectures/ssd_meta_arch.py class SSDFeatureExtractor (line 37) | class SSDFeatureExtractor(object): method __init__ (line 40) | def __init__(self, method preprocess (line 51) | def preprocess(self, resized_inputs): method extract_features (line 65) | def extract_features(self, preprocessed_inputs): class SSDMetaArch (line 82) | class SSDMetaArch(model.DetectionModel): method __init__ (line 85) | def __init__(self, method anchors (line 183) | def anchors(self): method preprocess (line 190) | def preprocess(self, inputs): method predict (line 215) | def predict(self, preprocessed_inputs): method _add_box_predictions_to_feature_maps (line 254) | def _add_box_predictions_to_feature_maps(self, feature_maps): method _get_feature_map_spatial_dims (line 316) | def _get_feature_map_spatial_dims(self, feature_maps): method postprocess (line 331) | def postprocess(self, prediction_dict): method loss (line 383) | def loss(self, prediction_dict, scope=None): method _assign_targets (line 445) | def _assign_targets(self, groundtruth_boxes_list, groundtruth_classes_... method _summarize_input (line 484) | def _summarize_input(self, groundtruth_boxes_list, match_list): method _apply_hard_mining (line 517) | def _apply_hard_mining(self, location_losses, cls_losses, prediction_d... method restore_fn (line 565) | def restore_fn(self, checkpoint_path, from_detection_checkpoint=True): FILE: object_detector_app/object_detection/meta_architectures/ssd_meta_arch_test.py class FakeSSDFeatureExtractor (line 33) | class FakeSSDFeatureExtractor(ssd_meta_arch.SSDFeatureExtractor): method __init__ (line 35) | def __init__(self): method preprocess (line 39) | def preprocess(self, resized_inputs): method extract_features (line 42) | def extract_features(self, preprocessed_inputs): class MockAnchorGenerator2x2 (line 49) | class MockAnchorGenerator2x2(anchor_generator.AnchorGenerator): method name_scope (line 52) | def name_scope(self): method num_anchors_per_location (line 55) | def num_anchors_per_location(self): method _generate (line 58) | def _generate(self, feature_map_shape_list): class SsdMetaArchTest (line 66) | class SsdMetaArchTest(tf.test.TestCase): method setUp (line 68) | def setUp(self): method test_predict_results_have_correct_keys_and_shapes (line 119) | def test_predict_results_have_correct_keys_and_shapes(self): method test_postprocess_results_are_correct (line 143) | def test_postprocess_results_are_correct(self): method test_loss_results_are_correct (line 181) | def test_loss_results_are_correct(self): method test_restore_fn_detection (line 210) | def test_restore_fn_detection(self): method test_restore_fn_classification (line 223) | def test_restore_fn_classification(self): FILE: object_detector_app/object_detection/models/faster_rcnn_inception_resnet_v2_feature_extractor.py class FasterRCNNInceptionResnetV2FeatureExtractor (line 34) | class FasterRCNNInceptionResnetV2FeatureExtractor( method __init__ (line 38) | def __init__(self, method preprocess (line 59) | def preprocess(self, resized_inputs): method _extract_proposal_features (line 75) | def _extract_proposal_features(self, preprocessed_inputs, scope): method _extract_box_classifier_features (line 112) | def _extract_box_classifier_features(self, proposal_feature_maps, scope): method restore_from_classification_checkpoint_fn (line 169) | def restore_from_classification_checkpoint_fn( FILE: object_detector_app/object_detection/models/faster_rcnn_inception_resnet_v2_feature_extractor_test.py class FasterRcnnInceptionResnetV2FeatureExtractorTest (line 23) | class FasterRcnnInceptionResnetV2FeatureExtractorTest(tf.test.TestCase): method _build_feature_extractor (line 25) | def _build_feature_extractor(self, first_stage_features_stride): method test_extract_proposal_features_returns_expected_size (line 32) | def test_extract_proposal_features_returns_expected_size(self): method test_extract_proposal_features_stride_eight (line 47) | def test_extract_proposal_features_stride_eight(self): method test_extract_proposal_features_half_size_input (line 62) | def test_extract_proposal_features_half_size_input(self): method test_extract_proposal_features_dies_on_invalid_stride (line 77) | def test_extract_proposal_features_dies_on_invalid_stride(self): method test_extract_proposal_features_dies_with_incorrect_rank_inputs (line 81) | def test_extract_proposal_features_dies_with_incorrect_rank_inputs(self): method test_extract_box_classifier_features_returns_expected_size (line 90) | def test_extract_box_classifier_features_returns_expected_size(self): FILE: object_detector_app/object_detection/models/faster_rcnn_resnet_v1_feature_extractor.py class FasterRCNNResnetV1FeatureExtractor (line 36) | class FasterRCNNResnetV1FeatureExtractor( method __init__ (line 40) | def __init__(self, method preprocess (line 67) | def preprocess(self, resized_inputs): method _extract_proposal_features (line 85) | def _extract_proposal_features(self, preprocessed_inputs, scope): method _extract_box_classifier_features (line 131) | def _extract_box_classifier_features(self, proposal_feature_maps, scope): class FasterRCNNResnet50FeatureExtractor (line 164) | class FasterRCNNResnet50FeatureExtractor(FasterRCNNResnetV1FeatureExtrac... method __init__ (line 167) | def __init__(self, class FasterRCNNResnet101FeatureExtractor (line 189) | class FasterRCNNResnet101FeatureExtractor(FasterRCNNResnetV1FeatureExtra... method __init__ (line 192) | def __init__(self, class FasterRCNNResnet152FeatureExtractor (line 214) | class FasterRCNNResnet152FeatureExtractor(FasterRCNNResnetV1FeatureExtra... method __init__ (line 217) | def __init__(self, FILE: object_detector_app/object_detection/models/faster_rcnn_resnet_v1_feature_extractor_test.py class FasterRcnnResnetV1FeatureExtractorTest (line 24) | class FasterRcnnResnetV1FeatureExtractorTest(tf.test.TestCase): method _build_feature_extractor (line 26) | def _build_feature_extractor(self, method test_extract_proposal_features_returns_expected_size (line 43) | def test_extract_proposal_features_returns_expected_size(self): method test_extract_proposal_features_stride_eight (line 59) | def test_extract_proposal_features_stride_eight(self): method test_extract_proposal_features_half_size_input (line 74) | def test_extract_proposal_features_half_size_input(self): method test_extract_proposal_features_dies_on_invalid_stride (line 89) | def test_extract_proposal_features_dies_on_invalid_stride(self): method test_extract_proposal_features_dies_on_very_small_images (line 93) | def test_extract_proposal_features_dies_on_very_small_images(self): method test_extract_proposal_features_dies_with_incorrect_rank_inputs (line 109) | def test_extract_proposal_features_dies_with_incorrect_rank_inputs(self): method test_extract_box_classifier_features_returns_expected_size (line 118) | def test_extract_box_classifier_features_returns_expected_size(self): FILE: object_detector_app/object_detection/models/feature_map_generators.py function get_depth_fn (line 32) | def get_depth_fn(depth_multiplier, min_depth): function multi_resolution_feature_maps (line 48) | def multi_resolution_feature_maps(feature_map_layout, depth_multiplier, FILE: object_detector_app/object_detection/models/feature_map_generators_test.py class MultiResolutionFeatureMapGeneratorTest (line 38) | class MultiResolutionFeatureMapGeneratorTest(tf.test.TestCase): method test_get_expected_feature_map_shapes_with_inception_v2 (line 40) | def test_get_expected_feature_map_shapes_with_inception_v2(self): method test_get_expected_feature_map_shapes_with_inception_v3 (line 69) | def test_get_expected_feature_map_shapes_with_inception_v3(self): class GetDepthFunctionTest (line 100) | class GetDepthFunctionTest(tf.test.TestCase): method test_return_min_depth_when_multiplier_is_small (line 102) | def test_return_min_depth_when_multiplier_is_small(self): method test_return_correct_depth_with_multiplier (line 107) | def test_return_correct_depth_with_multiplier(self): FILE: object_detector_app/object_detection/models/ssd_feature_extractor_test.py class SsdFeatureExtractorTestBase (line 24) | class SsdFeatureExtractorTestBase(object): method _validate_features_shape (line 26) | def _validate_features_shape(self, method _create_feature_extractor (line 49) | def _create_feature_extractor(self, depth_multiplier): method check_extract_features_returns_correct_shape (line 59) | def check_extract_features_returns_correct_shape( method check_extract_features_raises_error_with_invalid_image_size (line 71) | def check_extract_features_raises_error_with_invalid_image_size( method check_feature_extractor_variables_under_scope (line 86) | def check_feature_extractor_variables_under_scope(self, FILE: object_detector_app/object_detection/models/ssd_inception_v2_feature_extractor.py class SSDInceptionV2FeatureExtractor (line 26) | class SSDInceptionV2FeatureExtractor(ssd_meta_arch.SSDFeatureExtractor): method __init__ (line 29) | def __init__(self, method preprocess (line 45) | def preprocess(self, resized_inputs): method extract_features (line 60) | def extract_features(self, preprocessed_inputs): FILE: object_detector_app/object_detection/models/ssd_inception_v2_feature_extractor_test.py class SsdInceptionV2FeatureExtractorTest (line 24) | class SsdInceptionV2FeatureExtractorTest( method _create_feature_extractor (line 28) | def _create_feature_extractor(self, depth_multiplier): method test_extract_features_returns_correct_shapes_128 (line 41) | def test_extract_features_returns_correct_shapes_128(self): method test_extract_features_returns_correct_shapes_299 (line 51) | def test_extract_features_returns_correct_shapes_299(self): method test_extract_features_returns_correct_shapes_enforcing_min_depth (line 61) | def test_extract_features_returns_correct_shapes_enforcing_min_depth(s... method test_extract_features_raises_error_with_invalid_image_size (line 71) | def test_extract_features_raises_error_with_invalid_image_size(self): method test_preprocess_returns_correct_value_range (line 78) | def test_preprocess_returns_correct_value_range(self): method test_variables_only_created_in_scope (line 87) | def test_variables_only_created_in_scope(self): FILE: object_detector_app/object_detection/models/ssd_mobilenet_v1_feature_extractor.py class SSDMobileNetV1FeatureExtractor (line 27) | class SSDMobileNetV1FeatureExtractor(ssd_meta_arch.SSDFeatureExtractor): method __init__ (line 30) | def __init__(self, method preprocess (line 46) | def preprocess(self, resized_inputs): method extract_features (line 61) | def extract_features(self, preprocessed_inputs): FILE: object_detector_app/object_detection/models/ssd_mobilenet_v1_feature_extractor_test.py class SsdMobilenetV1FeatureExtractorTest (line 24) | class SsdMobilenetV1FeatureExtractorTest( method _create_feature_extractor (line 27) | def _create_feature_extractor(self, depth_multiplier): method test_extract_features_returns_correct_shapes_128 (line 40) | def test_extract_features_returns_correct_shapes_128(self): method test_extract_features_returns_correct_shapes_299 (line 50) | def test_extract_features_returns_correct_shapes_299(self): method test_extract_features_returns_correct_shapes_enforcing_min_depth (line 60) | def test_extract_features_returns_correct_shapes_enforcing_min_depth(s... method test_extract_features_raises_error_with_invalid_image_size (line 70) | def test_extract_features_raises_error_with_invalid_image_size(self): method test_preprocess_returns_correct_value_range (line 77) | def test_preprocess_returns_correct_value_range(self): method test_variables_only_created_in_scope (line 86) | def test_variables_only_created_in_scope(self): FILE: object_detector_app/object_detection/train.py function get_configs_from_pipeline_file (line 91) | def get_configs_from_pipeline_file(): function get_configs_from_multiple_files (line 112) | def get_configs_from_multiple_files(): function main (line 140) | def main(_): FILE: object_detector_app/object_detection/trainer.py function _create_input_queue (line 38) | def _create_input_queue(batch_size_per_clone, create_tensor_dict_fn, function _get_inputs (line 81) | def _get_inputs(input_queue, num_classes): function _create_losses (line 112) | def _create_losses(input_queue, create_model_fn): function train (line 138) | def train(create_tensor_dict_fn, create_model_fn, train_config, master, ... FILE: object_detector_app/object_detection/trainer_test.py function get_input_function (line 32) | def get_input_function(): class FakeDetectionModel (line 47) | class FakeDetectionModel(model.DetectionModel): method __init__ (line 50) | def __init__(self): method preprocess (line 57) | def preprocess(self, inputs): method predict (line 69) | def predict(self, preprocessed_inputs): method postprocess (line 90) | def postprocess(self, prediction_dict, **params): method loss (line 108) | def loss(self, prediction_dict): method restore_fn (line 142) | def restore_fn(self, checkpoint_path, from_detection_checkpoint=True): class TrainerTest (line 159) | class TrainerTest(tf.test.TestCase): method test_configure_trainer_and_train_two_steps (line 161) | def test_configure_trainer_and_train_two_steps(self): FILE: object_detector_app/object_detection/utils/category_util.py function load_categories_from_csv_file (line 22) | def load_categories_from_csv_file(csv_path): function save_categories_to_csv_file (line 60) | def save_categories_to_csv_file(categories, csv_path): FILE: object_detector_app/object_detection/utils/category_util_test.py class EvalUtilTest (line 24) | class EvalUtilTest(tf.test.TestCase): method test_load_categories_from_csv_file (line 26) | def test_load_categories_from_csv_file(self): method test_save_categories_to_csv_file (line 41) | def test_save_categories_to_csv_file(self): FILE: object_detector_app/object_detection/utils/dataset_util.py function int64_feature (line 21) | def int64_feature(value): function int64_list_feature (line 25) | def int64_list_feature(value): function bytes_feature (line 29) | def bytes_feature(value): function bytes_list_feature (line 33) | def bytes_list_feature(value): function float_list_feature (line 37) | def float_list_feature(value): function read_examples_list (line 41) | def read_examples_list(path): function recursive_parse_xml_to_dict (line 63) | def recursive_parse_xml_to_dict(xml): FILE: object_detector_app/object_detection/utils/dataset_util_test.py class DatasetUtilTest (line 24) | class DatasetUtilTest(tf.test.TestCase): method test_read_examples_list (line 26) | def test_read_examples_list(self): FILE: object_detector_app/object_detection/utils/label_map_util.py function create_category_index (line 25) | def create_category_index(categories): function convert_label_map_to_categories (line 44) | def convert_label_map_to_categories(label_map, function load_labelmap (line 95) | def load_labelmap(path): function get_label_map_dict (line 113) | def get_label_map_dict(label_map_path): FILE: object_detector_app/object_detection/utils/label_map_util_test.py class LabelMapUtilTest (line 26) | class LabelMapUtilTest(tf.test.TestCase): method _generate_label_map (line 28) | def _generate_label_map(self, num_classes): method test_get_label_map_dict (line 37) | def test_get_label_map_dict(self): method test_keep_categories_with_unique_id (line 56) | def test_keep_categories_with_unique_id(self): method test_convert_label_map_to_categories_no_label_map (line 87) | def test_convert_label_map_to_categories_no_label_map(self): method test_convert_label_map_to_coco_categories (line 102) | def test_convert_label_map_to_coco_categories(self): method test_convert_label_map_to_coco_categories_with_few_classes (line 118) | def test_convert_label_map_to_coco_categories_with_few_classes(self): method test_create_category_index (line 131) | def test_create_category_index(self): FILE: object_detector_app/object_detection/utils/learning_schedules.py function exponential_decay_with_burnin (line 21) | def exponential_decay_with_burnin(global_step, function manual_stepping (line 62) | def manual_stepping(global_step, boundaries, rates): FILE: object_detector_app/object_detection/utils/learning_schedules_test.py class LearningSchedulesTest (line 22) | class LearningSchedulesTest(tf.test.TestCase): method testExponentialDecayWithBurnin (line 24) | def testExponentialDecayWithBurnin(self): method testManualStepping (line 43) | def testManualStepping(self): FILE: object_detector_app/object_detection/utils/metrics.py function compute_precision_recall (line 22) | def compute_precision_recall(scores, labels, num_gt): function compute_average_precision (line 70) | def compute_average_precision(precision, recall): function compute_cor_loc (line 122) | def compute_cor_loc(num_gt_imgs_per_class, FILE: object_detector_app/object_detection/utils/metrics_test.py class MetricsTest (line 24) | class MetricsTest(tf.test.TestCase): method test_compute_cor_loc (line 26) | def test_compute_cor_loc(self): method test_compute_cor_loc_nans (line 35) | def test_compute_cor_loc_nans(self): method test_compute_precision_recall (line 44) | def test_compute_precision_recall(self): method test_compute_average_precision (line 55) | def test_compute_average_precision(self): method test_compute_precision_recall_and_ap_no_groundtruth (line 65) | def test_compute_precision_recall_and_ap_no_groundtruth(self): FILE: object_detector_app/object_detection/utils/np_box_list.py class BoxList (line 21) | class BoxList(object): method __init__ (line 33) | def __init__(self, data): method num_boxes (line 54) | def num_boxes(self): method get_extra_fields (line 58) | def get_extra_fields(self): method has_field (line 62) | def has_field(self, field): method add_field (line 65) | def add_field(self, field, field_data): method get (line 82) | def get(self): method get_field (line 90) | def get_field(self, field): method get_coordinates (line 106) | def get_coordinates(self): method _is_valid_boxes (line 119) | def _is_valid_boxes(self, data): FILE: object_detector_app/object_detection/utils/np_box_list_ops.py class SortOrder (line 29) | class SortOrder(object): function area (line 40) | def area(boxlist): function intersection (line 53) | def intersection(boxlist1, boxlist2): function iou (line 66) | def iou(boxlist1, boxlist2): function ioa (line 79) | def ioa(boxlist1, boxlist2): function gather (line 96) | def gather(boxlist, indices, fields=None): function sort_by_field (line 131) | def sort_by_field(boxlist, field, order=SortOrder.DESCEND): function non_max_suppression (line 162) | def non_max_suppression(boxlist, function multi_class_non_max_suppression (line 236) | def multi_class_non_max_suppression(boxlist, score_thresh, iou_thresh, function scale (line 309) | def scale(boxlist, y_scale, x_scale): function clip_to_window (line 335) | def clip_to_window(boxlist, window): function prune_non_overlapping_boxes (line 369) | def prune_non_overlapping_boxes(boxlist1, boxlist2, minoverlap=0.0): function prune_outside_window (line 392) | def prune_outside_window(boxlist, window): function concatenate (line 425) | def concatenate(boxlists, fields=None): function filter_scores_greater_than (line 474) | def filter_scores_greater_than(boxlist, thresh): function change_coordinate_frame (line 507) | def change_coordinate_frame(boxlist, window): function _copy_extra_fields (line 537) | def _copy_extra_fields(boxlist_to_copy_to, boxlist_to_copy_from): function _update_valid_indices_by_removing_high_iou_boxes (line 552) | def _update_valid_indices_by_removing_high_iou_boxes( FILE: object_detector_app/object_detection/utils/np_box_list_ops_test.py class AreaRelatedTest (line 25) | class AreaRelatedTest(tf.test.TestCase): method setUp (line 27) | def setUp(self): method test_area (line 36) | def test_area(self): method test_intersection (line 41) | def test_intersection(self): method test_iou (line 47) | def test_iou(self): method test_ioa (line 54) | def test_ioa(self): method test_scale (line 68) | def test_scale(self): method test_clip_to_window (line 79) | def test_clip_to_window(self): method test_prune_outside_window (line 94) | def test_prune_outside_window(self): method test_concatenate (line 108) | def test_concatenate(self): method test_change_coordinate_frame (line 126) | def test_change_coordinate_frame(self): method test_filter_scores_greater_than (line 137) | def test_filter_scores_greater_than(self): class GatherOpsTest (line 151) | class GatherOpsTest(tf.test.TestCase): method setUp (line 153) | def setUp(self): method test_gather_with_out_of_range_indices (line 164) | def test_gather_with_out_of_range_indices(self): method test_gather_with_invalid_multidimensional_indices (line 170) | def test_gather_with_invalid_multidimensional_indices(self): method test_gather_without_fields_specified (line 176) | def test_gather_without_fields_specified(self): method test_gather_with_invalid_field_specified (line 194) | def test_gather_with_invalid_field_specified(self): method test_gather_with_fields_specified (line 204) | def test_gather_with_fields_specified(self): class SortByFieldTest (line 222) | class SortByFieldTest(tf.test.TestCase): method setUp (line 224) | def setUp(self): method test_with_invalid_field (line 235) | def test_with_invalid_field(self): method test_with_invalid_sorting_order (line 241) | def test_with_invalid_sorting_order(self): method test_with_descending_sorting (line 245) | def test_with_descending_sorting(self): method test_with_ascending_sorting (line 256) | def test_with_ascending_sorting(self): class NonMaximumSuppressionTest (line 270) | class NonMaximumSuppressionTest(tf.test.TestCase): method setUp (line 272) | def setUp(self): method test_with_no_scores_field (line 282) | def test_with_no_scores_field(self): method test_nms_disabled_max_output_size_equals_three (line 291) | def test_nms_disabled_max_output_size_equals_three(self): method test_select_from_three_clusters (line 304) | def test_select_from_three_clusters(self): method test_select_at_most_two_from_three_clusters (line 317) | def test_select_at_most_two_from_three_clusters(self): method test_select_at_most_thirty_from_three_clusters (line 329) | def test_select_at_most_thirty_from_three_clusters(self): method test_select_from_ten_indentical_boxes (line 342) | def test_select_from_ten_indentical_boxes(self): method test_different_iou_threshold (line 353) | def test_different_iou_threshold(self): method test_multiclass_nms (line 385) | def test_multiclass_nms(self): FILE: object_detector_app/object_detection/utils/np_box_list_test.py class BoxListTest (line 24) | class BoxListTest(tf.test.TestCase): method test_invalid_box_data (line 26) | def test_invalid_box_data(self): method test_has_field_with_existed_field (line 39) | def test_has_field_with_existed_field(self): method test_has_field_with_nonexisted_field (line 46) | def test_has_field_with_nonexisted_field(self): method test_get_field_with_existed_field (line 53) | def test_get_field_with_existed_field(self): method test_get_field_with_nonexited_field (line 60) | def test_get_field_with_nonexited_field(self): class AddExtraFieldTest (line 69) | class AddExtraFieldTest(tf.test.TestCase): method setUp (line 71) | def setUp(self): method test_add_already_existed_field (line 77) | def test_add_already_existed_field(self): method test_add_invalid_field_data (line 81) | def test_add_invalid_field_data(self): method test_add_single_dimensional_field_data (line 88) | def test_add_single_dimensional_field_data(self): method test_add_multi_dimensional_field_data (line 94) | def test_add_multi_dimensional_field_data(self): method test_get_extra_fields (line 101) | def test_get_extra_fields(self): method test_get_coordinates (line 114) | def test_get_coordinates(self): method test_num_boxes (line 127) | def test_num_boxes(self): FILE: object_detector_app/object_detection/utils/np_box_ops.py function area (line 25) | def area(boxes): function intersection (line 37) | def intersection(boxes1, boxes2): function iou (line 63) | def iou(boxes1, boxes2): function ioa (line 81) | def ioa(boxes1, boxes2): FILE: object_detector_app/object_detection/utils/np_box_ops_test.py class BoxOpsTests (line 24) | class BoxOpsTests(tf.test.TestCase): method setUp (line 26) | def setUp(self): method testArea (line 35) | def testArea(self): method testIntersection (line 40) | def testIntersection(self): method testIOU (line 46) | def testIOU(self): method testIOA (line 53) | def testIOA(self): FILE: object_detector_app/object_detection/utils/object_detection_evaluation.py class ObjectDetectionEvaluation (line 38) | class ObjectDetectionEvaluation(object): method __init__ (line 41) | def __init__(self, method clear_detections (line 67) | def clear_detections(self): method add_single_ground_truth_image_info (line 77) | def add_single_ground_truth_image_info(self, method add_single_detected_image_info (line 110) | def add_single_detected_image_info(self, image_key, detected_boxes, method _update_ground_truth_statistics (line 160) | def _update_ground_truth_statistics(self, groundtruth_class_labels, method evaluate (line 182) | def evaluate(self): method get_eval_result (line 221) | def get_eval_result(self): class EvalResult (line 227) | class EvalResult(object): method __init__ (line 229) | def __init__(self, average_precisions, precisions, recalls, all_corloc): FILE: object_detector_app/object_detection/utils/object_detection_evaluation_test.py class ObjectDetectionEvaluationTest (line 24) | class ObjectDetectionEvaluationTest(tf.test.TestCase): method setUp (line 26) | def setUp(self): method test_add_single_ground_truth_image_info (line 60) | def test_add_single_ground_truth_image_info(self): method test_add_single_detected_image_info (line 79) | def test_add_single_detected_image_info(self): method test_evaluate (line 96) | def test_evaluate(self): FILE: object_detector_app/object_detection/utils/ops.py function expanded_shape (line 27) | def expanded_shape(orig_shape, start_dim, num_dims): function normalized_to_image_coordinates (line 49) | def normalized_to_image_coordinates(normalized_boxes, image_shape, function meshgrid (line 77) | def meshgrid(x, y): function pad_to_multiple (line 116) | def pad_to_multiple(tensor, multiple): function padded_one_hot_encoding (line 176) | def padded_one_hot_encoding(indices, depth, left_pad): function dense_to_sparse_boxes (line 218) | def dense_to_sparse_boxes(dense_locations, dense_num_boxes, num_classes): function indices_to_dense_vector (line 249) | def indices_to_dense_vector(indices, function retain_groundtruth (line 281) | def retain_groundtruth(tensor_dict, valid_indices): function retain_groundtruth_with_positive_classes (line 334) | def retain_groundtruth_with_positive_classes(tensor_dict): function filter_groundtruth_with_nan_box_coordinates (line 360) | def filter_groundtruth_with_nan_box_coordinates(tensor_dict): function normalize_to_target (line 384) | def normalize_to_target(inputs, function position_sensitive_crop_regions (line 461) | def position_sensitive_crop_regions(image, function reframe_box_masks_to_image_masks (line 611) | def reframe_box_masks_to_image_masks(box_masks, boxes, image_height, FILE: object_detector_app/object_detection/utils/ops_test.py class NormalizedToImageCoordinatesTest (line 24) | class NormalizedToImageCoordinatesTest(tf.test.TestCase): method test_normalized_to_image_coordinates (line 26) | def test_normalized_to_image_coordinates(self): class MeshgridTest (line 45) | class MeshgridTest(tf.test.TestCase): method test_meshgrid_numpy_comparison (line 47) | def test_meshgrid_numpy_comparison(self): method test_meshgrid_multidimensional (line 58) | def test_meshgrid_multidimensional(self): class OpsTestPadToMultiple (line 86) | class OpsTestPadToMultiple(tf.test.TestCase): method test_zero_padding (line 88) | def test_zero_padding(self): method test_no_padding (line 95) | def test_no_padding(self): method test_padding (line 102) | def test_padding(self): class OpsTestPaddedOneHotEncoding (line 110) | class OpsTestPaddedOneHotEncoding(tf.test.TestCase): method test_correct_one_hot_tensor_with_no_pad (line 112) | def test_correct_one_hot_tensor_with_no_pad(self): method test_correct_one_hot_tensor_with_pad_one (line 124) | def test_correct_one_hot_tensor_with_pad_one(self): method test_correct_one_hot_tensor_with_pad_three (line 136) | def test_correct_one_hot_tensor_with_pad_three(self): method test_correct_padded_one_hot_tensor_with_empty_indices (line 148) | def test_correct_padded_one_hot_tensor_with_empty_indices(self): method test_return_none_on_zero_depth (line 160) | def test_return_none_on_zero_depth(self): method test_raise_value_error_on_rank_two_input (line 165) | def test_raise_value_error_on_rank_two_input(self): method test_raise_value_error_on_negative_pad (line 170) | def test_raise_value_error_on_negative_pad(self): method test_raise_value_error_on_float_pad (line 175) | def test_raise_value_error_on_float_pad(self): method test_raise_value_error_on_float_depth (line 180) | def test_raise_value_error_on_float_depth(self): class OpsDenseToSparseBoxesTest (line 186) | class OpsDenseToSparseBoxesTest(tf.test.TestCase): method test_return_all_boxes_when_all_input_boxes_are_valid (line 188) | def test_return_all_boxes_when_all_input_boxes_are_valid(self): method test_return_only_valid_boxes_when_input_contains_invalid_boxes (line 213) | def test_return_only_valid_boxes_when_input_contains_invalid_boxes(self): class OpsTestIndicesToDenseVector (line 241) | class OpsTestIndicesToDenseVector(tf.test.TestCase): method test_indices_to_dense_vector (line 243) | def test_indices_to_dense_vector(self): method test_indices_to_dense_vector_size_at_inference (line 259) | def test_indices_to_dense_vector_size_at_inference(self): method test_indices_to_dense_vector_int (line 279) | def test_indices_to_dense_vector_int(self): method test_indices_to_dense_vector_custom_values (line 296) | def test_indices_to_dense_vector_custom_values(self): method test_indices_to_dense_vector_all_indices_as_input (line 318) | def test_indices_to_dense_vector_all_indices_as_input(self): method test_indices_to_dense_vector_empty_indices_as_input (line 333) | def test_indices_to_dense_vector_empty_indices_as_input(self): class GroundtruthFilterTest (line 348) | class GroundtruthFilterTest(tf.test.TestCase): method test_filter_groundtruth (line 350) | def test_filter_groundtruth(self): method test_filter_with_missing_fields (line 415) | def test_filter_with_missing_fields(self): method test_filter_with_empty_fields (line 447) | def test_filter_with_empty_fields(self): method test_filter_with_empty_groundtruth_boxes (line 498) | def test_filter_with_empty_groundtruth_boxes(self): class RetainGroundTruthWithPositiveClasses (line 537) | class RetainGroundTruthWithPositiveClasses(tf.test.TestCase): method test_filter_groundtruth_with_positive_classes (line 539) | def test_filter_groundtruth_with_positive_classes(self): class GroundtruthFilterWithNanBoxTest (line 605) | class GroundtruthFilterWithNanBoxTest(tf.test.TestCase): method test_filter_groundtruth_with_nan_box_coordinates (line 607) | def test_filter_groundtruth_with_nan_box_coordinates(self): class OpsTestNormalizeToTarget (line 642) | class OpsTestNormalizeToTarget(tf.test.TestCase): method test_create_normalize_to_target (line 644) | def test_create_normalize_to_target(self): method test_invalid_dim (line 654) | def test_invalid_dim(self): method test_invalid_target_norm_values (line 663) | def test_invalid_target_norm_values(self): method test_correct_output_shape (line 671) | def test_correct_output_shape(self): method test_correct_initial_output_values (line 680) | def test_correct_initial_output_values(self): method test_multiple_target_norm_values (line 694) | def test_multiple_target_norm_values(self): class OpsTestPositionSensitiveCropRegions (line 709) | class OpsTestPositionSensitiveCropRegions(tf.test.TestCase): method test_position_sensitive (line 711) | def test_position_sensitive(self): method test_position_sensitive_with_equal_channels (line 734) | def test_position_sensitive_with_equal_channels(self): method test_position_sensitive_with_single_bin (line 762) | def test_position_sensitive_with_single_bin(self): method test_raise_value_error_on_num_bins_less_than_one (line 783) | def test_raise_value_error_on_num_bins_less_than_one(self): method test_raise_value_error_on_non_divisible_crop_size (line 796) | def test_raise_value_error_on_non_divisible_crop_size(self): method test_raise_value_error_on_non_divisible_num_channels (line 810) | def test_raise_value_error_on_non_divisible_num_channels(self): method test_position_sensitive_with_global_pool_false (line 824) | def test_position_sensitive_with_global_pool_false(self): method test_position_sensitive_with_global_pool_false_and_known_boxes (line 863) | def test_position_sensitive_with_global_pool_false_and_known_boxes(self): method test_position_sensitive_with_global_pool_false_and_single_bin (line 900) | def test_position_sensitive_with_global_pool_false_and_single_bin(self): method test_position_sensitive_with_global_pool_false_and_do_global_pool (line 920) | def test_position_sensitive_with_global_pool_false_and_do_global_pool(... method test_raise_value_error_on_non_square_block_size (line 969) | def test_raise_value_error_on_non_square_block_size(self): class ReframeBoxMasksToImageMasksTest (line 984) | class ReframeBoxMasksToImageMasksTest(tf.test.TestCase): method testZeroImageOnEmptyMask (line 986) | def testZeroImageOnEmptyMask(self): method testMaskIsCenteredInImageWhenBoxIsCentered (line 1001) | def testMaskIsCenteredInImageWhenBoxIsCentered(self): method testMaskOffCenterRemainsOffCenterInImage (line 1016) | def testMaskOffCenterRemainsOffCenterInImage(self): FILE: object_detector_app/object_detection/utils/per_image_evaluation.py class PerImageEvaluation (line 28) | class PerImageEvaluation(object): method __init__ (line 31) | def __init__(self, method compute_object_detection_metrics (line 50) | def compute_object_detection_metrics(self, detected_boxes, detected_sc... method _compute_cor_loc (line 94) | def _compute_cor_loc(self, detected_boxes, detected_scores, method _compute_is_aclass_correctly_detected_in_image (line 131) | def _compute_is_aclass_correctly_detected_in_image( method _compute_tp_fp (line 158) | def _compute_tp_fp(self, detected_boxes, detected_scores, method _remove_invalid_boxes (line 203) | def _remove_invalid_boxes(self, detected_boxes, detected_scores, method _compute_tp_fp_for_single_class (line 210) | def _compute_tp_fp_for_single_class(self, detected_boxes, detected_sco... FILE: object_detector_app/object_detection/utils/per_image_evaluation_test.py class SingleClassTpFpWithDifficultBoxesTest (line 24) | class SingleClassTpFpWithDifficultBoxesTest(tf.test.TestCase): method setUp (line 26) | def setUp(self): method test_match_to_not_difficult_box (line 41) | def test_match_to_not_difficult_box(self): method test_match_to_difficult_box (line 52) | def test_match_to_difficult_box(self): class SingleClassTpFpNoDifficultBoxesTest (line 64) | class SingleClassTpFpNoDifficultBoxesTest(tf.test.TestCase): method setUp (line 66) | def setUp(self): method test_no_true_positives (line 84) | def test_no_true_positives(self): method test_one_true_positives_with_large_iou_threshold (line 95) | def test_one_true_positives_with_large_iou_threshold(self): method test_one_true_positives_with_very_small_iou_threshold (line 106) | def test_one_true_positives_with_very_small_iou_threshold(self): method test_two_true_positives_with_large_iou_threshold (line 117) | def test_two_true_positives_with_large_iou_threshold(self): class MultiClassesTpFpTest (line 129) | class MultiClassesTpFpTest(tf.test.TestCase): method test_tp_fp (line 131) | def test_tp_fp(self): class CorLocTest (line 160) | class CorLocTest(tf.test.TestCase): method test_compute_corloc_with_normal_iou_threshold (line 162) | def test_compute_corloc_with_normal_iou_threshold(self): method test_compute_corloc_with_very_large_iou_threshold (line 186) | def test_compute_corloc_with_very_large_iou_threshold(self): FILE: object_detector_app/object_detection/utils/shape_utils.py function _is_tensor (line 21) | def _is_tensor(t): function _set_dim_0 (line 33) | def _set_dim_0(t, d0): function pad_tensor (line 49) | def pad_tensor(t, length): function clip_tensor (line 75) | def clip_tensor(t, length): function pad_or_clip_tensor (line 94) | def pad_or_clip_tensor(t, length): FILE: object_detector_app/object_detection/utils/shape_utils_test.py class UtilTest (line 23) | class UtilTest(tf.test.TestCase): method test_pad_tensor_using_integer_input (line 25) | def test_pad_tensor_using_integer_input(self): method test_pad_tensor_using_tensor_input (line 39) | def test_pad_tensor_using_tensor_input(self): method test_clip_tensor_using_integer_input (line 50) | def test_clip_tensor_using_integer_input(self): method test_clip_tensor_using_tensor_input (line 64) | def test_clip_tensor_using_tensor_input(self): method test_pad_or_clip_tensor_using_integer_input (line 75) | def test_pad_or_clip_tensor_using_integer_input(self): method test_pad_or_clip_tensor_using_tensor_input (line 99) | def test_pad_or_clip_tensor_using_tensor_input(self): FILE: object_detector_app/object_detection/utils/static_shape.py function get_batch_size (line 22) | def get_batch_size(tensor_shape): function get_height (line 35) | def get_height(tensor_shape): function get_width (line 48) | def get_width(tensor_shape): function get_depth (line 61) | def get_depth(tensor_shape): FILE: object_detector_app/object_detection/utils/static_shape_test.py class StaticShapeTest (line 23) | class StaticShapeTest(tf.test.TestCase): method test_return_correct_batchSize (line 25) | def test_return_correct_batchSize(self): method test_return_correct_height (line 29) | def test_return_correct_height(self): method test_return_correct_width (line 33) | def test_return_correct_width(self): method test_return_correct_depth (line 37) | def test_return_correct_depth(self): method test_die_on_tensor_shape_with_rank_three (line 41) | def test_die_on_tensor_shape_with_rank_three(self): FILE: object_detector_app/object_detection/utils/test_utils.py class MockBoxCoder (line 27) | class MockBoxCoder(box_coder.BoxCoder): method code_size (line 31) | def code_size(self): method _encode (line 34) | def _encode(self, boxes, anchors): method _decode (line 37) | def _decode(self, rel_codes, anchors): class MockBoxPredictor (line 41) | class MockBoxPredictor(box_predictor.BoxPredictor): method __init__ (line 44) | def __init__(self, is_training, num_classes): method _predict (line 47) | def _predict(self, image_features, num_predictions_per_location): class MockAnchorGenerator (line 62) | class MockAnchorGenerator(anchor_generator.AnchorGenerator): method name_scope (line 65) | def name_scope(self): method num_anchors_per_location (line 68) | def num_anchors_per_location(self): method _generate (line 71) | def _generate(self, feature_map_shape_list): class MockMatcher (line 76) | class MockMatcher(matcher.Matcher): method _match (line 79) | def _match(self, similarity_matrix): function create_diagonal_gradient_image (line 83) | def create_diagonal_gradient_image(height, width, depth): function create_random_boxes (line 113) | def create_random_boxes(num_boxes, max_height, max_width): FILE: object_detector_app/object_detection/utils/test_utils_test.py class TestUtilsTest (line 24) | class TestUtilsTest(tf.test.TestCase): method test_diagonal_gradient_image (line 26) | def test_diagonal_gradient_image(self): method test_random_boxes (line 53) | def test_random_boxes(self): FILE: object_detector_app/object_detection/utils/variables_helper.py function filter_variables (line 28) | def filter_variables(variables, filter_regex_list, invert=False): function multiply_gradients_matching_regex (line 57) | def multiply_gradients_matching_regex(grads_and_vars, regex_list, multip... function freeze_gradients_matching_regex (line 79) | def freeze_gradients_matching_regex(grads_and_vars, regex_list): function get_variables_available_in_checkpoint (line 99) | def get_variables_available_in_checkpoint(variables, checkpoint_path): FILE: object_detector_app/object_detection/utils/variables_helper_test.py class FilterVariablesTest (line 24) | class FilterVariablesTest(tf.test.TestCase): method _create_variables (line 26) | def _create_variables(self): method test_return_all_variables_when_empty_regex (line 32) | def test_return_all_variables_when_empty_regex(self): method test_return_variables_which_do_not_match_single_regex (line 37) | def test_return_variables_which_do_not_match_single_regex(self): method test_return_variables_which_do_not_match_any_regex_in_list (line 43) | def test_return_variables_which_do_not_match_any_regex_in_list(self): method test_return_variables_matching_empty_regex_list (line 50) | def test_return_variables_matching_empty_regex_list(self): method test_return_variables_matching_some_regex_in_list (line 56) | def test_return_variables_matching_some_regex_in_list(self): class MultiplyGradientsMatchingRegexTest (line 65) | class MultiplyGradientsMatchingRegexTest(tf.test.TestCase): method _create_grads_and_vars (line 67) | def _create_grads_and_vars(self): method test_multiply_all_feature_extractor_variables (line 77) | def test_multiply_all_feature_extractor_variables(self): method test_multiply_all_bias_variables (line 90) | def test_multiply_all_bias_variables(self): class FreezeGradientsMatchingRegexTest (line 104) | class FreezeGradientsMatchingRegexTest(tf.test.TestCase): method _create_grads_and_vars (line 106) | def _create_grads_and_vars(self): method test_freeze_all_feature_extractor_variables (line 116) | def test_freeze_all_feature_extractor_variables(self): class GetVariablesAvailableInCheckpointTest (line 129) | class GetVariablesAvailableInCheckpointTest(tf.test.TestCase): method test_return_all_variables_from_checkpoint (line 131) | def test_return_all_variables_from_checkpoint(self): method test_return_variables_available_in_checkpoint (line 146) | def test_return_variables_available_in_checkpoint(self): method test_return_variables_available_an_checkpoint_with_dict_inputs (line 162) | def test_return_variables_available_an_checkpoint_with_dict_inputs(self): FILE: object_detector_app/object_detection/utils/visualization_utils.py function save_image_array_as_png (line 61) | def save_image_array_as_png(image, output_path): function encode_image_array_as_png_str (line 73) | def encode_image_array_as_png_str(image): function draw_bounding_box_on_image_array (line 90) | def draw_bounding_box_on_image_array(image, function draw_bounding_box_on_image (line 122) | def draw_bounding_box_on_image(image, function draw_bounding_boxes_on_image_array (line 181) | def draw_bounding_boxes_on_image_array(image, function draw_bounding_boxes_on_image (line 209) | def draw_bounding_boxes_on_image(image, function draw_keypoints_on_image_array (line 244) | def draw_keypoints_on_image_array(image, function draw_keypoints_on_image (line 265) | def draw_keypoints_on_image(image, function draw_mask_on_image_array (line 293) | def draw_mask_on_image_array(image, mask, color='red', alpha=0.7): function visualize_boxes_and_labels_on_image_array (line 323) | def visualize_boxes_and_labels_on_image_array(image, FILE: object_detector_app/object_detection/utils/visualization_utils_test.py class VisualizationUtilsTest (line 31) | class VisualizationUtilsTest(tf.test.TestCase): method create_colorful_test_image (line 33) | def create_colorful_test_image(self): method test_draw_bounding_box_on_image (line 53) | def test_draw_bounding_box_on_image(self): method test_draw_bounding_box_on_image_array (line 69) | def test_draw_bounding_box_on_image_array(self): method test_draw_bounding_boxes_on_image (line 86) | def test_draw_bounding_boxes_on_image(self): method test_draw_bounding_boxes_on_image_array (line 99) | def test_draw_bounding_boxes_on_image_array(self): method test_draw_keypoints_on_image (line 113) | def test_draw_keypoints_on_image(self): method test_draw_keypoints_on_image_array (line 125) | def test_draw_keypoints_on_image_array(self): method test_draw_mask_on_image_array (line 138) | def test_draw_mask_on_image_array(self): FILE: object_detector_app/object_detection_app.py function detect_objects (line 33) | def detect_objects(image_np, sess, detection_graph): function worker (line 64) | def worker(input_q, output_q): FILE: object_detector_app/object_detection_multithreading.py function detect_objects (line 33) | def detect_objects(image_np, sess, detection_graph): function worker (line 63) | def worker(input_q, output_q): function publish_detected_object (line 87) | def publish_detected_object(): FILE: object_detector_app/utils/app_utils.py class FPS (line 12) | class FPS: method __init__ (line 13) | def __init__(self): method start (line 20) | def start(self): method stop (line 25) | def stop(self): method update (line 29) | def update(self): method elapsed (line 34) | def elapsed(self): method fps (line 39) | def fps(self): class WebcamVideoStream (line 44) | class WebcamVideoStream: method __init__ (line 45) | def __init__(self, src, width, height): method start (line 57) | def start(self): method update (line 62) | def update(self): method read (line 72) | def read(self): method stop (line 76) | def stop(self): function standard_colors (line 81) | def standard_colors(): function color_name_to_rgb (line 110) | def color_name_to_rgb(): function draw_boxes_and_labels (line 117) | def draw_boxes_and_labels( FILE: object_detector_app/utils/test_app_utils.py class TestUtils (line 5) | class TestUtils(unittest.TestCase): method setUp (line 6) | def setUp(self): method test_all_colors (line 10) | def test_all_colors(self):