github-actions
Deploy to Hugging Face
c794b6b
Raw
History Blame Contribute Delete
465 Bytes
import numpy as np
import os
path1 = r"c:\Users\kvidi\Desktop\cepheus_final\backend\Face_Recognition\faces_db\Urvi.npy"
path2 = r"c:\Users\kvidi\Desktop\cepheus_final\backend\Face_Recognition\faces_db\Vidit.npy"
for p in [path1, path2]:
if os.path.exists(p):
emb = np.load(p)
print(f"{os.path.basename(p)}: shape={emb.shape}, dtype={emb.dtype}, norm={np.linalg.norm(emb, axis=-1)}")
else:
print(f"{os.path.basename(p)} not found")