facebookresearch / ParlAI

A framework for training and evaluating AI models on a variety of openly available dialogue datasets.
https://parl.ai
MIT License
10.48k stars 2.09k forks source link

Error:'DialogPartnerWorld' object is not iterable #494

Closed piekey1994 closed 6 years ago

piekey1994 commented 6 years ago

when i execute python3 memnn_luatorch_cpu/full_task_train.py -t babi:task10k:1 -nt 8 i got the error message: ...... Setting up dictionary. [creating task(s): babi:task10k:1] [loading fbdialog data:/home/piekey/ParlAI/data/bAbI/tasks_1-20_v1-2/en-valid-10k-nosf/qa1_train.txt] Dictionary building on training data. Traceback (most recent call last): File "memnn_luatorch_cpu/full_task_train.py", line 114, in main() File "memnn_luatorch_cpu/full_tasktrain.py", line 64, in main for in world_dict: TypeError: 'DialogPartnerWorld' object is not iterable

klshuster commented 6 years ago

Closing for now, as this has been fixed by #495 - feel free to reopen if you have any more problems!