gfile error
rishikesh013 opened this issue · 1 comments
rishikesh013 commented
with tf.gfile.GFile(path, 'r') as fid:
AttributeError: module 'tensorflow' has no attribute 'gfile'. Did you mean: 'fill'?
AgentXMan commented
with tf.gfile.GFile(path, 'r') as fid: AttributeError: module 'tensorflow' has no attribute 'gfile'. Did you mean: 'fill'?
hi, i think you have to replace tf.gfile.GFile to tf.io.gfile.Gfile since its using the old version of tensorflow
here use this: https://stackoverflow.com/questions/55591437/attributeerror-module-tensorflow-has-no-attribute-gfile