Is there another way to plot metric in catalyst?

Viewed 18

When I plot data from log directory in metric from catalyst. I got this error. I don't know how to solve this.

utils.plot_metrics(
    logdir=logdir, 
    # specify which metrics we want to plot
    metrics=["loss", "dice", 'lr', '_base/lr']
)
/usr/local/lib/python3.7/dist-packages/catalyst/contrib/utils/tools/tensorboard.py:44: DeprecationWarning:

crc32c.crc32 will be eventually removed, use crc32c.crc32c instead

---------------------------------------------------------------------------
EventReadingException                     Traceback (most recent call last)
<ipython-input-34-ecedd3cfa93e> in <module>
----> 1 utils.plot_metrics(logdir
      2 )

9 frames
/usr/local/lib/python3.7/dist-packages/catalyst/contrib/utils/tools/tensorboard.py in _read(self, size)
     78         if 0 < len(data) < size:
     79             raise EventReadingException(
---> 80                 "The size of read data is less than requested size"
     81             )
     82         if len(data) == 0:

EventReadingException: The size of read data is less than requested size
0 Answers
Related