mirror of
https://github.com/serengil/deepface.git
synced 2025-06-08 04:25:21 +00:00
issue 197
This commit is contained in:
parent
0158ae2d2f
commit
fee02411b3
@ -486,6 +486,9 @@ def find_input_shape(model):
|
||||
input_shape = input_shape[0][1:3]
|
||||
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