iresnet34.py 447 Bytes
Newer Older
1
2
3
4
from bob.bio.face.embeddings.pytorch import iresnet34
from bob.bio.face.utils import lookup_config_from_database


5
annotation_type, fixed_positions, memory_demanding = lookup_config_from_database(
6
7
8
9
    locals().get("database")
)


10
11
def load(annotation_type, fixed_positions=None, memory_demanding=False):
    return iresnet34(annotation_type, fixed_positions, memory_demanding)
12
13


14
pipeline = load(annotation_type, fixed_positions, memory_demanding)
15