Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

out of memory #75

Open
lostnighter opened this issue Oct 16, 2017 · 1 comment
Open

out of memory #75

lostnighter opened this issue Oct 16, 2017 · 1 comment

Comments

@lostnighter
Copy link

THCudaCheck FAIL file=/tmp/luarocks_cutorch-scm-1-7860/cutorch/lib/THC/generic/THCStorage.cu line=66 error=2 : out of memory
/usr/local/bin/luajit: /usr/local/share/lua/5.1/nn/utils.lua:11: cuda runtime error (2) : out of memory at /tmp/luarocks_cutorch-scm-1-7860/cutorch/lib/THC/generic/THCStorage.cu:66
stack traceback:
[C]: in function 'resize'
/usr/local/share/lua/5.1/nn/utils.lua:11: in function 'torch_Storage_type'
/usr/local/share/lua/5.1/nn/utils.lua:57: in function 'recursiveType'
/usr/local/share/lua/5.1/nn/Module.lua:160: in function 'type'
/usr/local/share/lua/5.1/nn/utils.lua:45: in function 'recursiveType'
/usr/local/share/lua/5.1/nn/utils.lua:41: in function 'recursiveType'
/usr/local/share/lua/5.1/nn/Module.lua:160: in function 'type'
/usr/local/share/lua/5.1/nn/utils.lua:45: in function 'recursiveType'
/usr/local/share/lua/5.1/nn/utils.lua:41: in function 'recursiveType'
/usr/local/share/lua/5.1/nn/Module.lua:160: in function 'type'
/usr/local/share/lua/5.1/nn/utils.lua:45: in function 'recursiveType'
/usr/local/share/lua/5.1/nn/utils.lua:41: in function 'recursiveType'
/usr/local/share/lua/5.1/nn/Module.lua:160: in function 'type'
/usr/local/share/lua/5.1/nn/utils.lua:45: in function 'recursiveType'
/usr/local/share/lua/5.1/nn/Module.lua:160: in function 'type'
./densecap/DenseCapModel.lua:199: in function 'convert'
extract_features.lua:65: in function 'main'
extract_features.lua:100: in main chunk
[C]: in function 'dofile'
/usr/local/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00406200

My GPU memory has 12206MiB. Any idea?

@jainal09
Copy link

Hey,
Check this docker image I created for running dense cap in gpu!
https://hub.docker.com/r/jainal09/densecap_gpu

It runs perfectly in it.

For Cpu version.
Use this docker file.
https://github.com/runwayml/alpha_models/blob/master/densecap/Dockerfile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants