Sorry, I'm a bit of a luaN00b, trying to run the tinyshakespeare sample with the command line:
th train.lua -data_dir data/tinyshakespeare -gpuid -1
on OSX 10.10.5
and I'm getting:
/usr/local/bin/luajit: ./util/CharSplitLMMinibatchLoader.lua:14: attempt to index global 'path' (a nil value)
stack traceback:
./util/CharSplitLMMinibatchLoader.lua:14: in function 'create'
train.lua:110: in main chunk
[C]: in function 'dofile'
/usr/local/lib/luarocks/rocks/trepl/scm-1/bin/th:131: in main chunk
[C]: at 0x01030930f0
it is failing when the create function references the variable path, I assume this is a global variable? Is there something I'm missing?
Sorry, I'm a bit of a luaN00b, trying to run the tinyshakespeare sample with the command line:
th train.lua -data_dir data/tinyshakespeare -gpuid -1 on OSX 10.10.5
and I'm getting: /usr/local/bin/luajit: ./util/CharSplitLMMinibatchLoader.lua:14: attempt to index global 'path' (a nil value) stack traceback: ./util/CharSplitLMMinibatchLoader.lua:14: in function 'create' train.lua:110: in main chunk [C]: in function 'dofile' /usr/local/lib/luarocks/rocks/trepl/scm-1/bin/th:131: in main chunk [C]: at 0x01030930f0
it is failing when the create function references the variable path, I assume this is a global variable? Is there something I'm missing?