Skip to content

module 'spectralnet' not found:No LuaRocks module found for spectralnet #4

@gravity1989

Description

@gravity1989

I cloned the project.
And then run th -i train.lua -dataset timit -model fc3 -nhidden 2000 from the test directory.

However, i get this error
/home/vivek/torch/install/bin/luajit: /home/vivek/torch/install/share/lua/5.1/trepl/init.lua:383: module 'spectralnet' not found:No LuaRocks module found for spectralnet
no field package.preload['spectralnet']
no file '/home/vivek/.luarocks/share/lua/5.1/spectralnet.lua'
no file '/home/vivek/.luarocks/share/lua/5.1/spectralnet/init.lua'
no file '/home/vivek/torch/install/share/lua/5.1/spectralnet.lua'
no file '/home/vivek/torch/install/share/lua/5.1/spectralnet/init.lua'
no file './spectralnet.lua'
no file '/home/vivek/torch/install/share/luajit-2.1.0-beta1/spectralnet.lua'
no file '/usr/local/share/lua/5.1/spectralnet.lua'
no file '/usr/local/share/lua/5.1/spectralnet/init.lua'
no file '/home/vivek/.luarocks/lib/lua/5.1/spectralnet.so'
no file '/home/vivek/torch/install/lib/lua/5.1/spectralnet.so'
no file '/home/vivek/torch/install/lib/spectralnet.so'
no file './spectralnet.so'
no file '/usr/local/lib/lua/5.1/spectralnet.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'error'
/home/vivek/torch/install/share/lua/5.1/trepl/init.lua:383: in function 'require'
params.lua:8: in main chunk
[C]: in function 'dofile'
train.lua:1: in main chunk
[C]: in function 'dofile'
...ivek/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: at 0x00406670

Could you help me solve the problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions