mirror of
https://github.com/serengil/deepface.git
synced 2025-06-07 20:15:21 +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:
|
else:
|
||||||
raise ValueError("Invalid distance_metric passed - ", distance_metric)
|
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
|
#decision
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user