{"action":"created","issue":{"url":"https://api.github.com/repos/jcjohnson/densecap/issues/15","repository_url":"https://api.github.com/repos/jcjohnson/densecap","labels_url":"https://api.github.com/repos/jcjohnson/densecap/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/jcjohnson/densecap/issues/15/comments","events_url":"https://api.github.com/repos/jcjohnson/densecap/issues/15/events","html_url":"https://github.com/jcjohnson/densecap/issues/15","id":160527616,"number":15,"title":"Does training require GPU?","user":{"login":"wangyujiajia","id":19961651,"avatar_url":"https://avatars.githubusercontent.com/u/19961651?v=3","gravatar_id":"","url":"https://api.github.com/users/wangyujiajia","html_url":"https://github.com/wangyujiajia","followers_url":"https://api.github.com/users/wangyujiajia/followers","following_url":"https://api.github.com/users/wangyujiajia/following{/other_user}","gists_url":"https://api.github.com/users/wangyujiajia/gists{/gist_id}","starred_url":"https://api.github.com/users/wangyujiajia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangyujiajia/subscriptions","organizations_url":"https://api.github.com/users/wangyujiajia/orgs","repos_url":"https://api.github.com/users/wangyujiajia/repos","events_url":"https://api.github.com/users/wangyujiajia/events{/privacy}","received_events_url":"https://api.github.com/users/wangyujiajia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-06-15T21:25:06Z","updated_at":"2016-06-15T22:07:30Z","closed_at":null,"body":"Since it use torch.CudaTensor, so it require GPU, right?\r\nIs there any way I can train it only using CPU?\r\n\r\nBTW, here is my command line for training\r\nth train.lua -learning_rate 0.003 -data_json data/training_data/training_json -data_h5 data/training_data/training_h5 -gpu -1 -checkpoint_path data/training/cp.v1 -id densecapv1 -backend 'nn'\r\n\r\nAnd here is the error I got.\r\n/usr/local/google/home/wangyu/torch/install/bin/luajit: ...gle/home/wangyu/.luarocks/share/lua/5.1/torch/Tensor.lua:238: attempt to index a nil value\r\nstack traceback:\r\n        ...gle/home/wangyu/.luarocks/share/lua/5.1/torch/Tensor.lua:238: in function 'type'\r\n        .../google/home/wangyu/.luarocks/share/lua/5.1/nn/utils.lua:52: in function 'recursiveType'\r\n        ...google/home/wangyu/.luarocks/share/lua/5.1/nn/Module.lua:126: in function 'type'\r\n        .../google/home/wangyu/.luarocks/share/lua/5.1/nn/utils.lua:45: in function 'recursiveType'\r\n        ...google/home/wangyu/.luarocks/share/lua/5.1/nn/Module.lua:126: in function 'type'\r\n        train.lua:48: in main chunk\r\n        [C]: in function 'dofile'\r\n        ...ngyu/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk\r\n        [C]: at 0x00406670\r\n"},"comment":{"url":"https://api.github.com/repos/jcjohnson/densecap/issues/comments/226334653","html_url":"https://github.com/jcjohnson/densecap/issues/15#issuecomment-226334653","issue_url":"https://api.github.com/repos/jcjohnson/densecap/issues/15","id":226334653,"user":{"login":"wangyujiajia","id":19961651,"avatar_url":"https://avatars.githubusercontent.com/u/19961651?v=3","gravatar_id":"","url":"https://api.github.com/users/wangyujiajia","html_url":"https://github.com/wangyujiajia","followers_url":"https://api.github.com/users/wangyujiajia/followers","following_url":"https://api.github.com/users/wangyujiajia/following{/other_user}","gists_url":"https://api.github.com/users/wangyujiajia/gists{/gist_id}","starred_url":"https://api.github.com/users/wangyujiajia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangyujiajia/subscriptions","organizations_url":"https://api.github.com/users/wangyujiajia/orgs","repos_url":"https://api.github.com/users/wangyujiajia/repos","events_url":"https://api.github.com/users/wangyujiajia/events{/privacy}","received_events_url":"https://api.github.com/users/wangyujiajia/received_events","type":"User","site_admin":false},"created_at":"2016-06-15T22:07:30Z","updated_at":"2016-06-15T22:07:30Z","body":"Is there any visualization during training so I can know the performance on both training and testing set?"}}
{"actor":{"display_login":"wangyujiajia"}}