facebookresearch / end-to-end-negotiator

Deal or No Deal? End-to-End Learning for Negotiation Dialogues
Other
1.38k stars 277 forks source link

test.py: could not run, it seems like the file version is not consistent with others #34

Open ghost opened 5 years ago

ghost commented 5 years ago

File "test.py", line 62, in main out, hid, tgt, sel_out, sel_tgt = Engine.forward(model, batch)#, volatile=False) File "/home/liuchen/data/end-to-end-negotiator/src/engines/engine.py", line 78, in forward sel_tgt = Variable(sel_tgt) TypeError: Variable data has to be a tensor, but got list

changshaking commented 4 years ago

The same question. Looking forward to reply.

rabitdash commented 3 years ago

Setting --sep_sel=True works for me