Tools/embedding_convert.lua Error

(Yuan-Lu Chen) #1


I was trying to use


to process a fastText embedding, and this error occurs:

/home/yuan-lu/torch/install/bin/luajit: tools/embedding_convert.lua:313: attempt to index field ‘Opt’ (a nil value)
stack traceback:
tools/embedding_convert.lua:313: in function 'main’
tools/embedding_convert.lua:343: in main chunk
[C]: in function ‘dofile’
…n-lu/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00406670

Do you have any clue on what goes wrong?