Skip to content

Unable to run the test_smooth.lua #8

@mkothule

Description

@mkothule

HI,

I was able to install lua successfully and was also able to compile self defined layers mentioned in the project. (No compilation error for all 3 modules)

But when I run the test_smooth.lua
I get following error

mkothule@mkothule:~/image_smoothing/ImageSmoothing$ th test_smooth.lua
not found: THNN_CudaDoubleEdgeComputation_updateOutput/home/mkothule/torch/install/share/lua/5.1/nn/THNN.lua:108: /home/mkothule/torch/install/lib/lua/5.1/libTHCUNN.so: undefined symbol: THNN_CudaDoubleEdgeComputation_updateOutput
not found: THNN_CudaDoubleEdgeComputation_updateGradInput/home/mkothule/torch/install/share/lua/5.1/nn/THNN.lua:108: /home/mkothule/torch/install/lib/lua/5.1/libTHCUNN.so: undefined symbol: THNN_CudaDoubleEdgeComputation_updateGradInput
not found: THNN_CudaDoubleEdgeDetector_updateOutput/home/mkothule/torch/install/share/lua/5.1/nn/THNN.lua:108: /home/mkothule/torch/install/lib/lua/5.1/libTHCUNN.so: undefined symbol: THNN_CudaDoubleEdgeDetector_updateOutput
not found: THNN_CudaDoubleSmoothAndEdgeTerm_updateOutput/home/mkothule/torch/install/share/lua/5.1/nn/THNN.lua:108: /home/mkothule/torch/install/lib/lua/5.1/libTHCUNN.so: undefined symbol: THNN_CudaDoubleSmoothAndEdgeTerm_updateOutput
not found: THNN_CudaDoubleSmoothAndEdgeTerm_updateGradInput/home/mkothule/torch/install/share/lua/5.1/nn/THNN.lua:108: /home/mkothule/torch/install/lib/lua/5.1/libTHCUNN.so: undefined symbol: THNN_CudaDoubleSmoothAndEdgeTerm_updateGradInput
not found: THNN_CudaHalfEdgeComputation_updateOutput/home/mkothule/torch/install/share/lua/5.1/nn/THNN.lua:108: /home/mkothule/torch/install/lib/lua/5.1/libTHCUNN.so: undefined symbol: THNN_CudaHalfEdgeComputation_updateOutput
not found: THNN_CudaHalfEdgeComputation_updateGradInput/home/mkothule/torch/install/share/lua/5.1/nn/THNN.lua:108: /home/mkothule/torch/install/lib/lua/5.1/libTHCUNN.so: undefined symbol: THNN_CudaHalfEdgeComputation_updateGradInput
not found: THNN_CudaHalfEdgeDetector_updateOutput/home/mkothule/torch/install/share/lua/5.1/nn/THNN.lua:108: /home/mkothule/torch/install/lib/lua/5.1/libTHCUNN.so: undefined symbol: THNN_CudaHalfEdgeDetector_updateOutput
not found: THNN_CudaHalfSmoothAndEdgeTerm_updateOutput/home/mkothule/torch/install/share/lua/5.1/nn/THNN.lua:108: /home/mkothule/torch/install/lib/lua/5.1/libTHCUNN.so: undefined symbol: THNN_CudaHalfSmoothAndEdgeTerm_updateOutput
not found: THNN_CudaHalfSmoothAndEdgeTerm_updateGradInput/home/mkothule/torch/install/share/lua/5.1/nn/THNN.lua:108: /home/mkothule/torch/install/lib/lua/5.1/libTHCUNN.so: undefined symbol: THNN_CudaHalfSmoothAndEdgeTerm_updateGradInput
Found Environment variable CUDNN_PATH = /opt/cuda/cuda/lib64/libcudnn.so.5
/home/mkothule/torch/install/bin/luajit: /home/mkothule/torch/install/share/lua/5.1/torch/File.lua:343: unknown Torch class <cudnn.SpatialDilatedConvolution>
stack traceback:
[C]: in function 'error'
/home/mkothule/torch/install/share/lua/5.1/torch/File.lua:343: in function 'readObject'
/home/mkothule/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
/home/mkothule/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
/home/mkothule/torch/install/share/lua/5.1/nn/Module.lua:192: in function 'read'
/home/mkothule/torch/install/share/lua/5.1/torch/File.lua:351: in function 'readObject'
/home/mkothule/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
/home/mkothule/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
/home/mkothule/torch/install/share/lua/5.1/nn/Module.lua:192: in function 'read'
/home/mkothule/torch/install/share/lua/5.1/torch/File.lua:351: in function 'readObject'
/home/mkothule/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
...
/home/mkothule/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
/home/mkothule/torch/install/share/lua/5.1/torch/File.lua:353: in function 'readObject'
/home/mkothule/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
...mkothule/torch/install/share/lua/5.1/nngraph/gmodule.lua:495: in function 'read'
/home/mkothule/torch/install/share/lua/5.1/torch/File.lua:351: in function 'readObject'
/home/mkothule/torch/install/share/lua/5.1/torch/File.lua:409: in function 'load'
test_smooth.lua:27: in main chunk
[C]: in function 'dofile'
...hule/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x560d702bd570

I am not sure what I am missing here.
If you have seen this error pleae let me know

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