dstqa icon indicating copy to clipboard operation
dstqa copied to clipboard

JSON to Instance in Predictor

Open youlandasu opened this issue 4 years ago • 0 comments

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!

youlandasu avatar Nov 10 '20 08:11 youlandasu