Python object_detection.models.feature_map_generators.get_depth_fn() Examples

The following are 30 code examples of object_detection.models.feature_map_generators.get_depth_fn(). You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may also want to check out all available functions/classes of the module object_detection.models.feature_map_generators , or try the search function .
Example #1
Source File: feature_map_generators_test.py    From object_detection_with_tensorflow with MIT License 5 votes vote down vote up
def test_return_correct_depth_with_multiplier(self):
    depth_fn = feature_map_generators.get_depth_fn(depth_multiplier=0.5,
                                                   min_depth=16)
    self.assertEqual(depth_fn(64), 32) 
Example #2
Source File: feature_map_generators_test.py    From moveo_ros with MIT License 5 votes vote down vote up
def test_return_min_depth_when_multiplier_is_small(self):
    depth_fn = feature_map_generators.get_depth_fn(depth_multiplier=0.5,
                                                   min_depth=16)
    self.assertEqual(depth_fn(16), 16) 
Example #3
Source File: feature_map_generators_test.py    From moveo_ros with MIT License 5 votes vote down vote up
def test_return_correct_depth_with_multiplier(self):
    depth_fn = feature_map_generators.get_depth_fn(depth_multiplier=0.5,
                                                   min_depth=16)
    self.assertEqual(depth_fn(64), 32) 
Example #4
Source File: feature_map_generators_test.py    From hands-detection with MIT License 5 votes vote down vote up
def test_return_min_depth_when_multiplier_is_small(self):
    depth_fn = feature_map_generators.get_depth_fn(depth_multiplier=0.5,
                                                   min_depth=16)
    self.assertEqual(depth_fn(16), 16) 
Example #5
Source File: feature_map_generators_test.py    From hands-detection with MIT License 5 votes vote down vote up
def test_return_correct_depth_with_multiplier(self):
    depth_fn = feature_map_generators.get_depth_fn(depth_multiplier=0.5,
                                                   min_depth=16)
    self.assertEqual(depth_fn(64), 32) 
Example #6
Source File: feature_map_generators_test.py    From Live-feed-object-device-identification-using-Tensorflow-and-OpenCV with Apache License 2.0 5 votes vote down vote up
def test_return_min_depth_when_multiplier_is_small(self):
    depth_fn = feature_map_generators.get_depth_fn(depth_multiplier=0.5,
                                                   min_depth=16)
    self.assertEqual(depth_fn(16), 16) 
Example #7
Source File: feature_map_generators_test.py    From Live-feed-object-device-identification-using-Tensorflow-and-OpenCV with Apache License 2.0 5 votes vote down vote up
def test_return_correct_depth_with_multiplier(self):
    depth_fn = feature_map_generators.get_depth_fn(depth_multiplier=0.5,
                                                   min_depth=16)
    self.assertEqual(depth_fn(64), 32) 
Example #8
Source File: feature_map_generators_test.py    From object_detection_kitti with Apache License 2.0 5 votes vote down vote up
def test_return_min_depth_when_multiplier_is_small(self):
    depth_fn = feature_map_generators.get_depth_fn(depth_multiplier=0.5,
                                                   min_depth=16)
    self.assertEqual(depth_fn(16), 16) 
Example #9
Source File: feature_map_generators_test.py    From object_detection_kitti with Apache License 2.0 5 votes vote down vote up
def test_return_correct_depth_with_multiplier(self):
    depth_fn = feature_map_generators.get_depth_fn(depth_multiplier=0.5,
                                                   min_depth=16)
    self.assertEqual(depth_fn(64), 32) 
Example #10
Source File: feature_map_generators_test.py    From MBMD with MIT License 5 votes vote down vote up
def test_return_min_depth_when_multiplier_is_small(self):
    depth_fn = feature_map_generators.get_depth_fn(depth_multiplier=0.5,
                                                   min_depth=16)
    self.assertEqual(depth_fn(16), 16) 
Example #11
Source File: feature_map_generators_test.py    From MBMD with MIT License 5 votes vote down vote up
def test_return_correct_depth_with_multiplier(self):
    depth_fn = feature_map_generators.get_depth_fn(depth_multiplier=0.5,
                                                   min_depth=16)
    self.assertEqual(depth_fn(64), 32) 
Example #12
Source File: feature_map_generators_test.py    From Elphas with Apache License 2.0 5 votes vote down vote up
def test_return_min_depth_when_multiplier_is_small(self):
    depth_fn = feature_map_generators.get_depth_fn(depth_multiplier=0.5,
                                                   min_depth=16)
    self.assertEqual(depth_fn(16), 16) 
Example #13
Source File: feature_map_generators_test.py    From Elphas with Apache License 2.0 5 votes vote down vote up
def test_return_correct_depth_with_multiplier(self):
    depth_fn = feature_map_generators.get_depth_fn(depth_multiplier=0.5,
                                                   min_depth=16)
    self.assertEqual(depth_fn(64), 32) 
Example #14
Source File: feature_map_generators_test.py    From object_detection_with_tensorflow with MIT License 5 votes vote down vote up
def test_return_min_depth_when_multiplier_is_small(self):
    depth_fn = feature_map_generators.get_depth_fn(depth_multiplier=0.5,
                                                   min_depth=16)
    self.assertEqual(depth_fn(16), 16) 
Example #15
Source File: feature_map_generators_test.py    From BMW-TensorFlow-Training-GUI with Apache License 2.0 5 votes vote down vote up
def test_return_correct_depth_with_multiplier(self):
    depth_fn = feature_map_generators.get_depth_fn(depth_multiplier=0.5,
                                                   min_depth=16)
    self.assertEqual(depth_fn(64), 32) 
