这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@Redcof
Copy link

@Redcof Redcof commented May 5, 2023

Bug fix for ImportError: cannot import name 'FileWriter' from 'tensorboard' #16

ImportError: cannot import name 'FileWriter' from 'tensorboard'

hanzhanggit#16
@Redcof
Copy link
Author

Redcof commented May 5, 2023

@hanzhanggit can you please review the changes and accept if necessary

README.md Outdated
- `pandas`
- `torchfile`

**Or** use the following command `pip install -r requirements.txt`
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Guidance to install the dependencies using a single command as I have introduced a requirements.txt file


from tensorboard import summary
from tensorboard import FileWriter
from tensorboardX import FileWriter
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Importing the library to fix the bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants