0

I m quite new to tensorflow, but after some time spent on it, i tried to train a model with Mask_rcnn with my own images to make an object recognition. I use jupyter notebooks. In the training block I found an error which I cannot overcome.

OperatorNotAllowedInGraphError: using a tf.Tensor as a Python bool is not allowed in Graph execution. Use Eager execution or decorate this function with @tf.function.

I attach a picture to show the chain that bring to the error.enter image description here

I hope someone will help me! Thanks a lot!

Davide
  • 1

0 Answers0