I'm using google colab for the first time, and I'm testing the TPU. But when I run my keras model, I get the error ValueError: Variable tpu_140268413570632//kernel/0 already exists, disallowed. Did you mean to set reuse=True or reuse=tf.AUTO_REUSE in VarScope?
For transphorming the keras model to tpu model, I use this code
model = tf.contrib.tpu.keras_to_tpu_model(keras_model, strategy=tf.contrib.tpu.TPUDistributionStrategy(tf.contrib.cluster_resolver.TPUClusterResolver(tpu='grpc://' + os.environ['COLAB_TPU_ADDR'])))
Here is link to the code https://colab.research.google.com/drive/18uzgCgg1LGGRowgzq997rZSwkL832jpB
Any idea why I get this error?