jcjohnson / densecap

Dense image captioning in Torch
MIT License
1.58k stars 432 forks source link

No error but time out (kill) when running command th run_model.lua -input_image imgs/elephant.jpg on virtual private server #70

Open corbinyo opened 7 years ago

corbinyo commented 7 years ago

No error, everything seems to be installed correctly until it's time to run this command th run_model.lua -input_image imgs/elephant.jpg

and after a few minutes 'Killed'

Then checked the error: [ 5758.669712] Out of memory: Kill process 11030 (luajit) score 927 or sacrifice child [ 5758.670940] Killed process 11030 (luajit) total-vm:3976884kB, anon-rss:3860144kB, file-rss:1476kB

Running this on a digital ocean droplet

Here are the Specs for the server on Digital Ocean (droplet): Ubuntu 16.04.2 x64 16 GB/ 8CPUs 20GB SSD disk

Thanks for any and all help

821760408-sp commented 6 years ago

Running into the same error when trying to run th run_model.lua -input_image imgs/elephant.jpg -gpu -1 in a docker container on Mac.

cvalenzuela commented 6 years ago

Same here. Any ideas how to solve this?