mirror of
https://github.com/serengil/deepface.git
synced 2025-06-08 12:35:22 +00:00
issue 197
This commit is contained in:
parent
0158ae2d2f
commit
fee02411b3
@ -487,5 +487,8 @@ def find_input_shape(model):
|
||||
else:
|
||||
input_shape = input_shape[1:3]
|
||||
|
||||
if type(input_shape) == list: #issue 197: some people got array here instead of tuple
|
||||
input_shape = tuple(input_shape)
|
||||
|
||||
return input_shape
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user