{"action":"closed","issue":{"url":"https://api.github.com/repos/soumith/torch-android/issues/15","repository_url":"https://api.github.com/repos/soumith/torch-android","labels_url":"https://api.github.com/repos/soumith/torch-android/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/soumith/torch-android/issues/15/comments","events_url":"https://api.github.com/repos/soumith/torch-android/issues/15/events","html_url":"https://github.com/soumith/torch-android/issues/15","id":123814560,"number":15,"title":"Problem deploying on device with pre-trained net that uses newer 'nn' package.","user":{"login":"yonadavs","id":16413166,"avatar_url":"https://avatars.githubusercontent.com/u/16413166?v=3","gravatar_id":"","url":"https://api.github.com/users/yonadavs","html_url":"https://github.com/yonadavs","followers_url":"https://api.github.com/users/yonadavs/followers","following_url":"https://api.github.com/users/yonadavs/following{/other_user}","gists_url":"https://api.github.com/users/yonadavs/gists{/gist_id}","starred_url":"https://api.github.com/users/yonadavs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yonadavs/subscriptions","organizations_url":"https://api.github.com/users/yonadavs/orgs","repos_url":"https://api.github.com/users/yonadavs/repos","events_url":"https://api.github.com/users/yonadavs/events{/privacy}","received_events_url":"https://api.github.com/users/yonadavs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-24T15:40:33Z","updated_at":"2016-02-15T04:19:43Z","closed_at":"2016-02-15T04:19:43Z","body":"I got torch to run on my device, but have problems running my pre-trained net.\r\nIt loads fine, but when I try to use 'net:forward' it fails, due to a newer 'nn' package used to build the net, than what is included in torch-android-master.\r\n\r\nI tried updating 'nn' manually, updating init.lua & init.c accordingly, but this didn't work because 'THRandom_uniform' now requires 3 input parameters.\r\n\r\nI figured my torch for android must not have gotten its core files from my torch install. Should this be? Or is it supposed to use my latest torch version to create it?\r\n\r\nI tried updating it manually too, that's when all hell broke loose.."}}