You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "rec-feat.py", line 13, in
FRmodel = load_model('face-rec_Google.h5')
File "/Users/venkatamohan.jakkula/anaconda3/lib/python3.7/site-packages/keras/engine/saving.py", line 419, in load_model
model = _deserialize_model(f, custom_objects, compile)
File "/Users/venkatamohan.jakkula/anaconda3/lib/python3.7/site-packages/keras/engine/saving.py", line 225, in _deserialize_model
model = model_from_config(model_config, custom_objects=custom_objects)
File "/Users/venkatamohan.jakkula/anaconda3/lib/python3.7/site-packages/keras/engine/saving.py", line 458, in model_from_config
return deserialize(config, custom_objects=custom_objects)
File "/Users/venkatamohan.jakkula/anaconda3/lib/python3.7/site-packages/keras/layers/init.py", line 55, in deserialize
printable_module_name='layer')
File "/Users/venkatamohan.jakkula/anaconda3/lib/python3.7/site-packages/keras/utils/generic_utils.py", line 145, in deserialize_keras_object
list(custom_objects.items())))
File "/Users/venkatamohan.jakkula/anaconda3/lib/python3.7/site-packages/keras/engine/network.py", line 1032, in from_config
process_node(layer, node_data)
File "/Users/venkatamohan.jakkula/anaconda3/lib/python3.7/site-packages/keras/engine/network.py", line 991, in process_node
layer(unpack_singleton(input_tensors), **kwargs)
File "/Users/venkatamohan.jakkula/anaconda3/lib/python3.7/site-packages/keras/engine/base_layer.py", line 457, in call
output = self.call(inputs, **kwargs)
File "/Users/venkatamohan.jakkula/anaconda3/lib/python3.7/site-packages/keras/layers/merge.py", line 161, in call
return self._merge_function(inputs)
File "/Users/venkatamohan.jakkula/anaconda3/lib/python3.7/site-packages/keras/layers/merge.py", line 365, in _merge_function
return K.concatenate(inputs, axis=self.axis)
File "/Users/venkatamohan.jakkula/anaconda3/lib/python3.7/site-packages/keras/backend/tensorflow_backend.py", line 1956, in concatenate
return tf.concat([to_dense(x) for x in tensors], axis)
File "/Users/venkatamohan.jakkula/anaconda3/lib/python3.7/site-packages/tensorflow/python/ops/array_ops.py", line 1075, in concat
dtype=dtypes.int32).get_shape(
File "/Users/venkatamohan.jakkula/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 669, in convert_to_tensor
ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)
File "/Users/venkatamohan.jakkula/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/constant_op.py", line 176, in _constant_tensor_conversion_function
return constant(v, dtype=dtype, name=name)
File "/Users/venkatamohan.jakkula/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/constant_op.py", line 165, in constant
tensor_util.make_tensor_proto(value, dtype=dtype, shape=shape, verify_shape=verify_shape))
File "/Users/venkatamohan.jakkula/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/tensor_util.py", line 367, in make_tensor_proto
_AssertCompatible(values, dtype)
File "/Users/venkatamohan.jakkula/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/tensor_util.py", line 302, in _AssertCompatible
(dtype.name, repr(mismatch), type(mismatch).name))
TypeError: Expected int32, got list containing Tensors of type '_Message' instead.
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "rec-feat.py", line 13, in
FRmodel = load_model('face-rec_Google.h5')
File "/Users/venkatamohan.jakkula/anaconda3/lib/python3.7/site-packages/keras/engine/saving.py", line 419, in load_model
model = _deserialize_model(f, custom_objects, compile)
File "/Users/venkatamohan.jakkula/anaconda3/lib/python3.7/site-packages/keras/engine/saving.py", line 225, in _deserialize_model
model = model_from_config(model_config, custom_objects=custom_objects)
File "/Users/venkatamohan.jakkula/anaconda3/lib/python3.7/site-packages/keras/engine/saving.py", line 458, in model_from_config
return deserialize(config, custom_objects=custom_objects)
File "/Users/venkatamohan.jakkula/anaconda3/lib/python3.7/site-packages/keras/layers/init.py", line 55, in deserialize
printable_module_name='layer')
File "/Users/venkatamohan.jakkula/anaconda3/lib/python3.7/site-packages/keras/utils/generic_utils.py", line 145, in deserialize_keras_object
list(custom_objects.items())))
File "/Users/venkatamohan.jakkula/anaconda3/lib/python3.7/site-packages/keras/engine/network.py", line 1032, in from_config
process_node(layer, node_data)
File "/Users/venkatamohan.jakkula/anaconda3/lib/python3.7/site-packages/keras/engine/network.py", line 991, in process_node
layer(unpack_singleton(input_tensors), **kwargs)
File "/Users/venkatamohan.jakkula/anaconda3/lib/python3.7/site-packages/keras/engine/base_layer.py", line 457, in call
output = self.call(inputs, **kwargs)
File "/Users/venkatamohan.jakkula/anaconda3/lib/python3.7/site-packages/keras/layers/merge.py", line 161, in call
return self._merge_function(inputs)
File "/Users/venkatamohan.jakkula/anaconda3/lib/python3.7/site-packages/keras/layers/merge.py", line 365, in _merge_function
return K.concatenate(inputs, axis=self.axis)
File "/Users/venkatamohan.jakkula/anaconda3/lib/python3.7/site-packages/keras/backend/tensorflow_backend.py", line 1956, in concatenate
return tf.concat([to_dense(x) for x in tensors], axis)
File "/Users/venkatamohan.jakkula/anaconda3/lib/python3.7/site-packages/tensorflow/python/ops/array_ops.py", line 1075, in concat
dtype=dtypes.int32).get_shape(
File "/Users/venkatamohan.jakkula/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 669, in convert_to_tensor
ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)
File "/Users/venkatamohan.jakkula/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/constant_op.py", line 176, in _constant_tensor_conversion_function
return constant(v, dtype=dtype, name=name)
File "/Users/venkatamohan.jakkula/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/constant_op.py", line 165, in constant
tensor_util.make_tensor_proto(value, dtype=dtype, shape=shape, verify_shape=verify_shape))
File "/Users/venkatamohan.jakkula/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/tensor_util.py", line 367, in make_tensor_proto
_AssertCompatible(values, dtype)
File "/Users/venkatamohan.jakkula/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/tensor_util.py", line 302, in _AssertCompatible
(dtype.name, repr(mismatch), type(mismatch).name))
TypeError: Expected int32, got list containing Tensors of type '_Message' instead.
The text was updated successfully, but these errors were encountered: