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
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