Coverage for src/bob/bio/face/config/baseline/rex_net.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.pytorch import ReXNet
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 ReXNet(annotation_type, fixed_positions, memory_demanding)
15pipeline = load(annotation_type, fixed_positions, memory_demanding)
17transformer = pipeline.transformer