raise TypeError("Could not build a TypeSpec for %r with type %s" % TypeError: Could not build a TypeSpec for <KerasTensor: shape=(None, None, 4) dtype=float32 (created by layer 'tf.math.truediv')> with type KerasTensor
Abbas47 opened this issue · comments
Hi,
I am getting this error while running MRCNN for testing. I have also made necessary corrections in the model.py file to run on tensor flow 2.X, such as using "tf.compat.v1".
Can anyone help me to figure out how to go through with this error?