You are working on the Lightning-AI/pytorch-lightning repository. The source code is checked out at /testbed…
You are working on the Lightning-AI/pytorch-lightning repository. The source code is checked out at /testbed…: a task in SWE-Lego-RL-2699 (Harbor dataset). I suppose problem is in sanitize params function of LightningLoggerBase which converts np.float64 values to strings. Currently there's a…
The task
I suppose problem is in `_sanitize_params` function of LightningLoggerBase which converts np.float64 values to strings. Currently there's a simple workaround for this problem: ``` def pre_sanitize_args(kwargs: Dict) -> Dict: return {k: float(v) if type(v) == np.float64 else v for k, v in kwargs.items()} ```
Part of Lego-X/Lego-RL-2699.