mirror of
https://github.com/clearml/clearml
synced 2025-06-26 18:16:07 +00:00
Fix tensorboard numpy 2.0 incompatibility breaking binding
This commit is contained in:
parent
9594e5dddd
commit
aa227a0cdb
@ -738,13 +738,14 @@ class EventTrainsWriter(object):
|
||||
LoggerRoot.get_base_logger(TensorflowBinding).debug(
|
||||
'No tag for \'value\' existing keys %s' % ', '.join(vdict.keys()))
|
||||
continue
|
||||
# noinspection PyBroadException
|
||||
try:
|
||||
from tensorboard.plugins.hparams.metadata import SESSION_START_INFO_TAG
|
||||
|
||||
if tag == SESSION_START_INFO_TAG:
|
||||
self._add_hparams(vdict)
|
||||
continue
|
||||
except ImportError:
|
||||
except Exception:
|
||||
pass
|
||||
metric, values = get_data(vdict, supported_metrics)
|
||||
if metric == 'simpleValue':
|
||||
|
Loading…
Reference in New Issue
Block a user