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

YOLOv2 section 1.3 tensorflow #246

Open
K-Sachie opened this issue Feb 27, 2023 · 2 comments
Open

YOLOv2 section 1.3 tensorflow #246

K-Sachie opened this issue Feb 27, 2023 · 2 comments

Comments

@K-Sachie
Copy link

Hi, I am trying to use YOLOv2 for my image object detection and I encounter issue on section 1.3.
Could you please help resolve my issue (the following is the error place)? Thank you.


ValueError Traceback (most recent call last)
in
45
46 #@markdown ##Load Key Dependencies
---> 47 get_ipython().run_line_magic('tensorflow_version', '1.x')
48
49 from pascal_voc_writer import Writer

1 frames
/usr/local/lib/python3.8/dist-packages/IPython/core/interactiveshell.py in run_line_magic(self, magic_name, line, _stack_depth)
2312 kwargs['local_ns'] = sys._getframe(stack_depth).f_locals
2313 with self.builtin_trap:
-> 2314 result = fn(*args, **kwargs)
2315 return result
2316

/usr/local/lib/python3.8/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.

@vianamp
Copy link

vianamp commented Mar 6, 2023

Same here. Tensorflow 1.x is no longer supported in Google Colab.

@jonversusjon
Copy link

Same here, plus 1

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

3 participants