Cadene / vqa.pytorch

Visual Question Answering in Pytorch
717 stars 178 forks source link

sysntax error in line 80 #52

Open ghost opened 4 years ago

ghost commented 4 years ago

runfile('F:/project/vqa.pytorch-master/demo_server.py', wdir='F:/project/vqa.pytorch-master') File "F:\project\vqa.pytorch-master\demo_server.py", line 80 visual_data = visual_data.cuda(async=True) ^ SyntaxError: invalid syntax

dearkafka commented 4 years ago

you may have newer pytorch, it hasn't "async" option anymore