PlaneNet
PlaneNet copied to clipboard
'module' object has no attribute 'contrib'
After running:
$ python predict.py --customImageFolder="/scratch/chaitanyakharyal/images/"
I got this error:
Traceback (most recent call last): File "predict.py", line 18, in <module> from train_planenet import build_graph File "/home/chaitanyakharyal/planenet/PlaneNet/train_planenet.py", line 18, in <module> from planenet import PlaneNet File "/home/chaitanyakharyal/planenet/PlaneNet/planenet.py", line 6, in <module> from kaffe.tensorflow import Network File "/home/chaitanyakharyal/planenet/PlaneNet/kaffe/__init__.py", line 4, in <module> from . import tensorflow File "/home/chaitanyakharyal/planenet/PlaneNet/kaffe/tensorflow/__init__.py", line 1, in <module> from .transformer import TensorFlowTransformer File "/home/chaitanyakharyal/planenet/PlaneNet/kaffe/tensorflow/transformer.py", line 9, in <module> from . import network File "/home/chaitanyakharyal/planenet/PlaneNet/kaffe/tensorflow/network.py", line 3, in <module> slim = tf.contrib.slim AttributeError: 'module' object has no attribute 'contrib'
My TensorFlow version:
tensorflow (2.0.0a0)