Example #16
Source File: feature_map_generators_test.py    From object_detection_with_tensorflow with MIT License 5 votes vote down vote up
def test_return_min_depth_when_multiplier_is_small(self):
    depth_fn = feature_map_generators.get_depth_fn(depth_multiplier=0.5,
                                                   min_depth=16)
    self.assertEqual(depth_fn(16), 16) 
Example #17
Source File: feature_map_generators_test.py    From object_detection_with_tensorflow with MIT License 5 votes vote down vote up
def test_return_correct_depth_with_multiplier(self):
    depth_fn = feature_map_generators.get_depth_fn(depth_multiplier=0.5,
                                                   min_depth=16)
    self.assertEqual(depth_fn(64), 32) 
Example #18
Source File: feature_map_generators_test.py    From MAX-Object-Detector with Apache License 2.0 5 votes vote down vote up
def test_return_min_depth_when_multiplier_is_small(self):
    depth_fn = feature_map_generators.get_depth_fn(depth_multiplier=0.5,
                                                   min_depth=16)
    self.assertEqual(depth_fn(16), 16) 
Example #19
Source File: feature_map_generators_test.py    From MAX-Object-Detector with Apache License 2.0 5 votes vote down vote up
def test_return_correct_depth_with_multiplier(self):
    depth_fn = feature_map_generators.get_depth_fn(depth_multiplier=0.5,
                                                   min_depth=16)
    self.assertEqual(depth_fn(64), 32) 
Example #20
Source File: feature_map_generators_test.py    From g-tensorflow-models with Apache License 2.0 5 votes vote down vote up
def test_return_min_depth_when_multiplier_is_small(self):
    depth_fn = feature_map_generators.get_depth_fn(depth_multiplier=0.5,
                                                   min_depth=16)
    self.assertEqual(depth_fn(16), 16) 
Example #21
Source File: feature_map_generators_test.py    From g-tensorflow-models with Apache License 2.0 5 votes vote down vote up
def test_return_correct_depth_with_multiplier(self):
    depth_fn = feature_map_generators.get_depth_fn(depth_multiplier=0.5,
                                                   min_depth=16)
    self.assertEqual(depth_fn(64), 32) 
Example #22
Source File: feature_map_generators_test.py    From models with Apache License 2.0 5 votes vote down vote up
def test_return_min_depth_when_multiplier_is_small(self):
    depth_fn = feature_map_generators.get_depth_fn(depth_multiplier=0.5,
                                                   min_depth=16)
    self.assertEqual(depth_fn(16), 16) 
Example #23
Source File: feature_map_generators_test.py    From models with Apache License 2.0 5 votes vote down vote up
def test_return_correct_depth_with_multiplier(self):
    depth_fn = feature_map_generators.get_depth_fn(depth_multiplier=0.5,
                                                   min_depth=16)
    self.assertEqual(depth_fn(64), 32) 
Example #24
Source File: feature_map_generators_test.py    From mtl-ssl with Apache License 2.0 5 votes vote down vote up
def test_return_min_depth_when_multiplier_is_small(self):
    depth_fn = feature_map_generators.get_depth_fn(depth_multiplier=0.5,
                                                   min_depth=16)
    self.assertEqual(depth_fn(16), 16) 
Example #25
Source File: feature_map_generators_test.py    From mtl-ssl with Apache License 2.0 5 votes vote down vote up
def test_return_correct_depth_with_multiplier(self):
    depth_fn = feature_map_generators.get_depth_fn(depth_multiplier=0.5,
                                                   min_depth=16)
    self.assertEqual(depth_fn(64), 32) 
Example #26
Source File: feature_map_generators_test.py    From multilabel-image-classification-tensorflow with MIT License 5 votes vote down vote up
def test_return_min_depth_when_multiplier_is_small(self):
    depth_fn = feature_map_generators.get_depth_fn(depth_multiplier=0.5,
                                                   min_depth=16)
    self.assertEqual(depth_fn(16), 16) 
Example #27
Source File: feature_map_generators_test.py    From multilabel-image-classification-tensorflow with MIT License 5 votes vote down vote up
def test_return_correct_depth_with_multiplier(self):
    depth_fn = feature_map_generators.get_depth_fn(depth_multiplier=0.5,
                                                   min_depth=16)
    self.assertEqual(depth_fn(64), 32) 
Example #28
Source File: feature_map_generators_test.py    From yolo_v2 with Apache License 2.0 5 votes vote down vote up
def test_return_min_depth_when_multiplier_is_small(self):
    depth_fn = feature_map_generators.get_depth_fn(depth_multiplier=0.5,
                                                   min_depth=16)
    self.assertEqual(depth_fn(16), 16) 
Example #29
Source File: feature_map_generators_test.py    From DOTA_models with Apache License 2.0 5 votes vote down vote up
def test_return_correct_depth_with_multiplier(self):
    depth_fn = feature_map_generators.get_depth_fn(depth_multiplier=0.5,
                                                   min_depth=16)
    self.assertEqual(depth_fn(64), 32) 
Example #30
Source File: feature_map_generators_test.py    From object_detector_app with MIT License 5 votes vote down vote up
def test_return_min_depth_when_multiplier_is_small(self):
    depth_fn = feature_map_generators.get_depth_fn(depth_multiplier=0.5,
                                                   min_depth=16)
    self.assertEqual(depth_fn(16), 16)