Skip to content

tensorflow.python.framework.errors_impl.InvalidArgumentError: events.out.tfevents. Invalid argument #6398

@manitadayon

Description

@manitadayon

Hi
I am using Pytorch forecasting package however my code throws an error in the training phase, even during the first epoch. Here is the system configuration:

  • PyTorch-Forecasting version: 1.0.0
  • PyTorch version:2.0.
  • Python version:3.10
  • Tensorflow version: 2.11
  • CuDa version: 11.7

During the training my code gives the following error:

The traceback:

"/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
    self.run()
python3.10/site-packages/tensorboard/summary/writer/event_file_writer.py", line 233, in run
    self._record_writer.write(data)
python3.10/site-packages/tensorboard/summary/writer/record_writer.py", line 40, in write
    self._writer.write(header + header_crc + data + footer_crc)
python3.10/site-packages/tensorflow/python/lib/io/file_io.py", line 101, in write
    self._writable_file.append(
tensorflow.python.framework.errors_impl.InvalidArgumentError:events.out.tfevent;  Invalid argument

I do not think there is any problem with data or model however every time I see the above traceback while training and was wondering what causes this issue and how to fix it.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions