mirror of
https://github.com/clearml/clearml
synced 2025-01-31 09:07:00 +00:00
Fix TensorBoard add_image() not being reported
This commit is contained in:
parent
9966dd640c
commit
bc85fbca0f
@ -367,7 +367,7 @@ class EventTrainsWriter(object):
|
||||
output = BytesIO(imdata)
|
||||
im = Image.open(output)
|
||||
# if this is a GIF store as is
|
||||
if getattr(im, 'is_animated'):
|
||||
if getattr(im, 'is_animated', None):
|
||||
output.close()
|
||||
fd, temp_file = mkstemp(
|
||||
suffix=guess_extension(im.get_format_mimetype()) if hasattr(im, 'get_format_mimetype')
|
||||
|
Loading…
Reference in New Issue
Block a user