Skip to content
This repository was archived by the owner on Aug 28, 2021. It is now read-only.
This repository was archived by the owner on Aug 28, 2021. It is now read-only.

demo.lua out of memory problem #45

@godfly

Description

@godfly

Hi,
I'm trying to run the demo.lua but return to out of memory problem
here is my mechine condition:
ubuntu 16.04 i5-6500 with 8G memory
GeForce GTX 950 Driver Version: 375.39 cuda8.0

error infomation is following
THCudaCheck FAIL file=/home/jam/torch/extra/cutorch/lib/THC/generic/THCStorage.cu line=66 error=2 : out of memory
/home/jam/torch/install/bin/luajit: /home/jam/torch/install/share/lua/5.1/nn/Container.lua:67:
In 1 module of nn.ParallelTable:
In 2 module of nn.Sequential:
In 2 module of nn.Sequential:
In 1 module of nn.Sequential:
In 1 module of nn.ConcatTable:
In 4 module of nn.Sequential:
/home/jam/torch/install/share/lua/5.1/nn/THNN.lua:110: cuda runtime error (2) : out of memory at /home/jam/torch/extra/cutorch/lib/THC/generic/THCStorage.cu:66
stack traceback:
[C]: in function 'v'
/home/jam/torch/install/share/lua/5.1/nn/THNN.lua:110: in function 'SpatialConvolutionMM_updateOutput'
...am/torch/install/share/lua/5.1/nn/SpatialConvolution.lua:79: in function <...am/torch/install/share/lua/5.1/nn/SpatialConvolution.lua:76>
[C]: in function 'xpcall'
/home/jam/torch/install/share/lua/5.1/nn/Container.lua:63: in function 'rethrowErrors'
/home/jam/torch/install/share/lua/5.1/nn/Sequential.lua:44: in function </home/jam/torch/install/share/lua/5.1/nn/Sequential.lua:41>
[C]: in function 'xpcall'
/home/jam/torch/install/share/lua/5.1/nn/Container.lua:63: in function 'rethrowErrors'
/home/jam/torch/install/share/lua/5.1/nn/ConcatTable.lua:11: in function </home/jam/torch/install/share/lua/5.1/nn/ConcatTable.lua:9>
[C]: in function 'xpcall'
...
/home/jam/torch/install/share/lua/5.1/nn/Sequential.lua:44: in function </home/jam/torch/install/share/lua/5.1/nn/Sequential.lua:41>
[C]: in function 'xpcall'
/home/jam/torch/install/share/lua/5.1/nn/Container.lua:63: in function 'rethrowErrors'
/home/jam/torch/install/share/lua/5.1/nn/ParallelTable.lua:12: in function 'forward'
./ImageDetect.lua:108: in function 'memoryEfficientForward'
./ImageDetect.lua:176: in function 'detect'
demo.lua:75: in main chunk
[C]: in function 'dofile'
.../jam/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00405d50

WARNING: If you see a stack trace below, it doesn't point to the place where this error occurred. Please use only the one above.
stack traceback:
[C]: in function 'error'
/home/jam/torch/install/share/lua/5.1/nn/Container.lua:67: in function 'rethrowErrors'
/home/jam/torch/install/share/lua/5.1/nn/ParallelTable.lua:12: in function 'forward'
./ImageDetect.lua:108: in function 'memoryEfficientForward'
./ImageDetect.lua:176: in function 'detect'
demo.lua:75: in main chunk
[C]: in function 'dofile'
.../jam/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00405d50

Any help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions