forked from tangger/lerobot
remove warning for ignored logged types (WIP)
This commit is contained in:
@@ -131,9 +131,6 @@ class Logger:
|
|||||||
if self._wandb is not None:
|
if self._wandb is not None:
|
||||||
for k, v in d.items():
|
for k, v in d.items():
|
||||||
if not isinstance(v, (int, float, str)):
|
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
|
continue
|
||||||
self._wandb.log({f"{mode}/{k}": v}, step=step)
|
self._wandb.log({f"{mode}/{k}": v}, step=step)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user