mirror of
https://github.com/clearml/clearml
synced 2025-02-07 21:33:25 +00:00
Fix RGBA upload with default JPEG files
This commit is contained in:
parent
031d26a6cf
commit
6991e06e14
@ -141,13 +141,14 @@ class Metrics(InterfaceBase):
|
||||
|
||||
# prepare event needing file upload
|
||||
entries = []
|
||||
for ev in events:
|
||||
for ev in events[:]:
|
||||
try:
|
||||
e = update_and_get_file_entry(ev)
|
||||
if e:
|
||||
entries.append(e)
|
||||
except Exception as ex:
|
||||
log.warning(str(ex))
|
||||
events.remove(ev)
|
||||
|
||||
# upload the needed files
|
||||
if entries:
|
||||
|
Loading…
Reference in New Issue
Block a user