Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when using TensorFlow version in Google Colab #1

Open
jabernalv opened this issue Jun 15, 2023 · 0 comments
Open

Error when using TensorFlow version in Google Colab #1

jabernalv opened this issue Jun 15, 2023 · 0 comments

Comments

@jabernalv
Copy link

Dear toelt-llc:
I hope this message finds you well. I encountered an error while using TensorFlow version in Google Colab, and I wanted to report it to you as an issue.

The error message I received is as follows:
/usr/local/lib/python3.10/dist-packages/google/colab/_tensorflow_magics.py in _tensorflow_version(line)
33
34 if line.startswith("1"):
---> 35 raise ValueError(
36 # pylint: disable=line-too-long
37 textwrap.dedent(

ValueError: Tensorflow 1 is unsupported in Colab.
Your notebook should be updated to use Tensorflow 2.
See the guide at https://www.tensorflow.org/guide/migrate#migrate-from-tensorflow-1x-to-tensorflow-2.

It seems that I am unable to select TensorFlow version 1.x in Google Colab. Instead, the error suggests that I update my notebook to use TensorFlow 2. However, I would like to continue using TensorFlow 1.x for my project.

Could you please provide guidance on how to use TensorFlow 1.x in Google Colab or let me know if there are any alternative solutions? I would greatly appreciate your assistance in resolving this issue.

Thank you for your attention to this matter. I look forward to your response.

Best regards,
Jairo Bernal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant