{"action":"closed","issue":{"url":"https://api.github.com/repos/mitmul/deeppose/issues/6","labels_url":"https://api.github.com/repos/mitmul/deeppose/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/mitmul/deeppose/issues/6/comments","events_url":"https://api.github.com/repos/mitmul/deeppose/issues/6/events","html_url":"https://github.com/mitmul/deeppose/issues/6","id":91656253,"number":6,"title":"Add minimum memory requirements to readme","user":{"login":"kylemcdonald","id":157106,"avatar_url":"https://avatars.githubusercontent.com/u/157106?v=3","gravatar_id":"","url":"https://api.github.com/users/kylemcdonald","html_url":"https://github.com/kylemcdonald","followers_url":"https://api.github.com/users/kylemcdonald/followers","following_url":"https://api.github.com/users/kylemcdonald/following{/other_user}","gists_url":"https://api.github.com/users/kylemcdonald/gists{/gist_id}","starred_url":"https://api.github.com/users/kylemcdonald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kylemcdonald/subscriptions","organizations_url":"https://api.github.com/users/kylemcdonald/orgs","repos_url":"https://api.github.com/users/kylemcdonald/repos","events_url":"https://api.github.com/users/kylemcdonald/events{/privacy}","received_events_url":"https://api.github.com/users/kylemcdonald/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-28T23:48:19Z","updated_at":"2015-06-29T01:51:57Z","closed_at":"2015-06-29T01:51:57Z","body":"I tried running this on a basic card with 2GB of GPU RAM but i get an out of memory error as the training script is starting up. what is the minimum requirement to run this on the FLIC data?\r\n\r\n```\r\nkyle:deeppose kyle$ python scripts/train.py --model models/AlexNet_flic.py --gpu 0 --epoch 1000 --batchsize 128 --prefix AlexNet_LCN_AdaGrad_lr-0.0005 --snapshot 10 --datadir data/FLIC-full --channel 3 --flip True --size 220 --crop_pad_inf 1.5 --crop_pad_sup 2.0 --shift 5 --lcn True --joint_num 7\r\nTraceback (most recent call last):\r\n  File \"scripts/train.py\", line 246, in <module>\r\n    trans, args, input_q, data_q)\r\n  File \"scripts/train.py\", line 131, in train\r\n    loss, pred = model.forward(input_data, label, train=True)\r\n  File \"models/AlexNet_flic.py\", line 34, in forward\r\n    h = F.local_response_normalization(h)\r\n  File \"/usr/local/lib/python2.7/site-packages/chainer-1.0.1-py2.7.egg/chainer/functions/local_response_normalization.py\", line 123, in local_response_normalization\r\n    return LocalResponseNormalization(n, k, alpha, beta)(x)\r\n  File \"/usr/local/lib/python2.7/site-packages/chainer-1.0.1-py2.7.egg/chainer/function.py\", line 163, in __call__\r\n    outputs = self.forward(in_data)\r\n  File \"/usr/local/lib/python2.7/site-packages/chainer-1.0.1-py2.7.egg/chainer/function.py\", line 199, in forward\r\n    return self.forward_gpu(inputs)\r\n  File \"/usr/local/lib/python2.7/site-packages/chainer-1.0.1-py2.7.egg/chainer/functions/local_response_normalization.py\", line 68, in forward_gpu\r\n    self.y = x[0] * x[0]  # temporary\r\n  File \"/usr/local/lib/python2.7/site-packages/chainer-1.0.1-py2.7.egg/chainer/cuda.py\", line 718, in new_op\r\n    return raw_op(self, other)\r\n  File \"/usr/local/lib/python2.7/site-packages/pycuda/gpuarray.py\", line 468, in __mul__\r\n    result = self._new_like_me(_get_common_dtype(self, other))\r\n  File \"/usr/local/lib/python2.7/site-packages/pycuda/gpuarray.py\", line 401, in _new_like_me\r\n    allocator=self.allocator, strides=strides)\r\n  File \"/usr/local/lib/python2.7/site-packages/pycuda/gpuarray.py\", line 204, in __init__\r\n    self.gpudata = self.allocator(self.size * self.dtype.itemsize)\r\n  File \"/usr/local/lib/python2.7/site-packages/chainer-1.0.1-py2.7.egg/chainer/cuda.py\", line 352, in mem_alloc\r\n    allocation = pool.allocate(nbytes)\r\npycuda._driver.MemoryError: memory_pool::allocate failed: out of memory - failed to free memory for allocation\r\n```"}}