twitter-archive / torch-dataset

An extensible and high performance method of reading, sampling and processing data for Torch
Apache License 2.0
76 stars 24 forks source link

not found:No LuaRocks module found for dataset.StreamedDataset #29

Closed chienlinhuang1116 closed 8 years ago

chienlinhuang1116 commented 8 years ago

Hi, After updating the whole packages including “torch-ipc” and “torch-dataset”, there are errors and scripts cannot run anymore.

luarocks install autograd
luarocks install thrift
luarocks install dataset
luarocks install ipc
luarocks install distlearn
home/chienh/torch/install/bin/luajit: /home/chienh/torch/install/share/lua/5.1/trepl/init.lua:384: /home/chienh/torch/install/share/lua/5.1/trepl/init.lua:384: module 'dataset.StreamedDataset' not found:No LuaRocks module found for dataset.StreamedDataset
        no field package.preload['dataset.StreamedDataset']
        no file '/home/chienh/.luarocks/share/lua/5.1/dataset/StreamedDataset.lua'
        no file '/home/chienh/.luarocks/share/lua/5.1/dataset/StreamedDataset/init.lua'
        no file '/home/chienh/torch/install/share/lua/5.1/dataset/StreamedDataset.lua'
        no file '/home/chienh/torch/install/share/lua/5.1/dataset/StreamedDataset/init.lua'
        no file './dataset/StreamedDataset.lua'
        no file '/home/chienh/torch/install/share/luajit-2.1.0-beta1/dataset/StreamedDataset.lua'
        no file '/usr/local/share/lua/5.1/dataset/StreamedDataset.lua'
        no file '/usr/local/share/lua/5.1/dataset/StreamedDataset/init.lua'
        no file '/home/chienh/.luarocks/lib/lua/5.1/dataset/StreamedDataset.so'
        no file '/home/chienh/torch/install/lib/lua/5.1/dataset/StreamedDataset.so'
        no file '/home/chienh/torch/install/lib/dataset/StreamedDataset.so'
        no file './dataset/StreamedDataset.so'
        no file '/usr/local/lib/lua/5.1/dataset/StreamedDataset.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
        no file '/home/chienh/.luarocks/lib/lua/5.1/dataset.so'
        no file '/home/chienh/torch/install/lib/lua/5.1/dataset.so'
        no file '/home/chienh/torch/install/lib/dataset.so'
        no file './dataset.so'
        no file '/usr/local/lib/lua/5.1/dataset.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
        [C]: in function 'error'
        /home/chienh/torch/install/share/lua/5.1/trepl/init.lua:384: in function 'require'
        speech.lua:23: in main chunk
        [C]: in function 'dofile'
        ...ienh/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
        [C]: at 0x00405800

Is there any missing file "StreamedDataset.lua"? Thank you.

chienlinhuang1116 commented 8 years ago

Sorry for the hassle, it is resolved. I have to use "luarocks make dataset-scm-1.rockspec" instead of "luarocks install dataset". Thank you.

admercs commented 8 years ago

The solution of @chienlinhuang1116 worked for me as well on Ubuntu 16.04 LTS.

SeekPoint commented 7 years ago

it works

oneHuster commented 6 years ago

It works for me.