I'm trying to enable eager execution with Tensorflow on a Colab notebook but I get an error message:
import tensorflow as tf
import tensorflow.contrib.eager as tfe
tf.enable_eager_execution()
ValueError: tf.enable_eager_execution must be called at program startup
I tried to click "reset runtime" in order to run tf.enable_eager_execution at startup but the error rises again.
Opening a different notebook didn't help.
What can I do in Colab in order to allow eager execution after this error rises?
Thanks.