OperatorNotAllowedInGraphError: using a `tf.Tensor` as a Python `bool` is not allowed

When I try to run the mnist example I get the following:

OperatorNotAllowedInGraphError: using a tf.Tensor as a Python bool is not allowed: AutoGraph did convert this function. This might indicate you are trying to use an unsupported feature.

Hi @melnimr - this may have been resolved. What version of Guild are you using?

It is 0.7.3

This would have been fixed in 0.7.4, which isn’t generally available. However, you can install a pre-release version this way:

pip install --pre guildai