mirror of
https://github.com/serengil/deepface.git
synced 2025-06-07 12:05:22 +00:00
issue 175
This commit is contained in:
parent
b4f3a1601b
commit
2dea7aeeba
@ -176,6 +176,7 @@ def verify(img1_path, img2_path = '', model_name = 'VGG-Face', distance_metric =
|
||||
else:
|
||||
raise ValueError("Invalid distance_metric passed - ", distance_metric)
|
||||
|
||||
distance = np.float64(distance) #causes trobule for euclideans in api calls if this is not set (issue #175)
|
||||
#----------------------
|
||||
#decision
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user