Comments (4)
Try upgrading cudnn and nngraph:
luarocks install cudnn
luarocks install nngraph
from densecap.
@snowmonkeypc updating cudnn will fix it via:
luarocks install cudnn
from densecap.
Thanks! "luarocks install cudnn" turned the error into a warning. Is that expected?
I'm now stuck with an "out of memory" error. Only 2 GB VRAM in this machine (and probably much less available even directly after reboot), guess it's simply not enough.
$ th run_model.lua -input_image imgs/elephant.jpg
Warning: cudnn.convert does not work with nngraph yet. Ignoring nn.gModule1/1 processing image imgs/elephant.jpg
THCudaCheck FAIL file=/tmp/luarocks_cutorch-scm-1-4722/cutorch/lib/THC/generic/THCStorage.cu line=40 error=2 : out of memory
/Users/snowm/torch/install/bin/luajit: /Users/snowm/torch/install/share/lua/5.1/nn/Container.lua:67:
In 4 module of nn.Sequential:
In 5 module of nn.Sequential:
/Users/snowm/torch/install/share/lua/5.1/nn/Linear.lua:61: cuda runtime error (2) : out of memory at /tmp/luarocks_cutorch-scm-1-4722/cutorch/lib/THC/generic/THCStorage.cu:40
stack traceback:
[C]: in function 'resize'
/Users/snowm/torch/install/share/lua/5.1/nn/Linear.lua:61: in function </Users/snowm/torch/install/share/lua/5.1/nn/Linear.lua:53>
[C]: in function 'xpcall'
/Users/snowm/torch/install/share/lua/5.1/nn/Container.lua:63: in function 'rethrowErrors'
/Users/snowm/torch/install/share/lua/5.1/nn/Sequential.lua:44: in function 'func'
...rs/snowm/torch/install/share/lua/5.1/nngraph/gmodule.lua:345: in function 'neteval'
...rs/snowm/torch/install/share/lua/5.1/nngraph/gmodule.lua:380: in function <...rs/snowm/torch/install/share/lua/5.1/nngraph/gmodule.lua:300>
[C]: in function 'xpcall'
/Users/snowm/torch/install/share/lua/5.1/nn/Container.lua:63: in function 'rethrowErrors'
/Users/snowm/torch/install/share/lua/5.1/nn/Sequential.lua:44: in function 'forward'
./densecap/DenseCapModel.lua:253: in function 'forward'
./densecap/DenseCapModel.lua:321: in function 'forward_test'
run_model.lua:77: in function 'run_image'
run_model.lua:164: in main chunk
[C]: in function 'dofile'
...nowm/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: at 0x0101c8dd10
Closing this issue since original problem is solved. Thanks again.
from densecap.
Ah found #11. So I need about 6GB of VRAM. Time to upgrade ;)
from densecap.
Related Issues (20)
- libjpeg and libpng version problem HOT 3
- Why gradients can not be propagated backward to the input proposal coordinates in the RoI pooling layer?
- users/my-name/torch/install/bin/luajit: cannot open run_model.lua: No such file or directory HOT 1
- Warning: cudnn.convert does not work with nngraph yet. Ignoring nn.gModule1/1 processing image imgs/elephant.jp
- run_model.lua unknown error
- Can't evaluate pretrained model HOT 2
- wrong jpeg library version 62: caller expects 90 iOS HOT 1
- Invalid URL at http request in server-client webcam demo
- No LuaRocks module found for densecap-master/densecap/DenseCapModel HOT 8
- cjson.so: undefined symbol: lua_objlen stack traceback: train.lua HOT 3
- In search of a Tf / Py-Torch Implementation. HOT 5
- training on new datasets of 100 random images.
- invalid pretrained model HOT 1
- Chinese image caption, In the result, multiple words of the same type appear
- th run_model.lua HOT 2
- When I install luarocks in Ubuntu, I came across a problem HOT 6
- VGG dataset issue HOT 1
- Segmentation fault (core dumped) HOT 1
- How do I determine the value of max_iters?
- Failed to install 'stn' HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from densecap.