Coverage for src/bob/bio/face/config/baseline/iresnet100_elastic.py: 0%
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.pytorch import iresnet100_elastic
2from bob.bio.face.utils import lookup_config_from_database
4(
5 annotation_type,
6 fixed_positions,
7 memory_demanding,
8) = lookup_config_from_database(locals().get("database"))
11def load(annotation_type, fixed_positions=None, memory_demanding=False):
12 return iresnet100_elastic(
13 annotation_type, fixed_positions, memory_demanding
14 )
17pipeline = load(annotation_type, fixed_positions, memory_demanding)
19transformer = pipeline.transformer