-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
AttributeError: 'FigureCanvasAgg' object has no attribute 'tostring_rgb' #2411
Comments
same here |
+1 |
i think this might be only related to tensorboard logs in def summarize(
writer,
global_step,
scalars={},
histograms={},
images={},
audios={},
audio_sampling_rate=22050,
):
try:
for k, v in scalars.items():
writer.add_scalar(k, v, global_step)
for k, v in histograms.items():
writer.add_histogram(k, v, global_step)
for k, v in images.items():
writer.add_image(k, v, global_step, dataformats="HWC")
for k, v in audios.items():
writer.add_audio(k, v, global_step, audio_sampling_rate)
except Exception as e:
print(f"Exception when summarizing {e}. Skip, we don't care!") |
+1. Looking for solution |
9 tasks
pip install matplotlib==3.7.0, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Whenever I press "train model" it goes up to 5.3 seconds and then says error on the progress bar. The command window shows this error in the last line. I have no idea what's wrong
The text was updated successfully, but these errors were encountered: