torch / tutorials

A series of machine learning tutorials for Torch7
622 stars 312 forks source link

Execution method for /5_newmodules/1_dropout.lua #38

Closed LeeTaewoo closed 8 years ago

LeeTaewoo commented 8 years ago

I can't run /5_newmodules/1_dropout.lua with th. Should I run this file on iTorch notebook like this?

$ th 1_dropout.lua
original image: 
/home/twlee/torch/install/bin/luajit: 1_dropout.lua:18: attempt to index global 'itorch' (a nil value)
stack traceback:
    1_dropout.lua:18: in main chunk
    [C]: in function 'dofile'
    ...wlee/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:131: in main chunk
    [C]: at 0x00406670
$ itorch --version
4.0.1
soumith commented 8 years ago

fixed now. thanks for reporting.

LeeTaewoo commented 8 years ago

Thank you, soumith. :thumbsup: