Traceback (most recent call last):


 "<input>", line 1, in <module>


 "/Users/williampeake/venvs/spanreed-py-37/lib/python3.7/site-packages/dacite.py", line 78, in from_dict

field=field,


 "/Users/williampeake/venvs/spanreed-py-37/lib/python3.7/site-packages/dacite.py", line 189, in _inner_from_dict_for_collection

) for item in data)


 "/Users/williampeake/venvs/spanreed-py-37/lib/python3.7/site-packages/dacite.py", line 189, in <genexpr>

) for item in data)


 "/Users/williampeake/venvs/spanreed-py-37/lib/python3.7/site-packages/dacite.py", line 61, in from_dict

_validate_config(data_class, data, config)


 "/Users/williampeake/venvs/spanreed-py-37/lib/python3.7/site-packages/dacite.py", line 101, in _validate_config

_validate_config_data_key(data, config, 'remap')


 "/Users/williampeake/venvs/spanreed-py-37/lib/python3.7/site-packages/dacite.py", line 122, in _validate_config_data_key

input_data_keys = set(data.keys())
AttributeError: 'X' object has no attribute 'keys'

Traceback (most recent call last):


 "pdserving_client.py", line 133, in <module>

main(image_path)


 "pdserving_client.py", line 112, in main

draw_img = draw_server_result(image_file, res)


 "pdserving_client.py", line 60, in draw_server_result

keys = res[0].keys()
AttributeError: 'str' object has no attribute 'keys'
