peace195 / tensorflow-lite-YOLOv3

YOLOv3: convert .weights to .tflite format for tensorflow lite. Convert .weights to .pb format for tensorflow serving
106 stars 24 forks source link

AttributeError: module 'tensorflow' has no attribute 'contrib' #16

Open joel5638 opened 3 years ago

joel5638 commented 3 years ago

trying to convert .weight to .pb

Traceback (most recent call last): File "convert_weights_pb.py", line 5, in import yolo_v3 File "/home/de-gpu-005/joel/tensorflow-lite-YOLOv3/yolo_v3.py", line 6, in slim = tf.contrib.slim AttributeError: module 'tensorflow' has no attribute 'contrib'

Please help

InputBlackBoxOutput commented 3 years ago

Use TensorFlow 1 Have a look at issue #3