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

No module named 'tensorflow.compat.v2' #14

Closed
KaqiKaqi opened this issue Mar 21, 2020 · 1 comment
Closed

No module named 'tensorflow.compat.v2' #14

KaqiKaqi opened this issue Mar 21, 2020 · 1 comment

Comments

@KaqiKaqi
Copy link

Hello, i'm using tf.1.13.1 and I have the following error:
Traceback (most recent call last):
File "main.py", line 28, in
import det_model_fn
File "/data01/wens/workspace/project/automl/efficientdet/det_model_fn.py", line 28, in
import efficientdet_arch
File "/data01/wens/workspace/project/automl/efficientdet/efficientdet_arch.py", line 31, in
import utils
File "/data01/wens/workspace/project/automl/efficientdet/utils.py", line 26, in
import tensorflow.compat.v2 as tf2
ModuleNotFoundError: No module named 'tensorflow.compat.v2'

Which version of tf shold I use? Thanks a lot.

@mingxingtan
Copy link
Member

Please install the latest TF 2.x version.

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

2 participants