Skip to content

module 'get_filesystem' error #1919

Closed
@ghost

Description

PyTorch TensorBoard Support
In this tutorials, Error Occurred

Error
AttributeError: module 'tensorflow._api.v2.io.gfile' has no attribute 'get_filesystem'

Solution: Add the below code to get 'get_filesystem'
import tensorflow as tf
import tensorboard as tb
tf.io.gfile = tb.compat.tensorflow_stub.io.gfile

cc @aaronenyeshi @chaekit @robieta

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions