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

module 'tensorflow' has no attribute 'contrib' #10

Open
ghost opened this issue Jun 2, 2021 · 1 comment
Open

module 'tensorflow' has no attribute 'contrib' #10

ghost opened this issue Jun 2, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 2, 2021

Traceback (most recent call last):
File "train.py", line 8, in
from model import DeepLab
File "C:\Users\DGRE\DeepLab-V3\model.py", line 6, in
from feature_extractor import MobileNet, Resnet, Vgg16
File "C:\Users\DGRE\DeepLab-V3\feature_extractor.py", line 2, in
from nets import resnet_v2
File "C:\Users\DGRE\DeepLab-V3\nets\resnet_v2.py", line 55, in
from nets import resnet_utils
File "C:\Users\DGRE\DeepLab-V3\nets\resnet_utils.py", line 43, in
slim = tf.contrib.slim
AttributeError: module 'tensorflow' has no attribute 'contrib'

@Vargha-Kh
Copy link

Use Tensorflow-gpu=1.15.0
requirement.txt will install tensorflow=2.4.0

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