Float attribute value malformed#
ERROR: Error occurred during asynchronous operation processing: Value of float attribute cannot be malformed.
Issue: A value you are trying to log is malformed or unsupported. Note that Neptune does not support
Workaround: Use a supported value type.
In the case of the
math.inf Python constant, you can store it as a string:
import neptune run = neptune.init_run() value = math.inf run["n"] = str(value) if math.isinf(value) else value # When fetching value = float(run["n"].fetch())
If you're logging a series of values, you can add a check to filter out
To help locate the problem in your code, try initializing Neptune in synchronous mode: