macournoyer / neuralconvo

Neural conversational model in Torch
776 stars 347 forks source link

train.lua:169 cutorch.synchronize() #44

Closed csrgxtu closed 8 years ago

csrgxtu commented 8 years ago

i am using ubuntu 14.04 and run this train.lua in cpu mode, got this. /home/liqiang/Documents/Lua/torch/install/bin/luajit: train.lua:169: attempt to index global 'cutorch' (a nil value) stack traceback: train.lua:169: in main chunk [C]: in function 'dofile' .../Lua/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk [C]: at 0x00406670

if i dont use cuda, opencl, then i should comment line 169, since cutorch is for CUDA, right?

csrgxtu commented 8 years ago

sorry for this, i cloned others neuralconvo, this repo is ok.