yunjey / pytorch-tutorial

PyTorch Tutorial for Deep Learning Researchers
MIT License
29.94k stars 8.1k forks source link

Issues in running tensorboard tutorial #216

Open sparshgarg23 opened 4 years ago

sparshgarg23 commented 4 years ago

While executing tensorboard tutorial I got the following error module 'tensorboard.summary._tf.summary' has no attribute 'FileWriter' Any ideas on how to resolve this?

shinel94 commented 4 years ago

in tensorflow 2.x tf.summary.FileWrite is gone to tf.compat.v1.summary.FileWrite so should change from tf.summary.FileWrite to tf.compat.v1.summary.FileWrite then may be work the code or should install 1.X version tensorflow