Coverage for src/bob/bio/face/config/baseline/iresnet50_msceleb_arcface_20210623.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.tensorflow import ( 

2 iresnet50_msceleb_arcface_20210623, 

3) 

4from bob.bio.face.utils import lookup_config_from_database 

5 

6( 

7 annotation_type, 

8 fixed_positions, 

9 memory_demanding, 

10) = lookup_config_from_database(locals().get("database")) 

11 

12 

13def load(annotation_type, fixed_positions=None, memory_demanding=None): 

14 return iresnet50_msceleb_arcface_20210623( 

15 annotation_type, fixed_positions, memory_demanding 

16 ) 

17 

18 

19pipeline = load(annotation_type, fixed_positions, memory_demanding) 

20transformer = pipeline.transformer