Performance Calibration is failing

I’ve used this multiple times, not sure why I’m having an issue all of a sudden. When I tried running project 64474, I get:

Progress: 97%
Progress: 98%
Progress: 99%
DSP took 0:01:11, inference took 0:02:46

Traceback (most recent call last):
  File "/home/", line 10, in <module>
    ei_testing.testing.run_application_testing(dir_path, options)
  File "/app/./resources/libraries/ei_testing/", line 113, in run_application_testing
    write_json(dir_path, downsampled_result, 'raw_result.json')
  File "/app/./resources/libraries/ei_testing/", line 386, in write_json
    json.dump(data, f, ensure_ascii=False)
  File "/usr/lib/python3.8/json/", line 179, in dump
    for chunk in iterable:
  File "/usr/lib/python3.8/json/", line 429, in _iterencode
    yield from _iterencode_list(o, _current_indent_level)
  File "/usr/lib/python3.8/json/", line 325, in _iterencode_list
    yield from chunks
  File "/usr/lib/python3.8/json/", line 405, in _iterencode_dict
    yield from chunks
  File "/usr/lib/python3.8/json/", line 438, in _iterencode
    o = _default(o)
  File "/usr/lib/python3.8/json/", line 179, in default
    raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type ndarray is not JSON serializable
Application exited with code 1

Job failed (see above)

Thanks for your report, I’m looking into it! I’ll let you know when the issue is resolved.


1 Like

We deployed a fix yesterday—sorry for the delay in letting you know!


1 Like


The fix has been rolled out to production. Give it a try and retrain your model and let us know

Working now, thanks!