Coverage for src/bob/bio/face/config/baseline/vgg16_oxford.py: 100%

7 statements  

« prev     ^ index     » next       coverage.py v7.6.0, created at 2024-07-13 00:04 +0200

1from bob.bio.face.embeddings.opencv import vgg16_oxford_baseline 

2from bob.bio.face.utils import lookup_config_from_database 

3 

4annotation_type, fixed_positions, _ = lookup_config_from_database( 

5 locals().get("database") 

6) 

7 

8 

9def load(annotation_type, fixed_positions=None): 

10 return vgg16_oxford_baseline(annotation_type, fixed_positions) 

11 

12 

13pipeline = load(annotation_type, fixed_positions) 

14transformer = pipeline.transformer