tensorflow相关小问题
- AttributeError: module ‘tensorflow._api.v2.io.gfile’ has no attribute ‘get_filesystem’ #47139
- Projector tab is blank in Tensorboard (no checkpoint was found) error in tensorboard
AttributeError: module ‘tensorflow._api.v2.io.gfile’ has no attribute ‘get_filesystem’ #47139
解决方案:参考pytorch issue #47139
import tensorflow as tf import tensorboard as tb tf.io.gfile = tb.compat.tensorflow_stub.io.gfile
Projector tab is blank in Tensorboard (no checkpoint was found) error in tensorboard
Solution: Restart the tensorboard, because the projector loading is not dynamic. It will only show the embeddings writed in logdir before tensorboard cli starts.