remove warning for ignored logged types (WIP)

This commit is contained in:
Remi Cadene
2024-05-29 11:09:44 +00:00
parent 63e61385fc
commit 1a8e5c1c0b

View File

@@ -131,9 +131,6 @@ class Logger:
if self._wandb is not None:
for k, v in d.items():
if not isinstance(v, (int, float, str)):
logging.warning(
f'WandB logging of key "{k}" was ignored as its type is not handled by this wrapper.'
)
continue
self._wandb.log({f"{mode}/{k}": v}, step=step)