DeepLab-V3 icon indicating copy to clipboard operation
DeepLab-V3 copied to clipboard

module 'tensorflow' has no attribute 'contrib'

Open ghost opened this issue 4 years ago • 1 comments

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'

ghost avatar Jun 02 '21 11:06 ghost

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

Vargha-Kh avatar Sep 14 '21 09:09 Vargha-Kh