Skip to content

Instantly share code, notes, and snippets.

@mervess
Last active October 1, 2022 15:00
Show Gist options
  • Save mervess/5efbec9f62a55a4cd47c900999db7927 to your computer and use it in GitHub Desktop.
Save mervess/5efbec9f62a55a4cd47c900999db7927 to your computer and use it in GitHub Desktop.
Updating Google-Colab TensorFlow version to the newest one.

Colab_warning

  • Check the current TensorFlow version.

    import tensorflow as tf
    tf.__version__
    
  • Run the lines below in Colab one after another.

    !pip uninstall tensorflow
    !pip install tensorflow
    
  • OR run the line below in Colab.

    !pip install --upgrade tensorflow
    
@vinaygoudar
Copy link

This was helpful! Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment