Coverage for src/bob/bio/face/config/baseline/facenet_sanderberg.py: 100%
7 statements
« prev ^ index » next coverage.py v7.6.0, created at 2024-07-13 00:04 +0200
« prev ^ index » next coverage.py v7.6.0, created at 2024-07-13 00:04 +0200
1from bob.bio.face.embeddings.tensorflow import (
2 facenet_sanderberg_20170512_110547,
3)
4from bob.bio.face.utils import lookup_config_from_database
6(
7 annotation_type,
8 fixed_positions,
9 memory_demanding,
10) = lookup_config_from_database(locals().get("database"))
13def load(annotation_type, fixed_positions=None, memory_demanding=False):
14 return facenet_sanderberg_20170512_110547(
15 annotation_type, fixed_positions, memory_demanding
16 )
19pipeline = load(annotation_type, fixed_positions, memory_demanding)
20transformer = pipeline.transformer