FailedPreconditionError in the google colab with with python version 3.6.9

sir while running GAN and DCGAN i m facing this error in the terminal
“FailedPreconditionError: Error while reading resource variable _AnonymousVar34 from Container: localhost. This could mean that the variable was uninitialized. Not found: Resource localhost/_AnonymousVar34/N10tensorflow3VarE does not exist.
[[node mul_21/ReadVariableOp (defined at /usr/local/lib/python3.6/dist-packages/keras/backend/tensorflow_backend.py:3009) ]] [Op:__inference_keras_scratch_graph_1735]”

and pyhton version in google colab shows 3.6.9 ,
please tell me how to change that version to over 3.7 and so, and how this error will be removed

Hey @abubakar_nsit, you don’t need to change the python version for this. Many students have faced the same problem. I have explained it to them in previous posts. You can refer to Error in the code.

I hope this solves your problem as well :slight_smile:
Happy Learning :slight_smile:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.