Closed tigerneil closed 8 years ago
install cltorch clnn first and update all things to the lastest.
luarocks install torch luarocks install nn luarocks install nngraph luarocks install cltorch luarcoks install clnn
then in the project directory, use
th train.lua --dataset 1000 --hiddenSize 500 --opencl
to run the training process.
bash-3.2$ th train.lua --dataset 1000 --hiddenSize 500 --opencl libthclnn_searchpath /Users/zhuxiaohu/torch/install/lib/lua/5.1/libTHCLNN.so -- Loading dataset Loading vocabulary from data/vocab.t7 ... Dataset stats: Vocabulary size: 2536 Examples: 1569 Using Apple , OpenCL platform: Apple Using OpenCL device: HD Graphics 4000 ...
still have problem on evaluation step.
Awesome! Thanks a lot Xiaohu.
install cltorch clnn first and update all things to the lastest.
then in the project directory, use
to run the training process.
still have problem on evaluation step.