---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-16-80b9ddad4bf1> in <module>()
24
25 # SSD+Inception inference graph를 읽음. .
---> 26 with tf.gfile.FastGFile(os.path.join(default_ssd_dir, 'pretrained/ssd_inception_v2_coco_2017_11_17/frozen_inference_graph.pb'), 'rb') as f:
27 graph_def = tf.GraphDef()
28 graph_def.ParseFromString(f.read())
AttributeError: module 'tensorflow' has no attribute 'gfile'
위와같은 에러가 계속뜨는데, 어떻게 해결이 가능한지 궁금합니다.
수행한 조치로는 tf.gfile >> tf.io.gfile로 변경후 run 까진 해봤으나 잘 안되네요...
단순히 colab에서 code 변경없이 Run을 눌렀으나 수행되지 않는 부분입니다...
확인바랍니다.