jpuigcerver/Laia

Error due to ImageDistorter.addCmdOptions(cmd)

dmartinalbo opened this issue · 1 comments

/opt/torch/install/bin/luajit: ./src/TrainOptions.lua:62: attempt to call field 'addCmdOptions' (a nil value)
stack traceback:
./src/TrainOptions.lua:62: in function 'parse'
./train.lua:39: in main chunk
[C]: in function 'dofile'
/opt/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: at 0x004065d0

There was a weird call to ImageDistorter.addCmdOptions() in TrainingOptions.lua, but that method does not actually exist. I just commented it.

Notice that we still have to decide how to deal with options for different modules (see issue #4).