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
Complete
Traceback (most recent call last):
File "/home/testing.py", line 10, in <module>
ei_testing.testing.run_application_testing(dir_path, options)
File "/app/./resources/libraries/ei_testing/testing.py", line 113, in run_application_testing
write_json(dir_path, downsampled_result, 'raw_result.json')
File "/app/./resources/libraries/ei_testing/testing.py", line 386, in write_json
json.dump(data, f, ensure_ascii=False)
File "/usr/lib/python3.8/json/__init__.py", line 179, in dump
for chunk in iterable:
File "/usr/lib/python3.8/json/encoder.py", line 429, in _iterencode
yield from _iterencode_list(o, _current_indent_level)
File "/usr/lib/python3.8/json/encoder.py", line 325, in _iterencode_list
yield from chunks
File "/usr/lib/python3.8/json/encoder.py", line 405, in _iterencode_dict
yield from chunks
File "/usr/lib/python3.8/json/encoder.py", line 438, in _iterencode
o = _default(o)
File "/usr/lib/python3.8/json/encoder.py", 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)