Closed TimZaman closed 5 years ago
Definitely not related to from google.cloud import storage
. Relates to TensorboardX. Maybe flushing?
Can reproed:
writer = SummaryWriter()
for i in range(32):
writer.add_text('test', 'x' * 1000000, i)
blob = bucket.blob('foo2.events')
blob.upload_from_filename(filename=writer.file_writer.event_writer._ev_writer._file_name)
Seemed fixed with a flush:
writer = SummaryWriter()
for i in range(32):
writer.add_text('test', 'x' * 1000000, i)
writer.file_writer.flush()
blob = bucket.blob('foo2.events')
blob.upload_from_filename(filename=writer.file_writer.event_writer._ev_writer._file_name)