AIChamcong / src /models /test_models.py
quangdat05's picture
Clean deploy with datetime parsing fixes
1cd0545
Raw History Blame Contribute Delete
251 Bytes
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
)