Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 90 commits into
base: master
Choose a base branch
from

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
- `python-dateutil`
- `easydict`
- `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

@@ -21,7 +21,7 @@
from miscc.utils import compute_discriminator_loss, compute_generator_loss

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