Coverage for src/bob/bio/face/config/baseline/inception_resnetv1_casiawebface.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 inception_resnet_v1_casia_centerloss_2018,
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=None):
14 return inception_resnet_v1_casia_centerloss_2018(
15 annotation_type, fixed_positions, memory_demanding
16 )
19pipeline = load(annotation_type, fixed_positions, memory_demanding)
20transformer = pipeline.transformer