Coverage for src/bob/bio/face/config/baseline/arcface_insightface.py: 0%

7 statements  

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

1from bob.bio.face.embeddings.mxnet import arcface_insightFace_lresnet100 

2from bob.bio.face.utils import lookup_config_from_database 

3 

4( 

5 annotation_type, 

6 fixed_positions, 

7 memory_demanding, 

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

9 

10 

11def load(annotation_type, fixed_positions=None): 

12 return arcface_insightFace_lresnet100( 

13 annotation_type=annotation_type, 

14 fixed_positions=fixed_positions, 

15 memory_demanding=memory_demanding, 

16 ) 

17 

18 

19pipeline = load(annotation_type, fixed_positions) 

20transformer = pipeline.transformer