Spaces:
Sleeping
Sleeping
File size: 251 Bytes
1cd0545 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | import torch
from src.models.face_recognition_model import (
FaceRecognitionModel
)
model = FaceRecognitionModel()
dummy = torch.randn(
1,
3,
112,
112
)
embedding = model.get_embedding(
dummy
)
print(
embedding.shape
) |