dstqa
dstqa copied to clipboard
JSON to Instance in Predictor
I got an issue when running evaluation:
instance = self._json_to_instance(inputs) File "./dstqa/dstqa_predictor.py", line 43, in _json_to_instance dialog = json_dict['dialogue'] TypeError: list indices must be integers or slices, not str
Seems like it cannot proceed JSON with multiple instances in test set. I wonder how you did deserialization. Thanks for help!